More Full Stack Frameworks – Django and Pyramid
The web frameworks we’ve covered so far were exemplary in the way they work. Flask is an unopinionated micro-framework. By this we mean Flask only handles endpoint routing and optionally, serving templated page content. FastAPI features a framework specifically for building RESTful APIs rather than serving content beyond data. It also features an asynchronous programming model reminiscent of modern JavaScript frameworks running in NodeJS.
There are two more frameworks you’ll find on the New Project menu in PyCharm Professional, and we’re going to cover them here. Django is a very popular framework that is, philosophically speaking, the diametric opposite of Flask. Django is a highly opinionated framework that attempts to make all your platform and framework choices for you.
The final framework we’ll talk about is Pyramid. Pyramid aims for the middle ground between Flask and Django offering more...