Asynchronous Programming in Django, Flask and Quart
Python frameworks are a common starting point for Python developers, the ubiquity and large community support for many of them creating a good place to adopt language enhancements and best practices. In this chapter we will review three different Python frameworks and their support for asynchronous programming.
The chapter starts with a brief review of the Model-View-Controller (MVC) pattern. This established a de facto standard approach to solving many early Web problems, and MVC proved itself as a starter kit for delivering Create-Read-Update-Delete (CRUD) applications. The pattern merits discussion here because many of the most popular frameworks in the Python ecosystem implement their own versions of it. Other frameworks are more agnostic and let you implement other patterns, but maintain the availability of asynchronous programming mechanisms, even if their use is not enforced.
Several Python frameworks became popular...