Flask Web Development: Developing Web Applications with Python
- Length: 258 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2014-05-18
- ISBN-10: 1449372627
- ISBN-13: 9781449372620
- Sales Rank: #515665 (See Top 100 Books)
Take full creative control of your web applications with Flask, the Python-based microframework. With this hands-on book, you’ll learn Flask from the ground up by developing a complete social blogging application step-by-step. Author Miguel Grinberg walks you through the framework’s core functionality, and shows you how to extend applications with advanced web techniques such as database migration and web service communication.
Rather than impose development guidelines as other frameworks do, Flask leaves the business of extensions up to you. If you have Python experience, this book shows you how to take advantage of that creative freedom.
- Learn Flask’s basic application structure and write an example app
- Work with must-have components—templates, databases, web forms, and email support
- Use packages and modules to structure a large application that scales
- Implement user authentication, roles, and profiles
- Build a blogging feature by reusing templates, paginating item lists, and working with rich text
- Use a Flask-based RESTful API to expose app functionality to smartphones, tablets, and other third-party clients
- Learn how to run unit tests and enhance application performance
- Explore options for deploying your web app to a production server
Table of Contents
Part I. Introduction to Flask
Chapter 1. Installation
Chapter 2. Basic Application Structure
Chapter 3. Templates
Chapter 4. Web Forms
Chapter 5. Databases
Chapter 6. Email
Chapter 7. Large Application Structure
Part II. Example: A Social Blogging Application
Chapter 8. User Authentication
Chapter 9. User Roles
Chapter 10. User Profiles
Chapter 11. Blog Posts
Chapter 12. Followers
Chapter 13. User Comments
Chapter 14. Application Programming Interfaces
Part III. The Last Mile
Chapter 15. Testing
Chapter 16. Performance
Chapter 17. Deployment
Chapter 18. Additional Resources