DAL is a database abstraction layer written entirely in PHP.
It's goal is to provide a general and consistent way for accessing a database from within a php page/script.
DAL has some general methods that can be used to access the database from within php code. The implementation details (like how to connect to the database) are taken care of by drivers which extend DAL.
There are 2 versions of DAL. The stable version, which contains less features but is stable and can be used within production enviroments. And the development version, which contains all the latest features but also unkown bugs, glitches and so on.
Features of the stable version
At the moment the stable version contains the following features:
- 3 drivers to connect to a database server (mySQL, postgreSQL and msql)
- Custom error handling
- One way to execute queries and fetch results
- Automagicly fetching of the last inserted record.
- Multiple configurations
- Transaction support (not supported by all drivers)
- Fake transactions
- Record seeking