[Zope-CMF] Re: CMFUid isn't generating real uids

Lennart Regebro regebro at nuxeo.com
Mon Aug 16 06:36:37 EDT 2004


robert rottermann wrote:
> they are different. UUID is more generall.
> But why should they have a different goals?

Because the goal of a UID is to generate an id for use withing a limited 
scope. An UUID has an unlimited scope. UUID is something you use when 
you know that the think that needs an ID will have to be used all over 
the world. LDAP fields are good examples of this. So they typically are 
called.12.334534.5434.5365.123232.34. A bit unweildy.

A UID is something you need to avoid two people or two processes or two 
documents claiming the same id, within a limited scope, such as a folder 
or a site. One of the most common need is so that you don't get some 
kind of weird clash when two people press the same button simultaneously.

> Mere UID are not worth any effort since their scope is so limited!

Sure it is. Because it's needed so often. In 20 years of computing I 
have never needed to write a piece of software that create a UUID. Maybe 
it's just me...


More information about the Zope-CMF mailing list