Re: Python as a Server vs Running Under Apache

2006-01-04 Thread grahamd
fuzzylollipop wrote: > there are lots of things you can't do or can't do easily or can't do at > efficiently in Apache using python as cgi or as anyone would more > likely assume mod_python. anything that requires any shared state or > shared resources in Apache is next to impossible. Doing similar

Re: Python as a Server vs Running Under Apache

2006-01-04 Thread fuzzylollipop
there are lots of things you can't do or can't do easily or can't do at efficiently in Apache using python as cgi or as anyone would more likely assume mod_python. anything that requires any shared state or shared resources in Apache is next to impossible. Doing similar things in an app server or n

Re: Python as a Server vs Running Under Apache

2006-01-01 Thread Mike Meyer
"mojosam" <[EMAIL PROTECTED]> writes: > Is this advice accurate? Are there other things to consider? Isn't > there just some way (short of running something like Zope) that would > keep Python resident in the server's RAM? This is a shared server, so > the web host probably doesn't like stuff si

Re: Python as a Server vs Running Under Apache

2006-01-01 Thread Jean-Paul Calderone
On 1 Jan 2006 14:44:07 -0800, mojosam <[EMAIL PROTECTED]> wrote: >I guess I'm a little confused, and this certainly comes from not yet >having tried to do anything with Python on a web server. > >I remarked once to a Python programmer that it appeared to me that if I >had a web page that called a P

Re: Python as a Server vs Running Under Apache

2006-01-01 Thread mojosam
I guess I'm a little confused, and this certainly comes from not yet having tried to do anything with Python on a web server. I remarked once to a Python programmer that it appeared to me that if I had a web page that called a Python program, that the server would: 1. Load Python 2. Run the progra

Re: Python as a Server vs Running Under Apache

2005-12-30 Thread grahamd
> as great as mod_python is, there are lots of restrictions and > limitations to what youc an do with it because of limitations of apache > itself, and I am refereing to apache 2.x as well as 1.x, like others > are saying if you don't need apache specific things it will just be one > more thing to

Re: Python as a Server vs Running Under Apache

2005-12-30 Thread fuzzylollipop
as great as mod_python is, there are lots of restrictions and limitations to what youc an do with it because of limitations of apache itself, and I am refereing to apache 2.x as well as 1.x, like others are saying if you don't need apache specific things it will just be one more thing to work aroun

Re: Python as a Server vs Running Under Apache

2005-12-30 Thread Larry Bates
Matt Helm wrote: > > I am starting the design phase of a large project (ERP) where the > backend will mostly be Python (or Ruby) providing web services. > > In this type of usage, is there any benenfit to running under Apache > as opposed to a pure Python solution using Medusa, TwistedMatrix, or

Re: Python as a Server vs Running Under Apache

2005-12-29 Thread Matt Helm
<[EMAIL PROTECTED]> writes: > Running under Apache is nice if you need other apache services like > proxying, mod_rewrite, some of the accelerated static file serving > plugins, etc. Not needed, this is web services only. That is, Apache is needed, but only to handle the PHP consumers of the web

Re: Python as a Server vs Running Under Apache

2005-12-28 Thread [EMAIL PROTECTED]
Matt Helm wrote: > I am starting the design phase of a large project (ERP) where the > backend will mostly be Python (or Ruby) providing web services. > > In this type of usage, is there any benenfit to running under Apache > as opposed to a pure Python solution using Medusa, TwistedMatrix, or > th

Python as a Server vs Running Under Apache

2005-12-28 Thread Matt Helm
I am starting the design phase of a large project (ERP) where the backend will mostly be Python (or Ruby) providing web services. In this type of usage, is there any benenfit to running under Apache as opposed to a pure Python solution using Medusa, TwistedMatrix, or the like? Thanks, Matt --