[Zope] Use ZCatalog or Catalog in a Python product?

Chris Withers chrisw@nipltd.com
Mon, 04 Nov 2002 13:20:15 +0000


Lennart Regebro wrote:
> If you are cataloging objects in the database, I would definitely recommend
> subclassing ZCatalog,

That's the biggest mistake I ever made with Squishdot ;-)

> with it's management interface. You can "hide" it by
> not showing the tabs, but still letting it be accessible via the /manage_
> urls. It will come in handy.

I'd recommend having a ZCatalog called, say, catalog, as an attribute of your 
Product's instances, that way, to get to the ZCatalog management screens you can 
go to:

your_prod_instance/catalog/manage

...and you don't have to guess what teh tabs will be renamed to in future Zope 
versions...

cheers,

Chris