I prefer Pylons for many reasons. One of them is that SQLAlchemy is the single most powerful SQL library I've ever used, and Pylons makes it easy to use SQLAlchemy, while Django doesn't. This is just one example of Django's reluctance to use superior outside solutions.
Actually there has been a SQLAlchemy branch for over a year. Last I check it had stagnated - not enough interest.
Ask HN: Choosing a Python framework for web development?
21–30 of 41 posts
Re: Ask HN: Choosing a Python framework for web development?
#22Start with Django unless you have a very good reason to use one of the other ones. Very good reasons include 1.) Previous skills with Mako, SQLAlchemy, Paste, or any of the other libraries that Pylons or Turbogears is based upon. 2.) Previous code in one of the above libraries 3.) Functionality needs that Django cannot satisfy in at least a couple of the following areas: authentication, user models, multiple database…
That was my experience - I think you should try out Django, Pylons and a few other frameworks to see what suits your style.
Re: Ask HN: Choosing a Python framework for web development?
#23Re: Ask HN: Choosing a Python framework for web development?
#24For me CherryPy hits the spot between "too much magic" and "too low level". I've used many templating systems with it, found Make and Cheetah to fit my mind the best.
Re: Ask HN: Choosing a Python framework for web development?
#25Start with Django unless you have a very good reason to use one of the other ones. Very good reasons include 1.) Previous skills with Mako, SQLAlchemy, Paste, or any of the other libraries that Pylons or Turbogears is based upon. 2.) Previous code in one of the above libraries 3.) Functionality needs that Django cannot satisfy in at least a couple of the following areas: authentication, user models, multiple database…
When I started hacking in Python which was over a year ago, I started with Django. That was a mistake because Django has too much magic which leaves the newbie clueless - I switched to Pylons and it has always felt right. Additionally Pylons has allowed me the necessary space to grow my skills and the Pylons apps I build now are very customized. That was my experience - I think you should try out Django, Pylons and a…
What is an example of this magic?
Re: Ask HN: Choosing a Python framework for web development?
#26Start with Django unless you have a very good reason to use one of the other ones. Very good reasons include 1.) Previous skills with Mako, SQLAlchemy, Paste, or any of the other libraries that Pylons or Turbogears is based upon. 2.) Previous code in one of the above libraries 3.) Functionality needs that Django cannot satisfy in at least a couple of the following areas: authentication, user models, multiple database…
Just FYI, the Washington Post does not use Django for their main page. They only use it for small side projects.
At reddit we tried to use Django, but had to switch to Pylons because, lo and behold, it wasn't scalable. Specifically, it has a problem caching templates under high loads.
Re: Ask HN: Choosing a Python framework for web development?
#27Start with Django unless you have a very good reason to use one of the other ones. Very good reasons include 1.) Previous skills with Mako, SQLAlchemy, Paste, or any of the other libraries that Pylons or Turbogears is based upon. 2.) Previous code in one of the above libraries 3.) Functionality needs that Django cannot satisfy in at least a couple of the following areas: authentication, user models, multiple database…
When I started hacking in Python which was over a year ago, I started with Django. That was a mistake because Django has too much magic which leaves the newbie clueless - I switched to Pylons and it has always felt right. Additionally Pylons has allowed me the necessary space to grow my skills and the Pylons apps I build now are very customized. That was my experience - I think you should try out Django, Pylons and a…
Re: Ask HN: Choosing a Python framework for web development?
#28Start with Django unless you have a very good reason to use one of the other ones. Very good reasons include 1.) Previous skills with Mako, SQLAlchemy, Paste, or any of the other libraries that Pylons or Turbogears is based upon. 2.) Previous code in one of the above libraries 3.) Functionality needs that Django cannot satisfy in at least a couple of the following areas: authentication, user models, multiple database…
> 2.) "It's not scalable enough." The Washington Post runs on Django; I doubt you're going to get more pageviews than them. Just FYI, the Washington Post does not use Django for their main page. They only use it for small side projects. At reddit we tried to use Django, but had to switch to Pylons because, lo and behold, it wasn't scalable. Specifically, it has a problem caching templates under high loads.
Re: Ask HN: Choosing a Python framework for web development?
#29Earlier quoted context omitted.
Actually there has been a SQLAlchemy branch for over a year. Last I check it had stagnated - not enough interest.
It's a wonder why, when Django's form validation and admin panels require the Django ORM, and last I heard, using the SQLAlchemy branch required extra work.
Form validation is not tied to the Django ORM.
Re: Ask HN: Choosing a Python framework for web development?
#30Earlier quoted context omitted.
It's a wonder why, when Django's form validation and admin panels require the Django ORM, and last I heard, using the SQLAlchemy branch required extra work.
The SQLAlchemy branch was intended to seamlessly integrate with the model api - in other words you needn't know it was there. I don't think it got too far. Form validation is not tied to the Django ORM.