zarak / explore-django

Investigating the functionality of the Django framework starting with a minimal configuration
0 stars 0 forks source link

other minimal configurations #5

Open epogrebnyak opened 7 years ago

epogrebnyak commented 7 years ago

In py-frameworks-bench they have another minimal setup:

The tests themselves seem to show falcon as the quickest.

epogrebnyak commented 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.

epogrebnyak commented 7 years ago

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.

epogrebnyak commented 7 years ago

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.

zarak commented 7 years ago

This last one looks like the default django startproject template to me, albeit an older version.