[Tutor] web app approach

Kent Johnson kent37 at tds.net
Wed Mar 28 13:27:22 CEST 2007


Rohan Deshpande wrote:
> Hi everyone,
> 
> In terms of building a web application, is the preferred method of 
> development to develop the application as a console app and then migrate 
> it to a web app? 

That is a good approach but not the only one. I prefer to develop the 
functional bits of the application using unit tests and occasionally 
simple driver applications. I don't go to the trouble of making a full 
command-line program.

We recently had a discussion of this in the context of GUI applications; 
since a web interface is another kind of GUI the advice there applies to 
your situation.
http://mail.python.org/pipermail/tutor/2007-March/053451.html

> Also, in my readings people have been saying that 
> python frameworks are numerous and not as useful as they seem, and that 
> WSGI is the way to go at the moment.  For a python newbie giving his 
> first go at a  web app, what do you recommend?

You should be able to find people happy with many frameworks including 
Django, TurboGears, Pylons, web.py, Karrigell...

I'm using Django at the moment and finding it very powerful and useful. 
WSGI lets you glue together diverse components; you probably don't want 
to use _just_ WSGI, but include other WSGI components. That is the 
approach Pylons takes.

Kent


More information about the Tutor mailing list