[Ilugc] Simple Python Web Application
- From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
- Date: Mon Jul 12 15:10:19 2010
On Monday 12 July 2010 14:01:51 Bharathi Subramanian 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.
as mentioned, mod_python is dead. The two current flavours are either apache
with mod_wsgi or nginx/cherokee with fcgi. And as also mentioned, no one uses
python cgi programming except as a learning tool. There are a zillion
frameworks out there - django, webpy, web2py, cherrypy, turbogears etc etc
etc. Again using db programming is also out - there are ORMs like sqlalchemy,
django ORM etc. And no one writes plain html - templates like cheetah, jinja,
mako, and a zillion others are there.
--
regards
kg
http://lawgon.livejournal.com/
Other related posts: