1Patterns for Flask 2================== 3 4Certain features and interactions are common enough that you will find 5them in most web applications. For example, many applications use a 6relational database and user authentication. They will open a database 7connection at the beginning of the request and get the information for 8the logged in user. At the end of the request, the database connection 9is closed. 10 11These types of patterns may be a bit outside the scope of Flask itself, 12but Flask makes it easy to implement them. Some common patterns are 13collected in the following pages. 14 15.. toctree:: 16 :maxdepth: 2 17 18 packages 19 appfactories 20 appdispatch 21 urlprocessors 22 distribute 23 fabric 24 sqlite3 25 sqlalchemy 26 fileuploads 27 caching 28 viewdecorators 29 wtforms 30 templateinheritance 31 flashing 32 jquery 33 lazyloading 34 mongoengine 35 favicon 36 streaming 37 deferredcallbacks 38 methodoverrides 39 requestchecksum 40 celery 41 subclassing 42 singlepageapplications 43