You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
.. _patterns:
|
|
|
|
|
|
|
|
Patterns for Flask
|
|
|
|
==================
|
|
|
|
|
|
|
|
Certain things are common enough that the changes are high you will find
|
|
|
|
them in most web applications. For example quite a lot of applications
|
|
|
|
are using relational databases and user authentication. In that case,
|
|
|
|
changes are they will open a database connection at the beginning of the
|
|
|
|
request and get the information of the currently logged in user. At the
|
|
|
|
end of the request, the database connection is closed again.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
packages
|
|
|
|
sqlite3
|
|
|
|
sqlalchemy
|
|
|
|
fileuploads
|
|
|
|
caching
|
|
|
|
viewdecorators
|
|
|
|
wtforms
|
|
|
|
templateinheritance
|
|
|
|
flashing
|
|
|
|
jquery
|