2009年6月13日星期六

[fw-db] A Zend_Db Adapter for ext/mysql (mysql_*)

Hello everyone,

I have a project that i slowly want to migrate to Zend Framework. This project
uses ext/mysql all over the place and therefore requires an adapter of this
type to keep the number of database connections small. I wrote this adapter
using soley mysql_* functions, which emulates prepared statements and works
exactly like any other Zend_Db adapter, even works with Zend_Db_Table.

Its passing all unittests of the Zend_Db test suite so should be pretty
stable.

If anyone needs this, i put it up on GitHub:
http://github.com/beberlei/Zend_Db-Adapter-for-ext-mysql/tree/master
--
Benjamin Eberlei
http://www.beberlei.de

没有评论: