[Tutor] python web documentation ( without frameworks?)

Kent Johnson kent37 at tds.net
Wed Jun 25 13:11:30 CEST 2008


On Tue, Jun 24, 2008 at 11:00 PM, Patrick <optomatic at rogers.com> wrote:
> Hi Everyone
>
> This is my first post here. I would like to switch from php/mysql to
> python(mod_python) and postgresql. There are several recent books on
> cherrypy, django and turbogears but for some reason I just don't want to use
> a framework. Are there any current books you could recommend for general
> python web programming? Most of the general web programming books seem to be
> from 2004 or before.

If you don't want to use a framework that pretty much limits you to
plain CGI or mod_python handlers. They don't provide much so there is
not much documentation. At this level of programming I don't think
much has changed since 2004. The cgi module docs are one place to
start:
http://docs.python.org/lib/module-cgi.html

Foundations of Network Programming covers many different aspects of
network programming including a chapter on CGI:
http://www.apress.com/book/view/1590593715

My guess is that, coming from php, you will find this level of web
programming to be pretty primitive and you will soon be looking at the
frameworks or at least a templating package.

Kent


More information about the Tutor mailing list