Split out database adapter to class based on type #19

Closed
opened 2014-03-11 22:40:35 +00:00 by jamie · 2 comments
jamie commented 2014-03-11 22:40:35 +00:00 (Migrated from git.hazaar.io)

At the moment all database access is done via Hazaar\Db\Adapter. This needs to change as we are starting to get a few features that are specific to a particular database type. We need to create at least the following.

Hazaar\Db\Adapter\Pgsql
Hazaar\Db\Adapter\Mysql

For now I might leave Hazaar\Db\Adapter as usable (ie: non-abstract) so that it can still be used for other "no to supported" PDO database types.

At the moment all database access is done via Hazaar\Db\Adapter. This needs to change as we are starting to get a few features that are specific to a particular database type. We need to create at least the following. ``` Hazaar\Db\Adapter\Pgsql Hazaar\Db\Adapter\Mysql ``` For now I might leave `Hazaar\Db\Adapter` as usable (ie: non-abstract) so that it can still be used for other "no to supported" PDO database types.
jamie commented 2014-03-25 21:26:30 +00:00 (Migrated from git.hazaar.io)

This is now called DBI for DataBase Interface. The main class used is Hazaar\DBI which uses a driver such as Hazaar\DBI\DBD\Pgsql.

This is now called DBI for DataBase Interface. The main class used is `Hazaar\DBI` which uses a __driver__ such as `Hazaar\DBI\DBD\Pgsql`.
jamie commented 2014-03-31 22:19:56 +00:00 (Migrated from git.hazaar.io)

Status changed to closed

Status changed to closed
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-mvc-old#19
No description provided.