The Database Abstration Layer

BitOwl Application Suit provides a database abstraction layer in order to make interacting with various database types transparent. Be it SQL or otherwise.

The DBAL works with associative arrays to represent rows in a database.

BitOwl_Database Object

BitOwl_Database is an abstract class to all DBAL interfaces. It serves as an API for the DBAL.

Pagination

The pagination class helps with displaying results in pages. The class is generic so it may be used for paginating other data as well.

The Standard Tables

The following is the MySQL code to create the needed tables for BOAS. Keep in mind that certain properties are not needed. For example the defaults are not important. Anything that forces a column to be unique is also not needed.