Skip to end of metadata
Go to start of metadata

<h2>PDO</h2>

<p>The Zend_Db_Adapter_Pdo adapters are the preferred method of connecting to most databases. Currently the adapters include Microsoft SQL Server, MySQL, Oracle, PostgreSQL, and SQLite. PDO itself has been judged stable since 2005 and is enabled by default in PHP since version 5.1. In addition, it features superior performance over the standard MySQL and MySQLi interfaces because it essentially uses temporary stored procedures. This also results in greater security (no quoting of bound parameters is required).</p>

<p><strong>External resources</strong></p>

<ul>
<li><a href="http://www.php.net/pdo">Official PHP PDO documentation</a></li>
<li><a href="http://pecl.php.net/package/PDO">PDO homepage</a> - Includes the PDO source code</li>
<li><a href="http://www.oracle.com/technology/pub/articles/php_experts/otn_pdo_oracle5.html">PDO Primer</a> - A primer written for PHP 5.0, but still worth reading</li>
<li><a href="http://oss.backendmedia.com/PDO/FAQ">Frequently asked questions concerning PDO</a></li>
</ul>

<h2>DB2</h2>

<p>The DB2 Zend_Db adapter was contributed in version 0.1.4 and is stable. It uses IBM's own ibm_db2 driver (not the PDO driver) for database access.</p>

<p>The <a href="http://www.zend.com/products/zend_core/zend_core_for_ibm">Zend Core for IBM</a> package contains the latest ibm_db2 driver and optionally DB2 Express-C, a free version of DB2.</p>

<h2>Oracle</h2>

<p>Zend_Db_Adapter_Oracle uses PHP's Oracle functions, which require the Oracle client libraries to be installed.</p>

<p><strong>External resources</strong></p>

<ul>
<li><a href="http://www.php.net/oci">Official PHP Oracle documentation</a></li>
</ul>

<h2>MySQLi</h2>

<p>The Zend_Db_Adpater_Mysqli adapter is not yet complete, and is intended only for those who are unable to use a version of PHP with the PDO extension (enabled by default since version 5.1). Note that Zend Framework requires 5.1.4 at the time of this writing.</p>

<p><strong>External resources</strong></p>

<ul>
<li><a href="http://www.php.net/mysqli">Official PHP MySQLi documentation</a></li>
</ul>

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.