[Zope] CatalogAware when there's no 'Catalog'
Zopista
zopista@zopezen.org
Tue, 17 Apr 2001 20:22:38 -0700
Yes, catalog aware looks for an object called Catalog. No choice there
(unless you hack Zope).
Unless you are looking at huge numbers (say 10,000+) you shouldnt notice
much perfomance difference by using catalog, so if it makes your life easier
just use one.
--
Zopista
----- Original Message -----
From: "Timothy Wilson" <wilson@visi.com>
To: "Zope listserv" <zope@zope.org>
Sent: Tuesday, April 17, 2001 8:11 PM
Subject: [Zope] CatalogAware when there's no 'Catalog'
> 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/
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>