Over 80 hands-on recipes to help you create small-to-large web applications using Flask
About This Book
- Get the most out of the powerful Flask framework while remaining flexible with your design choices
- Build end-to-end web applications, right from their installation to the post-deployment stages
- Packed with recipes containing lots of sample applications to help you understand the intricacies of the code
Who This Book Is For
If you are a web developer who wants to learn more about developing applications in Flask and scale them with industry-standard practices, this is the book for you. This book will also act as a handy tool if you are aware of Flask's major extensions and want to make the best use of them.
It is assumed that you have knowledge of Python and a basic understanding of Flask. If you are completely new to Flask, reading the book from the first chapter and going forward will help in getting acquainted with Flask as you go ahead.
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 book, you will have gained all the knowledge required to write Flask applications in the best possible way, and scale them with best practices.
Table of Contents
Chapter 1: Flask Confgurations
Chapter 2: Templating with Jinja2
Chapter 3: Data Modeling in Flask
Chapter 4: Working with Views
Chapter 5: Webforms with WTForms
Chapter 6: Authenticating in Flask
Chapter 7: RESTful API Building
Chapter 8: Admin Interface for Flask Apps
Chapter 9: Internationalization and Localization
Chapter 10: Debugging, Error Handling, and Testing
Chapter 11: Deployment and Post Deployment
Chapter 12: Other Tips and Tricks