for web application development

Thomas Wittek mail at gedankenkonstrukt.de
Thu Jun 14 06:50:06 EDT 2007


james_027:
> My problem is looking for a web framework for python, that could
> provide a natural way of developing web app.

The three bigger Python web frameworks seem to be:

- Django: http://www.djangoproject.com/
- TurboGears: http://www.turbogears.org/
- Pylons: http://pylonshq.com/

I only tried them briefly.

Django has its own componentes for almost everything (templating, ORM,
routing) and feels thus very integrated and solid.

TurboGears tries to use independent components like Kid, SQLObject and
CherryPy, which you can easily change to you own favorites. So you have
more flexibility, but also a bit more complexity.

Pylons is similar to TurboGears as it also uses independent components,
that are by some people consideres more "modern". By default it uses
SQLAlchemy for ORM and Routes for routing/dispatching.
It also incorporates the Python WSGI standard for web apps.
For me it felt least integrated of those frameworks but it may have the
biggest future potentials.

You may take a look at those comparisons:
http://jesusphreak.infogami.com/blog/vrp1
http://www.ibm.com/developerworks/linux/library/l-django/
http://www.ibm.com/developerworks/linux/library/l-turbogears/

> I am avoiding to learn
> template language as much as possible.

You will need a templating language to put out your HTML.
Of course that will not be a full programming language like PHP.

-- 
Thomas Wittek
http://gedankenkonstrukt.de/
Jabber: streawkceur at jabber.i-pobox.net



More information about the Python-list mailing list