If you follow this blog at all, you know that I’m a PHP programmer. Specifically, I like to work the LAMP stack. Lately though I’ve been getting the itch to grow my Python skills and learn a new web framework. After some searching about on the internet, I came up with two Python web frameworks that look promising: Django and Pylons.
Django and Pylons are both Python web frameworks that encourage rapid development of web sites using the Model-View-Controller design pattern. They both are similar, but also have enough differences to warrant some discussion before choosing one over the other.
From my research and experience, Django is good because it’s easy. It’s easy to set up a site and the administrative interface is built up for you. The only issues people have is that it doesn’t allow a great deal of customization, and sometimes Django hides what is going on from you. To some people this is desirable, to others it isn’t.
People seem to like Pylons because it’s extremely flexible. For your models you can use SQL Alchemy or some other ORM, while for your template engine you can use Mako or any other kind that you’d like.