[Tutor] web2py vs django

Stefan Lesicnik stefan at lsd.co.za
Wed Sep 9 09:31:14 CEST 2009


Hi guys.

I am writing this because i am little confused and wanted a more 'expert'
opinion on the two frameworks. I am still quite a python newbie, and not
really familiar with all the intricacies of it and the frameworks.

I discovered Django as a framework first. I thought it was really great. The
tutorials makes sense, i really like the generic views (looks clean, added a
filter, sorting works etc). The importing of various modules did confuse me
a bit, but I think its something you can learn and work through.

A friend asked me if I had tried web2py, and started looking at it. I
haven't looked as much as Django, but I also think its due to the fact that
Django seemed to have more resources available to learn. The Django book is
great. There are many video tutorials showing you how to start and get
going. With web2py, i run it, and I actually dont have a clue what to do
next...    Admittedly I have put more effort so far into learning Django.

I have purchased the web2py book, but havent gone through it yet in detail.

I plan on using either framework for a project i want to do that will
contain a database of computer resources available, have a workflow where a
user can request a service, administrator approve it, and the system will
automate and build a machine, virtual machine and notify people. If that
makes any difference to framework selection...   I guess im trying to choose
the correct framework before I put alot of effort into a dead horse :)

Maybe to summarise what ive found so far (i know there are more, im coming
from a newbie perspective here!)

Django
- Great generic views (sortable, filters etc)
- Nice admin interface
- Looks professional and clean
- May be slightly more complex than web2py
- Template specific language.
- Feels like more addons and 3rd party support, not sure about this?

web2py
- Simpler syntax for doing things (This may be a nice factor, but then it
does do more 'magic')
- Unable to find generic views?
- Not sure how to begin
- Works with google app engine (not an issue for me, but thats pretty cool)
- Template stuff is pure python with no indentation (this is good!)
- Interface feels old. LIke pre 2003 way of doing stuff. feels like static
html pages.
- No importing of modules, all handled for you (this may not be a great
thing. I am undecided still...)

Thanks everyone, i would really appreciate hearing your views.

Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090909/1f51b6ad/attachment.htm>


More information about the Tutor mailing list