Is there some documentation that would help convert a Zope application to a zope product. I am not really sure what files a zope product needs and so on...
On Wed, Nov 28, 2001 at 02:41:59PM -0600, Clark OBrien wrote:
Is there some documentation that would help convert a Zope application to a zope product. I am not really sure what files a zope product needs and so on...
Search for the "Minimal" and "Boring" products on zope.org. Both are good examples of very simple python Zope products. (I'll note that Boring has not been updated to use the more recent security system described in the DevGuide, but the old system still works and it's quite easy to switch if you want.) I'll also add a couple things I learned the hard way: 1) when wrapping a python class in a zope product, don't try to directly access or modify attributes through the web. It'll eventually cause you pain with Zope's security mechanisms. Instead, create methods in your Product to set or get the attributes you need. 2) Read the Zope Developers' Guide section on persistence. Otherwise, changes to Product instances will vanish if/when Zope restarts. http://www.zope.org/Documentation/ZDG While you're at it, read the whole DevGuide. It's good stuff. -- paul winkler home: http://www.slinkp.com music: http://www.reacharms.com calendars: http://www.calendargalaxy.com
On Wed, 28 Nov 2001, Paul Winkler wrote:
2) Read the Zope Developers' Guide section on persistence. Otherwise, changes to Product instances will vanish if/when Zope restarts. http://www.zope.org/Documentation/ZDG
While you're at it, read the whole DevGuide. It's good stuff. I wanted to build a Debian package from this book. Unfortunately the description how to check oorm SourceForge is as incomplete as the description for the Zope Book.
cvs -z3 -d:pserver:anonymous@cvs.zope-devel.sourceforge.net:/cvsroot/zope-devel co modulename ^^^^^^^^^^ Could you please fix the 'modulname' to enable people to get the stuff from CVS? Thanks and kind regards Andreas.
On Thu, 29 Nov 2001, Tille, Andreas wrote:
Could you please fix the 'modulname' to enable people to get the stuff from CVS? Well, I just found it but I think it should be fixed anyway.
I have preliminary Debian packages for zope-devguide. http://auric.debian.org/~tille/zope-devguide Feel free to try and comment. But I need a License statement to be able to upload this stuff as an official package to the Debian mirrors. If there isn“t any official statement I cann't upload even if I guess that there will be any similiar licanse like the license of Zope Book. Kind regards Andreas.
participants (3)
-
Clark OBrien -
Paul Winkler -
Tille, Andreas