Re: WSGI with mod_python (was: Python, WSGI, legacy web application)

2006-11-23 Thread Graham Dumpleton
Paul Boddie wrote: > Rob De Almeida wrote: > > Ben Finney wrote: > > > I was under the impression that WSGI in mod_python was a rather kludgy > > > way to do WSGI, but I don't know what the alternatives are. CGI? > > > Python http server (e.g. CherryPy)? Something else? > > > > You can use FastCGI

Re: WSGI with mod_python (was: Python, WSGI, legacy web application)

2006-11-23 Thread Paul Boddie
Rob De Almeida wrote: > Ben Finney wrote: > > I was under the impression that WSGI in mod_python was a rather kludgy > > way to do WSGI, but I don't know what the alternatives are. CGI? > > Python http server (e.g. CherryPy)? Something else? > > You can use FastCGI or SCGI too, with Apache, lighttp

Re: WSGI with mod_python (was: Python, WSGI, legacy web application)

2006-11-23 Thread Rob De Almeida
Ben Finney wrote: > I was under the impression that WSGI in mod_python was a rather kludgy > way to do WSGI, but I don't know what the alternatives are. CGI? > Python http server (e.g. CherryPy)? Something else? You can use FastCGI or SCGI too, with Apache, lighttpd or Cherokee. I have a short des

WSGI with mod_python (was: Python, WSGI, legacy web application)

2006-11-22 Thread Ben Finney
"Graham Dumpleton" <[EMAIL PROTECTED]> writes: > Look at mod_python for Apache. If you use it correctly you can on a > page by page basis as need be, replace the existing PHP pages with > equivalents written using Python. You could do this by programming > right at the level of mod_python, or agai

Re: Python, WSGI, legacy web application

2006-11-22 Thread Ben Finney
"ToddG" <[EMAIL PROTECTED]> writes: > > Ben Finney wrote: > > > Is it possible to write a Python WSGI program that talks to a > > > PHP program as its "back end"? Where can I find out how to do > > > this, preferably with examples? > > Perhaps: > > http://pythonpaste.org/wphp/ > http://blog.ianbic

Re: Python, WSGI, legacy web application

2006-11-22 Thread ToddG
> Ben Finney wrote: > > > > Is it possible to write a Python WSGI program that talks to a PHP > > program as its "back end"? Where can I find out how to do this, > > preferably with examples? Perhaps: http://pythonpaste.org/wphp/ http://blog.ianbicking.org/2006-wphp.html -- http://mail.python.o

Re: Python, WSGI, legacy web application

2006-11-22 Thread Graham Dumpleton
Ben Finney wrote: > Howdy all, > > I'm working on a web application that is starting to gain a lot of > back-end code written in Python. However, all the current interface > code is written in legacy PHP. I'd like to slowly introduce new > features as Python WSGI programs. > > Is it possible to wr

Python, WSGI, legacy web application

2006-11-22 Thread Ben Finney
Howdy all, I'm working on a web application that is starting to gain a lot of back-end code written in Python. However, all the current interface code is written in legacy PHP. I'd like to slowly introduce new features as Python WSGI programs. Is it possible to write a Python WSGI program that ta