flask/docs/patterns/index.rst

37 lines
876 B
ReStructuredText
Raw Normal View History

2010-04-18 19:35:40 +08:00
.. _patterns:
Patterns for Flask
==================
Certain things are common enough that the chances are high you will find
2010-04-18 19:35:40 +08:00
them in most web applications. For example quite a lot of applications
are using relational databases and user authentication. In that case,
chances are they will open a database connection at the beginning of the
2010-04-18 19:35:40 +08:00
request and get the information of the currently logged in user. At the
end of the request, the database connection is closed again.
There are more user contributed snippets and patterns in the `Flask
Snippet Archives <http://flask.pocoo.org/snippets/>`_.
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
distribute
fabric
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
jquery
errorpages
lazyloading
mongokit
favicon