Re: [Zope-dev] ZCatalog and Unique IDs
Itamar Shtull-Trauring wrote: > > Hence the traversal interface? > > Right. Which is due to arrive in 2.2? ;-) Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZCatalog and Unique IDs
Chris Withers wrote: > Itamar Shtull-Trauring wrote: > > 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. > > Good, it was a stupid question. :-) Not so stupid - I had the same discussion at IPC8 with me on the asking side. > I guess when you catalog objects, you should make sure you use the REAL > path identifier though, not one that's been mangled by virtual hosting. > > Hence the traversal interface? Right. -- Itamar S.T. [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZCatalog and Unique IDs
Itamar Shtull-Trauring wrote: > 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. Good, it was a stupid question. :-) I guess when you catalog objects, you should make sure you use the REAL path identifier though, not one that's been mangled by virtual hosting. Hence the traversal interface? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZCatalog and Unique IDs
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. [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZCatalog and Unique IDs
Hi, 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? cheers, Chris PS: This would solve all the problems with ZCatalogs and virtually hosted sites... I think the traversal interface is needed for other reasons but it should remove ZCatalog from the list of things that need it... not that I've just been bitten by this or anything ;-) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )