[Cherokee-commits] [2003] cherokee/trunk/doc:

SVN at cherokee-project.com SVN at cherokee-project.com
Wed Sep 17 12:34:15 CEST 2008


Revision: 2003
          http://svn.cherokee-project.com/changeset/2003
Author:   taher
Date:     2008-09-17 12:34:14 +0200 (Wed, 17 Sep 2008)

Log Message:
-----------


Modified Paths:
--------------
    cherokee/trunk/doc/index.txt

Added Paths:
-----------
    cherokee/trunk/doc/modules_handlers_dbslayer.txt

Modified: cherokee/trunk/doc/index.txt
===================================================================
--- cherokee/trunk/doc/index.txt	2008-09-16 17:16:32 UTC (rev 2002)
+++ cherokee/trunk/doc/index.txt	2008-09-17 10:34:14 UTC (rev 2003)
@@ -114,7 +114,6 @@
 ////////////////////////////////////////////////////
 Remaingin tasks:
 ----------------
-* <3> How to setup authenticated resources <cookbook_authentication.txt>
 * <5> How to manage logs  (make specific mention of usage of
       Cherokee-Tweak and log backers).
 * <6> How to manage security (SSL/TLS, certs, etc) <cookbook_ssl.txt>

Added: cherokee/trunk/doc/modules_handlers_dbslayer.txt
===================================================================
--- cherokee/trunk/doc/modules_handlers_dbslayer.txt	                        (rev 0)
+++ cherokee/trunk/doc/modules_handlers_dbslayer.txt	2008-09-17 10:34:14 UTC (rev 2003)
@@ -0,0 +1,37 @@
+== link:index.html[Index] -> link:modules.html[Modules] -> link:modules_handlers.html[Handlers]
+
+Handler: Data Base bridge
+-------------------------
+
+This handler offers a lightweight database abstraction layer that
+will provide all the benefits of connection pooling. This in turn
+offer scalable advantages for high-load websites.
+
+The original implementation of
+link:http://code.nytimes.com/projects/dbslayer/[DBSlayer] was a MySQL to
+JSON over HTTP bridge that only supported GET requests. This handler
+outperforms any other implementation by far, works with POST requests and
+besides JSON the handler can also process Python, Ruby and PHP.
+
+image::media/images/admin_handler_dbslayer.png[DBSlayer]
+
+It also makes use of a link:modules_balancers.html[balancing strategy]
+to manage at least one link:config_info_sources.html[information
+source]: the MySQL server being bridged.
+
+Parameters
+^^^^^^^^^^
+
+[grid="rows"]
+``~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Parameter                 , Description
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+__user__                  , The MySQL user to authenticate as.
+__password__              , The MySQL user password to use.
+__db__                    , Optional. A MySQL database name.
+__lang__                  , Language from which the information will \
+                            be consumed: json | python | ruby | php
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Note that for this module to be correctly compiled, the MySQL database
+development files are required.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.octality.com/pipermail/cherokee-commits/attachments/20080917/a0d947f1/attachment.htm 


More information about the Cherokee-commits mailing list