A new issue of "Zope Guru of the Week" is available: =================================================================== Issue #7 -- To ZClass or not to ZClass? =================================================================== Status: Open Zen Level: Chela (4/8) Keywords: ZClasses Submitted by: Tres Seaver tseaver@palladion.com ------------------------------------------------------------------- When building a Product using ZClasses, I often want to create a "root" ZClass, which the manager will create in a normal folder, and which will then expose the Product's other ZClasses in its Add list. The DTML methods for the root are thus defined within this root ZClass. The Product ends up looking like:: Control Panel +- FooProduct + FooItem_add_permission +-FooRoot +- FooItem +- FooItem_add +- FooItem_addForm +- FooItem_factory .... +- index_html +- some_root_method_dtml + FooRoot_add + FooRoot_addForm + FooRoot_Factory + FooRoot_add_permission * What are the drawbacks to this approach? * Suggest alternatives. ------------------------------------------------------------------- To reply and win undying glory and mondo guru points: http://zope.palladion.com/demos/ZGotW/7