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 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 p

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 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 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 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 lo

Re: advice needed for simple python web app

2005-02-04 Thread Dan Perl
"Paul Rubin" 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

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) sim

Re: advice needed for simple python web app

2005-02-04 Thread Dave Cook
On 2005-02-04, Dan Perl <[EMAIL PROTECTED]> wrote: > I have a pretty simple python script and I would like to turn it into a web > application but web apps are a domain I know very little about. I know that > Twisted, CherryPy, Plone and Zope exist but not exactly what they do. I I think Che

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 con

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 m

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 w

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

Re: advice needed for simple python web app

2005-02-03 Thread Brian Beck
Dan Perl wrote: 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 solution that I would like to avoid. The server should also be as simple as possible to administrate

Re: advice needed for simple python web app

2005-02-03 Thread Dan Perl
"Paul Rubin" 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:

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 in

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 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

Re: advice needed for simple python web app

2005-02-03 Thread Dan Perl
"Paul Rubin" 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

Re: advice needed for simple python web app

2005-02-03 Thread Paul Rubin
"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 solution that I would like > to avoid. The server should also be as simple

Re: advice needed for simple python web app

2005-02-03 Thread M.E.Farmer
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 for the new 2.0 series ,but they do have a newsgroup where the author still