Hi Kevin,

Please try not to send HTML mail to the list... thanks.

the initialize function defined in __init__.py for each Product is a
hook which makes it easier to perform registration and initialization
tasks when the product is imported.

If you search for "boring product" on zope.org, you'll find a how-to
related to its usage.

Kevin Howe wrote:
> 
> I've noticed that some ZOPE Python Products define an initialize()
> routine in their __init__.py file and some don't. From what I can tell
> it is not really needed, but simply offers a more organized way of
> registering the Product.
> 
> Is it good practice to define initialize(), and if so, why + what does
> it do?
> 
> kh
> 
> 
>

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to