Hi, Is it possible to use an existing perl cgi utility in zope, using zope's ZServer? How should one start on this? Thanks, Joe.
Hi Joe, sure, you can start external programs, even perl scripts from external methods in zope. But are you sure you really want this? Mostly these applications are poor in design and its better to reimplement them. Even more they might be much simpler to reimplement then you first think. Thus gaining better performance, better documentation and easy further developement. Just for curiosity, what does this particular CGI script really do? Regards Tino --On Montag, 2. Juli 2001 15:40 +0100 Joe Gaffey <Joe.Gaffey@gradient.ie> wrote:
Hi,
Is it possible to use an existing perl cgi utility in zope, using zope's ZServer?
How should one start on this?
Thanks, Joe.
_______________________________________________ Zope maillist - Zope@zope.org 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 )
Hi Tino, Thanks for the reply. I am trying to provide a browser interface to nntp newsgroups, which would allow new postings, reply's etc from within the browser (similar to groups.google.com). There is no zope product (that I am aware of) out there that can do this, but to my knowledge (I have yet to fully investigate) there are some cgi utilities out there. I would like to keep everything in zope but don't really have time for writing (or more so learning howto write) a zope product for this. However anything internal to zope would be better as this would use existing user authentication (it is an intranet system). Thanks again, Joe. -----Original Message----- From: Tino Wildenhain [mailto:tino@wildenhain.de] Sent: Monday, July 02, 2001 7:07 PM To: Joe Gaffey; zope@zope.org Subject: Re: [Zope] using cgi programs in zope Hi Joe, sure, you can start external programs, even perl scripts from external methods in zope. But are you sure you really want this? Mostly these applications are poor in design and its better to reimplement them. Even more they might be much simpler to reimplement then you first think. Thus gaining better performance, better documentation and easy further developement. Just for curiosity, what does this particular CGI script really do? Regards Tino --On Montag, 2. Juli 2001 15:40 +0100 Joe Gaffey <Joe.Gaffey@gradient.ie> wrote:
Hi,
Is it possible to use an existing perl cgi utility in zope, using zope's ZServer?
How should one start on this?
Thanks, Joe.
_______________________________________________ Zope maillist - Zope@zope.org 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 )
Hi Joe, thats quite easy in python itself. There is a very good nntp library delivered with python. You can use it in an external method or - if you want better performance - write a product. I think there is a IMAP product out there for Zope you can steal code from since its very similar to your problem. May be the author of it can give you support. A short investigation shows http://www.zope.org/Members/jack-e/ImapClient/ HTH Tino Wildenhain --On Dienstag, 3. Juli 2001 09:39 +0100 Joe Gaffey <Joe.Gaffey@gradient.ie> wrote:
Hi Tino,
Thanks for the reply. I am trying to provide a browser interface to nntp newsgroups, which would allow new postings, reply's etc from within the browser (similar to groups.google.com). There is no zope product (that I am aware of) out there that can do this, but to my knowledge (I have yet to fully investigate) there are some cgi utilities out there. I would like to keep everything in zope but don't really have time for writing (or more so learning howto write) a zope product for this. However anything internal to zope would be better as this would use existing user authentication (it is an intranet system).
Thanks again, Joe.
-----Original Message----- From: Tino Wildenhain [mailto:tino@wildenhain.de] Sent: Monday, July 02, 2001 7:07 PM To: Joe Gaffey; zope@zope.org Subject: Re: [Zope] using cgi programs in zope
Hi Joe,
sure, you can start external programs, even perl scripts from external methods in zope. But are you sure you really want this? Mostly these applications are poor in design and its better to reimplement them. Even more they might be much simpler to reimplement then you first think. Thus gaining better performance, better documentation and easy further developement.
Just for curiosity, what does this particular CGI script really do?
Regards Tino
--On Montag, 2. Juli 2001 15:40 +0100 Joe Gaffey <Joe.Gaffey@gradient.ie> wrote:
Hi,
Is it possible to use an existing perl cgi utility in zope, using zope's ZServer?
How should one start on this?
Thanks, Joe.
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (2)
-
Joe Gaffey -
Tino Wildenhain