Hello, I've done this little class to add comments to files, news items, photos, ... I'm wondering how can I do it in zope. Should I put this class in the python hierarchy or put it in a Product (will it be visible from other products ?) Btw, the functions genKey and isChild seems a little too simplistic, do you have any idea for a better implemantation ? -- (°> Nicolas Évrard / ) Liège - Belgique ^^
Nicolas Évrard wrote at 2003-4-14 11:58 +0200:
I'm wondering how can I do it in zope. Should I put this class in the python hierarchy or put it in a Product (will it be visible from other products ?)
It depends how you want to use the class: * You make it part of a product when the instances should become persistent objects used for site building Products are just for providing customized classes for site building objects. * You put it somewhere in the "Python hierarchy" when the class is just an auxiliary used, e.g. by different products or scripts/methods. Dieter
participants (2)
-
Dieter Maurer -
Nicolas Évrard