Chapter 4. Creating Controllers with Blueprints
The final piece of the Model View Controller (MVC) equation is controllers. We have already seen the basic usage of the view functions in our main.py
file. Now, the more complex and powerful versions will be introduced, and we will turn our disparate view functions in cohesive wholes. We will also discuss the internals of how Flask handles the lifetime of an HTTP request and advanced ways to define Flask views.