在PHP的网站及众多书籍中,很少讲到数据库抽象层,有的PHP开发者虽然已做了几年开发工作,但似乎也没有意识到它的存在。很多人并不理解数据抽象的重要性,也不了解mysql或mysqli扩展与PDO的区别,PDO与ADODB又有什么区别。在本章中将讲述以下内容,通过学习,上面的问题都会迎刃而解。
使用SQLite和数据库抽象层。
Drupal是在数据库抽象层上编写的,所以框架可以轻松地扩展到其他数据库后端。
Drupal is written on top of a database abstraction layer, so the framework can be easily extended to other database back ends.
如前面所说,文章的焦点是介绍使得MDB与其他PHP数据库抽象层不同的那些特性。
As stated earlier, the focus of the article is to introduce the features that set MDB apart from other database abstraction layers for PHP.
应用推荐