[Zope-dev] ZCatalog and Unique IDs

Itamar Shtull-Trauring itamar@maxnm.com
Wed, 24 May 2000 16:34:54 +0300


Chris Withers wrote:

> I hope this is a stupid question but why does ZCatalog use the URL of an
> object to uniquely identify it?
> 
> Why not just use a reference to the object? Persistent object
> identifiers must exist for the ZODB so why not use them instead?

What happens when you have multiple ZODBs?  Additionaly, this breaks
encapsulation between the ZODB and applications built on it, which isn't
such a good idea.

-- 
Itamar S.T.  itamar@maxnm.com