[Zope] ZClass syntax question...

Andreas Jung andreas at andreas-jung.com
Thu Mar 11 01:03:22 EST 2004


ZClasses are obsolete and bad by-implementation. DON'T USE THEM.

-aj

--On Mittwoch, 10. März 2004 16:48 Uhr -0600 Russell Fine 
<MisterFine at fineline-services.com> wrote:

> I'm new to developing Zope products and I'm trying to understand how
> I can add funcitonality to a ZClass.  Specifically, What is the
> syntax to :
>
> 1. During intialization add an additional member to the ZClass (not
> a property, a member).  For example, I'd like:
>     instance.mymember=1
>
> 2. If the ZClass is an Object Manager, how would I create instance
> objects during construction (I'd like there to be default objects) ?
>
> Thanks
>
> Russell Fine
>







More information about the Zope mailing list