Re: Running apps with Zope 2?
kanzow@gmd.de (Peter K.) wrote:
I have written some web applications using the old Zope/Bobo version. I published them using ZopeHTTPServer, like this: (...) After starting ZopeHTTPServer (on hostname.domain.de) with ZopeHTTPServer -p 1234 m.py I can access the Application object from the web: requesting http://hostname.domain.de:1234/app/hello gets "Hello World from my Zope Object". This is what I want! But what must I do to achieve this in Zope 2? I installed it recently and can't find it in the documentation. How can I publish my old applications with the new Zope? Where do I have to put m.py? What do I have to do in the management screen? Which URL will get me the "Hello World..." message? Do I have to install m.py as a Product? How?
It sound like you don't want to extend Zope by writing a product; you just want to publish your own Python objects on the web Bobo-style. I just wrote a small how-to which explains how to do this with a stock Zope installation: http://www.zope.org/Members/Amos/ZPublisher Let me know if this doesn't answer your question completely. Good luck! -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com
participants (1)
-
Amos Latteier