October 2018
Intermediate to advanced
332 pages
8h 9m
English
Chapter 1, Getting Started, helps readers set up a Flask environment for development using the best practices for Python projects. You are given a very basic skeleton Flask app that is built throughout the book.
Chapter 2, Creating Models with SQLAlchemy, shows how to use the Python database library SQLAlchemy in conjunction with Flask to create an object-oriented API for your database.
Chapter 3, Creating Views with Templates, shows how to use Flask's templating system, Jinja, to dynamically create HTML by leveraging your SQLAlchemy models.
Chapter 4, Creating Controllers with Blueprints, covers how to use Flask's blueprints feature in order to organize your view code while also avoiding repeating yourself.