PHP's database accesses are done using PEAR : : DB, a handy database abstraction layer that allows the same database-access code to be used regardless of what database is implemented. PHP的数据库访问是使用PEAR::DB完成的,这是一个方便的数据库抽象层,不管数据库是如何实现的,它都可以使用相同的数据库访问代码。
I 'll also assume that you're conversant with the basic principles of application development with the Zend Framework, understand the interaction between actions and controllers, and are familiar with the Zend_Db database abstraction layer. 我还将假定您熟悉使用ZendFramework进行应用开发的基本原则,理解行为与控制器之间的交互,并熟悉ZendDb数据库抽象层。
Additionally, the functions created in the database abstraction layer can be reused for many other model functions that need access to the database. 此外,在创建数据库抽象层的功能,可重复使用许多其他模型功能,需要对数据库的访问。
Embeddable databases are also important for rapid application development, especially if used with a database abstraction layer, such as PEAR : : DB or ezSQL. 嵌入式数据库对于加快应用程序开发也很重要,尤其是在用于数据库抽象层(例如PEAR::DB或ezSQL)时。