[Zope] Product module reloading

Kevin Dangoor kid@kendermedia.com
Thu, 16 Sep 1999 11:35:57 -0400


There is a document
http://www.zope.org:8080/Documentation/Reference/API

with more information about developing python products, and a sample.

In there, I think DC recommends developing your class logic from within
python (not through the web, initially), because you don't need to worry
about restarting servers, etc.

Kevin

-----Original Message-----
From: Sean Treadway <seant@factory.dk>
To: Zope List <zope@zope.org>
Date: Thursday, September 16, 1999 11:14 AM
Subject: [Zope] Product module reloading


>First off, Zope is amazing.  It is a wonderful environment to work in.
>I am new to Python, Web Applications and Zope, but researching the other
>options (php3, Java, etc) I am glad to have found Zope.
>
>I have spent a bit of time surveying what is needed for my project and I
>have chosen to write a python product.  Now I am in the edit-debug
>stage.  Is there a streamlined way to reload my product module, and the
>products imported modules without restarting the ZServer?
>
>I have tried exporting a "reload_mod": reload(module) method in my
>product's __init__.py but Zope complains that it can't find the
>reload_mod method (http://localhost:8080/reload_mod).
>
>Thanks,
>Sean
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(To receive general Zope announcements, see:
>http://www.zope.org/mailman/listinfo/zope-announce
>
>For developer-specific issues, zope-dev@zope.org -
>http://www.zope.org/mailman/listinfo/zope-dev )
>