[Tutor] Database driven web sites with python [Phil and Alex's Guide to Web Publishing]

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Tue Jan 21 12:29:09 2003


On Fri, 17 Jan 2003, Danny wrote:

> Quick and easy question, can you use python to build database driven web
> sites. Thanks ahead of time for everyone help, and have a great
> weekend...

Out of curiosity, what kind of database-driven web site are you thinking
of building?

If you haven't seen this already, you may find "Phil and Alex's Guide to
Web Publishing" a useful (and amusing) web book to browse through:

    http://philip.greenspun.com/panda/

In particular:

    http://philip.greenspun.com/panda/databases-interfacing

talks about the basics of writing database-driven sites.  He uses a
programming language called Tcl/Tk to implement his site, but you can
translate that code to Python pretty easily.  And even with the book's
non-Python focus, it gives a lot of good ideas that you can use to help
build your site.


Good luck to you!