Re: [Zope-dev] Fully Zope-based Mailman Version
This is great! Finally somebody is working on integrating Mailman with Zope! Count me in -- we had a volunteer struggle with the Mailman code over the summer before giving up. Fred P.S. By the way, last week I added CGI 1.1 support to Zope 2.3.3. This allows us to run the existing Mailman code (version 2.0.7) as a CGI script without having to run another web server besides Zope / ZServer. If anyone is interested in this code, please let me know. Right now it is an external method that requires the PathHandler product. The basic idea is to parse the URL using PathHandler, which calls our external method. Our external method sets up the required environment variables (has to correct a few glitches introduced by Zope in the environment dictionary), forks and execs the CGI script with the cleaned up environment dictionary, parses the output the CGI script returns, cleans up its forked children, and returns the CGI script output to the browser. This is all working fine with Mailman 2.0.7, Python 1.5.2 and Zope 2.3.3. I've tested a few other CGI scripts. YMMV. Maybe Zope already supported CGI scripts, but I sure couldn't figure out how to make them work! -- Fred Wilson Horch mailto:fhorch@ecoaccess.org Executive Director, EcoAccess http://ecoaccess.org/ P.O. Box 2823, Durham, NC 27715-2823 phone: 919.419-8567
At 04:48 PM 12/2/2001 -0500, Fred Wilson Horch wrote:
This is great! Finally somebody is working on integrating Mailman with Zope!
Well, I don't know whether I want to call it working on it yet, but I am prototyping. Thanks to the great API that seems to go very well. However, even though a couple people suggested to me to use ZPT, nobody has yet written the ZPT script for my manage_admin example. I need that in order to decide which one is better in this case to use.
Count me in -- we had a volunteer struggle with the Mailman code over the summer before giving up.
It is not that hard, but please feel free to help us hack. I send you access information in a private mail. <snip CGI Handler in Zope>
Maybe Zope already supported CGI scripts, but I sure couldn't figure out how to make them work!
You see the first goal will be to get rid of CGI scripts and replace them with Zope DTML or ZPT. This is very easy to do and it is just very time consuming to reimplement all these scripts (even though I think it will be very much worth it). After that we will attack the data structures and try to make them be stored in the ZODB, which does not seem to be the big problem. We basically strip Mailman to its pure logic, by taking away the presentation (Web) and the storage. Again, this seems to be no problem due to the great modularity of Mailman. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
However, even though a couple people suggested to me to use ZPT, nobody has yet written the ZPT script for my manage_admin example. I need that in order to decide which one is better in this case to use.
OK, I'll bite. I've been working with ZPT for several months now, please send the script to me, or tell me where I can find it, and I'll see what I can do. -- "Mozilla will be around long after nobody can remember just quite what Internet Explorer actually used to be." AirLace on Slashdot Nicola Larosa - nico@tekNico.net
At 12:05 AM 12/4/2001 +0100, Nicola Larosa wrote:
However, even though a couple people suggested to me to use ZPT, nobody has yet written the ZPT script for my manage_admin example. I need that in order to decide which one is better in this case to use.
OK, I'll bite. I've been working with ZPT for several months now, please send the script to me, or tell me where I can find it, and I'll see what I can do.
Okay, we have a script already, but the security in ZPT seems to be tighter than DTML, geez. So we started designing the real thing. If you are interested in the development of ZMailman, please go to http://demo.iuveno-net.de/iuveno/Products/ZMailman and sign up for the mailing list. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
participants (3)
-
Fred Wilson Horch -
Nicola Larosa -
Stephan Richter