[Zope] CatalogAware when there's no 'Catalog'

Timothy Wilson wilson@visi.com
Tue, 17 Apr 2001 22:11:59 -0500 (CDT)


Hi everyone,

It seems like it's not possible to create a CatalogAware ZClass that
automatically catalogs itself in anything other than a ZCatalog named
'Catalog'. Is that the case?

Does a rule of thumb exist to help decide when you should us a 'Catalog' in
your Zope's root folder and when it would be better to use a custom
'FooCatalog' in a subfolder somewhere for specific purposes. For example,
I've created a catalogaware ZClass to store breakfast and lunch menus for
our schools. I'd like to query a ZCatalog somewhere to pull out a menu for a
certain day or a range of days. Would it promote catalog-bloat (if such a
thing exists) to store those in the root 'Catalog' with all of the resulting
indexes and meta data?

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/