Open epogrebnyak opened 7 years ago
This post has some line-by-line comments about minimal apps in django and flask.
I disagree on popularity measure though in the post: when looking at github followers flask and django have about the same popularity.
This text in a widely publicised general python tutorial treats web frameworks concept:
Broadly speaking, a web framework consists of a set of libraries and a main handler within which you can build custom code to implement a web application (i.e. an interactive web site). Most web frameworks include patterns and utilities to accomplish at least the following:
In my opinion URL routing and request/reposne objects are most important.
Here is quite minimal configuartion from django-configurations
, a settings.py replacement:
https://github.com/jazzband/django-configurations/tree/templates/1.8.x
It is surprisingly small and compact.
This last one looks like the default django startproject
template to me, albeit an older version.
In py-frameworks-bench they have another minimal setup:
The tests themselves seem to show falcon as the quickest.