[Ilugc] Simple Python Web Application

  • From: rajasuperman@xxxxxxxxx (Raja Subramanian)
  • Date: Mon Jul 12 14:27:37 2010

On Mon, Jul 12, 2010 at 2:01 PM, Bharathi Subramanian
<bharathi.list@xxxxxxxxx> wrote:

I wrote a very simple python web application (using CGI), which accept
a student roll number and show the student's detail from the DB. While
searching, I got many CGI, mod_python, WSGI based examples. Which is
the proper way? If possible, plz point to some good example/tutorial.

WSGI is the recommended approach.

Everything from Apache, Lighttpd, Google App Engine, and even
Microsoft IIS support WSGI and you can deploy your python apps
with minimal modifications.


I suggest you go through WSGI limitations mentioned here:
  http://linuxgazette.net/115/orr.html
  http://code.google.com/p/modwsgi/wiki/ApplicationIssues

- Raja

Other related posts: