[Zope] ObjectManager example needed

Andrew Veitch andrew at logicalprogression.net
Sun Nov 23 16:59:46 EST 2003


For 20,000 objects you probably want BTreeFolder - it's a special version of
the ObjectManager that handles large numbers of object more efficiently.

I would create your new object by subclassing SimpleItem and CatalogAware
(you will need to use the Catalog to index it) and then put these objects
into the BTreeFolder.

Check out Klassifieds on the Zope.org site, the application is fairly
rubbish but it's very simple so hopefully easy to follow and follows the
idea described here.

A





More information about the Zope mailing list