summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawouach <sh@defuze.org>2014-05-12 21:11:23 +0200
committerLawouach <sh@defuze.org>2014-05-12 21:11:23 +0200
commitb06932fba2050d79c4917cd16d65bb625b458c78 (patch)
tree4791e3d5554daff3619941d3a6057e70fcca1e06
parentd1a05aefd0959f464cbfc79ff613c4d09a02b571 (diff)
downloadcherrypy-b06932fba2050d79c4917cd16d65bb625b458c78.tar.gz
simple database overview section
-rw-r--r--sphinx/source/advanced.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/sphinx/source/advanced.rst b/sphinx/source/advanced.rst
index 042f2669..97c6e9c2 100644
--- a/sphinx/source/advanced.rst
+++ b/sphinx/source/advanced.rst
@@ -323,3 +323,16 @@ CherryPy itself does not support WebSocket, but the feature
is provided by an external library called
`ws4py <https://github.com/Lawouach/WebSocket-for-Python>`_.
+Database support
+################
+
+CherryPy does not bundle any database access but its architecture
+makes it easy to integrate common database interfaces such as
+the DB-API specified in :pep:`249`. Alternatively, you can also
+use an `ORM <en.wikipedia.org/wiki/Object-relational_mapping>`_
+such as `SQLAlchemy <http://sqlalchemy.readthedocs.org>`_
+or `SQLObject <https://pypi.python.org/pypi/SQLObject/>`_.
+
+You will find `here <https://bitbucket.org/Lawouach/cherrypy-recipes/src/tip/web/database/sql_alchemy/>`_
+a recipe on how integrating SQLAlchemy using a mix of
+:ref:`plugins <busplugins>` and :ref:`tools <tools>`.