Re: [Zope-dev] Fully Zope-based Mailman Version

2001-12-02 Thread Fred Wilson Horch

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:[EMAIL PROTECTED]
Executive Director, EcoAccess   http://ecoaccess.org/
P.O. Box 2823, Durham, NC 27715-2823phone: 919.419-8567

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Fully Zope-based Mailman Version

2001-12-02 Thread Stephan Richter


1. Convert the HTML screens to Zope DTML and connect the functionality to 
Mailman.

Okay, I just wrote a proof of concept by simulating the admin intro screen 
and it works just fine. The most amount of work will come from the HTML 
page translations into DTML.

If you want to know how to setup and run Mailman for Zope, please send me 
an E-mail privately.

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development  Technical Project Management


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Fully Zope-based Mailman Version

2001-12-02 Thread Stephan Richter

At 03:55 PM 12/2/2001 +, Chris Withers wrote:
Stephan Richter wrote:
 
  1. Convert the HTML screens to Zope DTML and connect the functionality to
  Mailman.
 
  Okay, I just wrote a proof of concept by simulating the admin intro screen
  and it works just fine. The most amount of work will come from the HTML
  page translations into DTML.

Can I suggest you use ZPT rather than DTML and make your life easier in 
the long
run?

I haven't looked at ZPT at all yet, simply because I did not have to and 
usually my DTML is minimal, since I develop all logical features in Python 
in anyway.
However, now that it becomes Zope Core Component that might be a possible 
choice. How do you think will ZPT be better (other than that DTML is not 
the future)? I just installed ZPT on the Mailman-Zope installation. I would 
like someone on the mailing list to convert the manage_admin.dtml script to 
manage_admin_zpt (I created the bare script already) inside this Zope 
Installation. I will give you the necessary access once you reply.

Mmmh, actually, if you (anyone) is willing to work on it, what the heck, I 
give you FTP access (the restriction is that I have to know you from 
previous discussions) to the Zope Tree/Products as well, so you can start 
making some progress there as well.

I will not have much time until exams are over, so I do not want to kill 
the momentum I seem to have generated (seeing my personal Inbox). I welcome 
everyone to help with the coding and will do my best to support you.

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development  Technical Project Management


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Fully Zope-based Mailman Version

2001-12-02 Thread Stephan Richter

At 11:21 AM 12/2/2001 -0600, Stephan Richter wrote:
Mmmh, actually, if you (anyone) is willing to work on it, what the heck, I 
give you FTP access (the restriction is that I have to know you from 
previous discussions) to the Zope Tree/Products as well, so you can start 
making some progress there as well.

Cool, eight (8) people have now already access to my little development 
installation. Could this be a way of Extreme Programming remotely over the 
net? Well, I am certainly open for the test drive!

Mmh, of course problems can arise in terms cancelling each others work, but 
if you work with versioning and CVS (for the Python Code maybe), you should 
be able to avoid that (assuming that everyone creates their own username, 
once they are in). It is certainly not made for a long-term condition, but 
I believe it will be great to address the most obvious initial issues. Once 
they are solved a design can be made with some Getting Started 
instructions and everyone can develop on their local machine.
But I would still keep the test-Zope up and running, so people can check-in 
and test their latest advancements and there will be always a place where 
the latest functional code is publicly viewable and executable.
Security is of course another issue, this is why I limited the access a 
little bit. But I think one must calculate with some of the security risks 
in order to increase development performance.

That's it for now. If you want to be part of this little experiment, E-mail 
me and I give you the info you need.

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development  Technical Project Management


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )