Trying to understand Python web-development
Joshua Kugler
jkugler at bigfoot.com
Tue Jan 29 16:53:45 EST 2008
walterbyrd wrote:
> Python also seems to require some sort of "long running processes" I
> guess that the python interpretor has to running all of time.
What you probably don't realize, is that in 99.9% of the situations you've
come across, PHP is already a process running all the time. It's called
mod_php, and it's a PHP interpreter running inside of apache, thus a "long
running process." It's just not as obvious. You can do the same thing
with Python via the mod_python module, thus putting the python interpreter
(instead of the PHP interpreter) inside the Apache process. Other web
servers have similar setups. Google for FastCGI and SCGI.
j
More information about the Python-list
mailing list