ADOdb
Original author(s) | John Lim |
---|---|
Stable release | 5.19 / April 30, 2014 |
Written in | PHP, Python |
Type | Database abstraction library |
License | BSD / LGPL |
Website |
sourceforge |
ADOdb is a database abstraction library for PHP and Python based on the same concept as Microsoft's ActiveX Data Objects. It allows developers to write applications in a fairly consistent way regardless of the underlying database system storing the information. The advantage is that the database system can be changed without re-writing every call to it in the application.
Supported Database Systems
ADOdb supports[1][2] the following databases:
- ActiveX Data Objects*
- DB2
- Firebird
- Foxpro
- FrontBase
- Informix
- Interbase
- LDAP
- Microsoft Access
- Microsoft SQL Server
- MySQL
- Netezza
- Oracle
- PostgreSQL
- SAP DB
- SQLite
- Sybase
- Teradata
- Valentina
- generic ODBC and ODBTP
ADOdb uses SQL. Since each database system implements SQL slightly differently, the developer will need to be aware of the database-specific features and functions to avoid if they want to maintain portability. ADOdb provides date conversion functions so that you can create dates in any format and insert them into your SQL in the correct format for your database; which is one step toward database system independent SQL.
A null value, null can be replaced with the ADOdb variable that contains the correct SQL definition for null and the check for null will work in every database.
See also
- ADOdb Lite
- PHP Data Objects
- ADODB_SQL for PHP
- ADOdb4PHP
- ActiveX Data Objects (ADO)
References
- ↑ Supported Databases - Database Abstraction Library for PHP ADOdb Library for PHP Manual
- ↑ Supported Databases - Database Abstraction Library for Python - ADOdb Library for Python Manual
External links
- ADOdb home page
- ADOdb source code - official mirror of the GIT repository on Sourceforge
- comparison of the database abstraction layers, including ADOdb