Steve Alexander wrote:
Bill Anderson wrote:
Let's say I have an object I will store in a rack. Let us say I want this object to be cataloged in a ZCatalog. Any caveats I need to know about ..such as "Don't do that!" ? ?;^)=
Make one of the object's base-classes DataSkin.
Don't make it CatalogAware.
that was my hunch ...
Use triggers to index and unindex the object from a catalog. You'll probably want to store the catalog in Specialist.
OK, guess it's sime to learn triggers ;-)
By the way, Phillip Eby has released a new development snapshot:
http://www.zope.org/Members/pje/ZPatterns/ZPatterns-0-4-1snap1.tgz/view
I'll be trying it later today.
Likewise. Gotta see how/if it works with membership.
-- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net
-- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password.