buro9
Mon 26th Nov '01, 5:08am
I would like to see future vB become more flexible and offer multiple database options rather than just MySql.
Specifically I think this could be managed by having all SQL and database access conceptually removed from the core script and included into a single PHP file which will act as a Database Abstraction/Access Layer Library (DAL Lib).
This way, if a user wishes to use Oracle, or SQL Server, then the changing of which DAL Lib to use could be swapped in the config file.
It also allows other people to develop more database options, since a single highly commented DAL Lib could be used as the template for the creation of other DAL Lib's for alternate databases.
Having a single file hold all of the SQL, would allow people to hand over their DAL Lib to a DBA with no knowledge of PHP... so that they can model new queries and stored procs without needing a mind shift to get around the PHP.
Anyone doing this?
Cheers
David K
Specifically I think this could be managed by having all SQL and database access conceptually removed from the core script and included into a single PHP file which will act as a Database Abstraction/Access Layer Library (DAL Lib).
This way, if a user wishes to use Oracle, or SQL Server, then the changing of which DAL Lib to use could be swapped in the config file.
It also allows other people to develop more database options, since a single highly commented DAL Lib could be used as the template for the creation of other DAL Lib's for alternate databases.
Having a single file hold all of the SQL, would allow people to hand over their DAL Lib to a DBA with no knowledge of PHP... so that they can model new queries and stored procs without needing a mind shift to get around the PHP.
Anyone doing this?
Cheers
David K