- Preface
- Assumptions
- Living document
- Conventions used in this book
- Easter eggs
- Summary
- Chapter 2. Coding conventions
- 2.1. Let's have a PEP rally!
- 2.2. Relative imports
- 2.3. Summary
- Chapter 3. Environment
- 3.1. Use virtualenv to manage your environment
- 3.2. Version control
- 3.3. Debugging
- 3.4. Summary
- Chapter 4. Organizing your project
- 4.1. Definitions
- 4.2. Organization patterns
- 4.3. Summary
- Chapter 5. Configuration
- 5.1. The simple case
- 5.2. Instance folder
- 5.3. Configuring based on environment variables
- 5.4. Summary
- Chapter 6. Advanced patterns for views and routing
- 6.2. URL Converters
- 6.3. Summary
- Chapter 7. Blueprints
- 7.2. Why would you use blueprints?
- 7.3. Where do you put them?
- 7.4. How do you use them?
- 7.5. Refactoring small apps to use blueprints
- 7.6. Summary
- Chapter 8. Templates
- 8.1. A quick primer on Jinja
- 8.2. How to organize templates
- 8.3. Inheritance
- 8.4. Creating macros
- 8.5. Custom filters
- 8.6. Summary
- Chapter 9. Static files
- 9.1. Organizing your static files
- 9.2. Manage static assets with Flask-Assets
- 9.3. Summary
- Chapter 10. Storing data
- 10.1. SQLAlchemy
- 10.2. Summary
- Chapter 11. Handling forms
- 11.1. Flask-WTF
- 11.2. Summary
- Chapter 12. Patterns for handling users
- 12.1. Email confirmation
- 12.2. Storing passwords
- 12.3. Authentication
- 12.4. Forgot your password
- 12.5. Summary
- Chapter 13. Deployment
- 13.1. The Host
- 13.2. The stack
- 13.3. Summary
- Chapter 14. Conclusion
Explore Flask
Escrito por Robert Picard