[Zope] Editing downloaded + installed product?

Jeff Rush Jeff Rush" <jrush@timecastle.net
Wed, 20 Oct 99 23:36:59 -0500


On Thu, 21 Oct 1999 03:01:26 +0200, Stefan Hoffmeister wrote:

>I have downloaded a nice-ish looking product, all complete with .dtml,
>.py, .gif etc files.

>c) I do not seem to be able to add some "plain", straight-forward Python
>   code to a ZClass that I have created from scratch; only adding an
>   External Method *on disk* can be added?

Well, if the product includes .py files, either as external methods or
Python (non-zclass) zproducts, you -will- have to edit them outside
of Zope.  There's just no other way.


>d) I suspect that even if I modify all that on disk I will have to
>   restart ZServer each time?

If you edit an externel method, you can just click on "Edit"
in the particular external method object and Zope will
reload the method for you.

If you edit a Python zproduct, yes, you -will- have to restart
the Zope server, again, and again and again.  I've done it
hundreds of times just today.

Python zproduct development should definitely be done
on a non-production server for this reason.

-Jeff Rush