Re:The Incredible Growth of Python
by pbreit on Thursday September 07, 2017 @02:08AM
(#15189474)
I agree that Python works well for just about everything but wish there was a framework between Django & Flask.
[ Parent
| on HN ]
The most popular framework that fits this description might be Pyramid [1].
Have you looked at:
http://www.django-rest-framework.org/
and the Lightweight Django book: http://shop.oreilly.com/product/0636920032502.do
Re:The Incredible Growth of Python
by hurtmyknee on Saturday September 09, 2017 @06:33AM
(#15206434)
I like to keep things modular, if you're looking for API development Falcon is a lightweight DIY solution (https://falconframework.org/).
Use Django and strip out the middleware and admin/authentication addons.
auth is a must-have (i've never written an app that did not need basic auth) and admin is a very, very nice to have. It still feels "thick" to me in other areas.
Agreed! I lean much more towards Flask (I'd rather have too much simplicity than too much complexity), but something in the middle would be fantastic.
A simple application structure with loose enough rules and a strong standard library is what I would like. Flask can be too little, Django can be too big.