Dibi
From Wikipedia, the free encyclopedia
| This article may not meet the general notability guideline or one of the following specific guidelines for inclusion on Wikipedia: Biographies, Books, Companies, Fiction, Music, Neologisms, Numbers, Web content, or several proposals for new guidelines. If you are familiar with the subject matter, please expand or rewrite the article to establish its notability. The best way to address this concern is to reference published, third-party sources about the subject. If notability cannot be established, the article is more likely to be considered for redirection, merge or ultimately deletion, per Wikipedia:Guide to deletion. This article has been tagged since March 2008. |
| This article or section is written like an advertisement. Please help rewrite this article from a neutral point of view. Mark blatant advertising which would require a fundamental rewrite in order to become encyclopedic for speedy deletion, using {{db-spam}}. (March 2008) |
| This article does not cite any references or sources. (March 2008) Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. |
dibi is a small and fast database abstraction library for PHP. It allows developers to write applications in a fairly consistent way regardless of the underlying database storing the information. The advantage is that the database can be changed without re-writing every call to it in the application.
It supports the following databases:
Each database implements SQL slightly differently, the developer will need to be aware of the database-specific features and syntax to avoid if they want to maintain portability. Dibi provides format and literals conversion functions so that you can create values in any format and insert them into your SQL in the correct format for your database.
Some databases support the LIMIT and OFFSET statements. Dibi translates limit and offset to different mechanisms for each database and can emulate limit for databases with no native limit equivalent.
Dibi supports transactions, has SQL logger and profiler, uses PHP 5 language features.

