[Zope-CMF] Extending portal types: Subclass default type or create a ZClass ?

Heimo Laukkanen huima@fountainpark.org
Mon, 22 Jul 2002 00:16:40 +0300


 >Message: 7
 >Date: Sat, 20 Jul 2002 23:04:03 -0500
 >From: Jeffrey Franks <jfranks@quik.com>
 >Organization: MotifTools.org
 >To: zope-cmf@zope.org
 >Subject: [Zope-CMF] Extending portal types: Subclass default type or 
 >create a ZClass ?
 >
 >Hi,
 >
 >What is the determining factor that causes one to create
 >a ZClass instead of subclassing a default type?

Well if you create a ZClass you will select the basic types ( their 
classes ) as a foundation on which you will do your own new type. In 
this sense it is up to you to decide what will be the lifecycle of 
your type and your development preference ( straigth python or ZClass ).

-huima