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

yuppie y.2004_ at wcm-solutions.de
Sun Aug 15 13:05:55 EDT 2004


Hi!


Christian Heimes wrote:
> I had a short look at CMFUid because I hoped we could replace the AT uid 
> generator and lookup tool with a more general tool that's also working 
> with non Archtypes types. I was disapointed to shocked as I saw how the 
> uids are generated.

Hope you've recovered from your shock!


UID != UUID

The way UIDs are generated is policy. Generating UUIDs would be overkill 
for the use cases implemented in CMFDefault. If you want to expose the 
UID to users, 128-bit UUIDs aren't very useful.


CMF != CMS

The CMF is a framework, and if the policy choice in the default tool is 
not what you need, you should replace the tool by a custom tool.


Cheers,
	Yuppie






More information about the Zope-CMF mailing list