ramkrishanbhatt / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

Not straight forward installation #217

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
RE: Enhancement

WSGI is not straight forward configuration after installation.

WSGI needs to be like PHP. Install and can begin writing applications and not 
spending time trying to configure wsgi whether using daemon or embedded mode or 
editing configs for apache virtualhosts or security authentications.

Original issue reported on code.google.com by wonghow on 7 Dec 2010 at 1:23

GoogleCodeExporter commented 8 years ago
It isn't that simple as how PHP and Python web applications work is quite 
different. Go read:

http://blog.ianbicking.org/2008/01/12/what-php-deployment-gets-right/

The basic difference that means that configuration is more difficult and needs 
to be managed well is that Python web applications are persistent in memory and 
the application isn't reloaded on every request. Also, Python web applications 
can support a pool of request handlers in a single process and thus deal with 
multithreading issues whereas PHP is single threaded only.

All up, even if you had a perfect hosting mechanism, that doesn't mean it will 
get used. The majority of web hosting services are biased towards PHP 
applications and supporting them makes it difficult to also host Python web 
applications as the hosting requirements and configuration requirements are 
generally incompatible. As such, you will only likely see streamlined hosting 
for Python from companies who specialise in that.

As such, keep an eye on the following companies:

Djangy - Django specific.
Stable - Generic Python web hosting.
DjangoZoom - Django specific.

These are trying to provide the simpler type of deployment you are after.

Two at least are using mod_wsgi. Not sure what the other is using, but not 
mod_wsgi.

Original comment by Graham.Dumpleton@gmail.com on 7 Dec 2010 at 9:31

GoogleCodeExporter commented 8 years ago
BTW, if you think you know how to make it simpler, by all means indicate how. 
Half the problems is that hosting companies never provide feedback on what can 
be done to make their job easier.

Original comment by Graham.Dumpleton@gmail.com on 7 Dec 2010 at 9:32

GoogleCodeExporter commented 8 years ago
Closing as there is no simple solution which will make things as easy to use as 
PHP. The mod_wsgi-express versions help a lot as far as configuration goes, but 
reality is that Python web applications are just different and if anything 
could be done it would be at web framework level although that is even highly 
unlikely.

Original comment by Graham.Dumpleton@gmail.com on 16 Sep 2014 at 7:47