Re: advice needed for simple python web app

2005-02-04 Thread Fred Pacquier
Dan Perl [EMAIL PROTECTED] said : This is exactly the kind of summary that I think should be in a WebProgrammingShootOut (see another one of my postings in this thread) but I failed to find such a summary. Thanks, Brian! Anyone can add to the list? I myself am also into (very) simple web

Re: advice needed for simple python web app

2005-02-04 Thread Dan Perl
Paul Rubin http://[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If you're just trying to get a conceptual understanding of web programming, I suggest you start with cgi. Next you might want to read Philip and Alex's Guide to Web Publishing: http://philip.greenspun.com/panda/

Re: advice needed for simple python web app

2005-02-04 Thread Paul Rubin
Dan Perl [EMAIL PROTECTED] writes: This matches pretty much what I've decided to do. I'll start with cgi and CGIHTTPServer because I'll learn more from that and then move to a framework, quite likely CherryPy, although by that time I may change my choice. Philip Greenspun's book looks

Re: advice needed for simple python web app

2005-02-04 Thread Jeff Reavis
You might also want to try out Spyce. http://spyce.sourceforge.net/index.html It works in proxy mode, with mod_python, or even as cgi. Some examples: http://spyce.sourceforge.net/eg.html -- http://mail.python.org/mailman/listinfo/python-list

Re: advice needed for simple python web app

2005-02-04 Thread Ant
You might also look at the docs for HTML::Mason (www.masonhq.com) to get a look at a reasonably mature template system, even if you don't plan to use it (because it's in Perl and not Python). I'm not sure if CherryPy is directly comparable. I haven't yet used any of the Python template

Re: advice needed for simple python web app

2005-02-04 Thread Ray Cote
At 8:51 AM -0800 2/4/05, Paul Rubin wrote: Dan Perl [EMAIL PROTECTED] writes: This matches pretty much what I've decided to do. I'll start with cgi and CGIHTTPServer because I'll learn more from that and then move to a framework, quite likely CherryPy, although by that time I may change my

Re: advice needed for simple python web app

2005-02-04 Thread TZOTZIOY
On 03 Feb 2005 22:31:43 -0800, rumours say that Paul Rubin http://[EMAIL PROTECTED] might have written: [Dan Perl thinks about publishing to the web a script that could be misused by spammers, so Paul advises him to watch out.] There used to be some similar perl scripts running all over the

Re: advice needed for simple python web app

2005-02-03 Thread Dan Perl
Paul Rubin http://[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dan Perl [EMAIL PROTECTED] writes: Basically, what I'm looking for is a web server that accepts an HTTP request and invokes a python script. But I would like a pythonic solution so a web server like Apache is a

Re: advice needed for simple python web app

2005-02-03 Thread Dan Perl
M.E.Farmer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am no web expert but have recently used cherrypy to 'webify' a script. It is very easy to get going and has its own server or can be run behind Apache. The only real problem I see is that the docs are still a little lite

Re: advice needed for simple python web app

2005-02-03 Thread Michele Simionato
Dan Perl: The application is just something I'm playing with to learn a little bit on web apps. It uses an HTML form to send an email. The form takes inputs like the From:, To: and Subject: fields and a text field. It is difficult to beat CGI + CGIHTTPServer for conceptual simplificity and

Re: advice needed for simple python web app

2005-02-03 Thread Paul Rubin
Dan Perl [EMAIL PROTECTED] writes: The application is just something I'm playing with to learn a little bit on web apps. It uses an HTML form to send an email. The form takes inputs like the From:, To: and Subject: fields and a text field. Be careful of exposing that script to the

Re: advice needed for simple python web app

2005-02-03 Thread Dan Perl
Paul Rubin http://[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dan Perl [EMAIL PROTECTED] writes: The application is just something I'm playing with to learn a little bit on web apps. It uses an HTML form to send an email. The form takes inputs like the From:, To: and

Re: advice needed for simple python web app

2005-02-03 Thread Dan Perl
Michele Simionato [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dan Perl: The application is just something I'm playing with to learn a little bit on web apps. It uses an HTML form to send an email. The form takes inputs like the From:, To: and Subject: fields and a text

Re: advice needed for simple python web app

2005-02-03 Thread Paul Rubin
Dan Perl [EMAIL PROTECTED] writes: Be careful of exposing that script to the internet. Spammers will exploit it. Do you mean publishing the script for other people to copy it or exposing the web app so that other people may access it? I mean installing the script on a server where

Re: advice needed for simple python web app

2005-02-03 Thread Dan Perl
Brian Beck [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From my experience, this appears to be the order from low-level to high-level interfaces: 1. mod_python: As complex as you need it to be, since you can control anything about the request response process. But more

Re: advice needed for simple python web app

2005-02-03 Thread Paul Rubin
Dan Perl [EMAIL PROTECTED] writes: This is exactly the kind of summary that I think should be in a WebProgrammingShootOut (see another one of my postings in this thread) but I failed to find such a summary. Thanks, Brian! Anyone can add to the list? If you're just trying to get a conceptual