Visit Official Exploding Ads Website

Wednesday, December 2, 2015

jonesb6 comments on "Django 1.9 Released"

By jonesb6

I think this is more a flaw of the authoritarian nature of larger web frameworks. They can’t cater to every use case and have to be opinionated in certain areas.


In Django’s case I would say their Authentication model was an opinionated choice that has since become a major staple of Django. Many frameworks will not include default ORM-models and will instead defer to the user to implement their own authentication scheme.


Personally I disagree with this choice, I think database schemas have to be flexible and an in-framework authentication setup will only encourage users to lean more on the framework even when it is working against them. I’ve burned plenty of hours in Django trying to work / extend the authentication model. While I have no doubt much of this was due to my inexperience with Django, there is a certain responsibility with having a framework used by many beginners who will struggle and perhaps pick up bad habits (like expecting your web framework to automagically solve everything) if you do not design it for them.


Overall I think Django is awesome. But it’s not for every use-case, or every developer. About a year ago I moved over to NodeJS professionaly, some day I will perhaps go back but have yet to have any significant reason to do so.



link


Read more here: https://news.ycombinator.com/item?id=10661577



jonesb6 comments on "Django 1.9 Released"

No comments:

Post a Comment