"Robert W. Erb" wrote:
<pre>
I want to create the following classes:
Human Unregistered Human (base class Human) Registered Human (base class Human) Customer (base class Registered Human) Employee (base class Registered Human) Manager (base class Employee)
Following the ZClasses tutorial, I make a new product, PeopleProduct.
Inside PeopleProduct, I create a ZClass for Human. It seems like my Human ZClass is available as a base class only inside PeopleProduct, so I add a ZClass for Unregistered_Human there, based on Human. Following this pattern, I end up with six new ZClasses all defined in PeopleProduct.
Is this the way to do it?
Currently. In 2.2 you'll be able to subclass accross products.
It appears suspiciously messy to me.
Because you have to put everything in one product? Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.