summaryrefslogtreecommitdiffstats
path: root/docs/manual/new_features_2_2.html.en
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2005-09-23 12:56:07 +0200
committerNick Kew <niq@apache.org>2005-09-23 12:56:07 +0200
commit7f9e4fa4f95bf1f926fd690fd5c1329c48aafe09 (patch)
tree73be306dd8b53d8bf4e6eb9c7b05314318cba719 /docs/manual/new_features_2_2.html.en
parentImplement a (bounded) buffer of request body data to provide a limited (diff)
downloadapache2-7f9e4fa4f95bf1f926fd690fd5c1329c48aafe09.tar.xz
apache2-7f9e4fa4f95bf1f926fd690fd5c1329c48aafe09.zip
Add note on DBD APIs to Module Developer Changes in new_features.
Update cast in mod_dbd.c as suggested by jorton. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291100 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/new_features_2_2.html.en')
-rw-r--r--docs/manual/new_features_2_2.html.en16
1 files changed, 15 insertions, 1 deletions
diff --git a/docs/manual/new_features_2_2.html.en b/docs/manual/new_features_2_2.html.en
index a1c60e7427..54735d5a27 100644
--- a/docs/manual/new_features_2_2.html.en
+++ b/docs/manual/new_features_2_2.html.en
@@ -192,6 +192,20 @@
<code>regexec</code> and so on can be replaced by calls to
<code>ap_regcomp</code>, <code>ap_regcomp</code>.</dd>
+ <dt>DBD Framework (SQL Database API)</dt>
+
+ <dd><p>With Apache 1.x and 2.0, modules requiring an SQL backend
+ had to take responsibility for managing it themselves. Apart
+ from reinventing the wheel, this can be very inefficient, for
+ example when several modules each maintain their own connections.</p>
+ <p>Apache 2.1 and up provides the <code>ap_dbd</code> API for
+ managing database connections (including optimised strategies
+ for threaded and unthreaded MPMs), while APR 1.2 and up provides
+ the <code>apr_dbd</code> API for interacting with the database.</p>
+ <p>New modules SHOULD now use these APIs for all SQL database
+ operations. Existing applications SHOULD be upgraded to use it
+ where feasible, either transparently or as a recommended option
+ to their users.</p></dd>
</dl>
</div></div>
<div class="bottomlang">
@@ -201,4 +215,4 @@
</div><div id="footer">
<p class="apache">Copyright 1995-2005 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p></div>
-</body></html> \ No newline at end of file
+</body></html>