Michael Wechner wrote:
Andreas Hartmann wrote:
[EMAIL PROTECTED] wrote:
On 6/7/06, Andreas Hartmann <[EMAIL PROTECTED]> wrote:
 From my point of view, the repository layer knows only about UUIDs.
If we want to allow human-readable storage, that would mean that
the UUIDs have to be human-readable. When a document is created, the
user would enter an (optional?) UUID string (if it is omitted, the
system chooses one).

http://en.wikipedia.org/wiki/UUID
UUIDs are 16-byte numbers.  Titles are human-readable.  In Lenya1.3,
the unique key to each Resource is referred to as a UNID (Unique
Identifier).  A UNID can be any String acceptable as a directory name.

Thanks for clarifying this!

btw, there is an implementation of UUIDs

<dependency groupId="apache-jakarta-commons" artifactId="apache-jakarta-commons-discovery" version="0.2"/> <dependency groupId="apache-jakarta-commons" artifactId="apache-jakarta-commons-id"
                 version="0.1-dev-lcr357257"/>
<dependency groupId="apache-jakarta-commons" artifactId="apache-jakarta-commons-logging"
                 version="1.0.4"/>

btw, we can pull in these libs by using Maven Ant Tasks

http://maven.apache.org/ant-tasks.html

which work very well ;-)

Michi

whereas Java 1.5 is supporting UUID out of the box IIRC.

Having said that I wasn't refereing to UUID as it may defined, but rather as identifiers which are unique within Lenya and hence could be human readable without provoking a conflict, but I think the above is also fine.

Michi



--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to