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/ _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
