flask/docs/patterns/index.rst

41 lines
961 B
ReStructuredText
Raw Normal View History

2010-04-18 19:35:40 +08:00
Patterns for Flask
==================
Certain features and interactions are common enough that you will find
them in most web applications. For example, many applications use a
relational database and user authentication. They will open a database
connection at the beginning of the request and get the information for
the logged in user. At the end of the request, the database connection
is closed.
2010-04-18 19:35:40 +08:00
These types of patterns may be a bit outside the scope of Flask itself,
but Flask makes it easy to implement them. Some common patterns are
collected in the following pages.
2010-04-18 19:35:40 +08:00
.. toctree::
:maxdepth: 2
packages
2010-05-27 23:55:57 +08:00
appfactories
2011-03-15 02:19:12 +08:00
appdispatch
urlprocessors
2010-04-18 19:35:40 +08:00
sqlite3
sqlalchemy
2010-04-25 02:36:06 +08:00
fileuploads
2010-04-26 00:55:01 +08:00
caching
viewdecorators
2010-04-19 08:22:59 +08:00
wtforms
2010-04-18 19:35:40 +08:00
templateinheritance
flashing
2022-06-12 04:44:46 +08:00
javascript
lazyloading
mongoengine
favicon
2011-07-28 04:34:18 +08:00
streaming
2011-09-18 18:50:56 +08:00
deferredcallbacks
methodoverrides
requestchecksum
2013-01-27 08:38:25 +08:00
celery
subclassing
2018-11-14 05:41:48 +08:00
singlepageapplications