web development using Flask to building fully functional web applications. In the first
major project, we develop a dynamic Headlines application that displays the latest
news headlines along with up-to-date currency and weather information. In project
two, we build a Crime Map application that is backed by a MySQL database, allowing
users to submit information on and the location of crimes in order to plot danger zones
and other crime trends within an area. In the final project, we combine Flask with more
modern technologies, such as Twitter's Bootstrap and the NoSQL database MongoDB,
to create a Waiter Caller application that allows restaurant patrons to easily call a
waiter to their table. This pragmatic tutorial will keep you engaged as you learn the
crux of Flask by working on challenging real-world applications.
Module 2, Flask Framework Cookbook, Flask Framework Cookbook takes you through
a number of recipes that will help you understand the power of Flask and its
extensions. You will start by seeing the different ways of configurations that a Flask
application can make use of. You will learn how to work with templates and learn
about the ORM and view layers. You will see how to write an admin interface
followed by the debugging and logging of errors. Finally, you will learn about
different deployment and post-deployment techniques on platforms such as Apache,
Tornado, and Heroku.
By the end of this module, you will have gained all the knowledge required to write
Flask applications in the best possible way, and scale them with best practices.
Module 3, Mastering Flask, Starting from a simple Flask app, this module will walk
through advanced topics while providing practical examples of the lessons learned.
After building a simple Flask app, a proper app structure is demonstrated by
transforming the app to use a Model-View-Controller (MVC) architecture. With a
scalable structure in hand, the next chapters use Flask extensions to provide extra
functionality to the app, including user login and registration, NoSQL querying, a
REST API, an admin interface, and more. Next, you'll discover how to use unit testing
to take the guesswork away from making sure the code is performing as it should.
The module closes with a discussion of the different platforms that are available to
deploy a Flask app on, the pros and cons of each one, and how to deploy on each one