Hi,

Thanks Lukas to post your implementation of the MDB2 package to
RoundCube. to be honest, I did not care about database abstraction
when I started this project but I know understand how important this
is. Fortunately, RoundCube does not include heavy SQL queries and it
could be easy to to change all calls to the DB wrapper in order to
have the database abstraction complete.

David, do you have time to have a look at this topic? I think we could
completely replace the existing rcube_db class and change all
$DB->query calls to use MDB2 directly. Also we should use all
abstraction methods available to compose the query.

I'm currently working on the IMAP caching problem and I think we
should change the DB access of RoundCube now in order to have a solid
code base for future development.

What you think? anybody has time to clean the RoundCube code?

Thanks!
Thomas


2005/10/16, David Saez Padros <[EMAIL PROTECTED]>:
> Hi !!
>
> >>>>> I just made the backend selectable and integrated the MDB2 backend .
>
> as it looks like MDB2 can get rid of almost all problems with
> different syntax in mysql/postgres/sqlite, maybe MDB2 is the way
> to go. Also it would be better to put all sql queries appart from
> the main code, making classes that encapsulate all the db handling
> (add/delete/count/query)
>
> --
> Best regards ...
>
> ----------------------------------------------------------------
>     David Saez Padros                http://www.ols.es
>     On-Line Services 2000 S.L.       e-mail  [EMAIL PROTECTED]
>     Pintor Vayreda 1                 telf    +34 902 50 29 75
>     08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
> ----------------------------------------------------------------
>


Reply via email to