[Phplogcon-dev] Database abstraction layer for phpLogCon

Michael Meckelein mmeckelein at hq.adiscon.com
Tue Dec 6 17:05:28 CET 2005


Hi,

I will discuss each topic in a separate email on the list. I think it is
easier for tracking.

One of the most desired items for phpLogCon is a database abstraction
layer. We have already implemented our own db abstraction layer, but it
is more or less an 'it does, but it not perfect' one (also it only
supports mysql, mssql and access). 

We had often trouble to get all supported database working. Therefore we
have considered to use a third party db abstraction layer like pear:db
[1] or adodb for phpLogCon.

Brian, as you mentioned, the session handler only works with mysql. If
we want support other db we have to write a wrapper. Maybe it is a good
time to implement the third party stuff now in order to get rid of all
the trouble with different db.

Brian, how does it sound? Maybe you have already experience with db:pear
or adodb? I have already tested both in smaller projects. I personally
prefer db:pear, but both are powerful and easy to use.

[1] pear::db 
http://pear.php.net/package/DB
[2] ADOdb
http://adodb.sourceforge.net/

Best Regards,
Michael



More information about the Phplogcon-dev mailing list