[Ilugc] Simple Python Web Application

  • From: samrat.ashok87@xxxxxxxxx (ashok samrat)
  • Date: Mon Jul 12 14:20:01 2010

Hi Bharathi ,

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.

CGI is pretty much dead , mod_python is also outdated very much . The
way to go now a days is WSGI  .If you are using apache try using
mod_wsgi .

http://code.google.com/p/modwsgi/

WSGI Pep : http://www.python.org/dev/peps/pep-0333/

WSGI is a interface specified by the python langauge  .


Cheers
Ashok

Other related posts: