On Jun 5, 9:24 pm, Christoph Haas <[EMAIL PROTECTED]> wrote: > On Tue, Jun 05, 2007 at 03:01:01PM -0400, Chris Stewart wrote: > > I'm interested in learning web based python without the use of fancy > > frameworks > > that are out there. I'm having a hard time coming up with resources and > > examples for this. Does anyone have anything that could be helpful? > > I'd say the only decent ways are either using a full-featured framework > (I favor Pylons) or write plain CGIs. Even for the later a look > intohttp://wiki.python.org/moin/WebFrameworksmight be useful (I wouldn't > say that "web.py" is really a framework - and it's listed there). Or you > write plain-old CGIs with Python's "cgi" module. I have also started > like that but currently only use frameworks because the "cgi" module is > pretty limited (compared to what Perl offers) and for serious > applications not really the way to go. >
<answering to the OP> I can only second Christoph's answer. Using bare CGI, you'll rapidly find you have to set up some common things like sessions, templating, url to actions dispatch etc - IOW, reinventing the (square) wheel. So unless your goal is to learn the "low-level" parts of web programming (which is a very legitimate goal - as far as I'm concerned, I'd like to see more 'web developpers' doing so), my advice is also to look for a simple, flexible, non-intrusive framework (web.py and Pylons come to mind). My 2 (euro) cents. -- http://mail.python.org/mailman/listinfo/python-list