Database libraries

Table of Contents

A thin DBAL wrapper

We use a “thin” layer (epDb) of database abstraction in EZPDO that wraps database libraries. This layer provides a unified interface for EZPDO to interact with different database abstraction libraries (DBAL), such as ADODb and PEAR::DB. (By “thin”, we mean we strive to reduce the overhead it introduces.)

Supported libraries

For now, EZPDO supports ADODb and PEAR DB. So this is equal to say EZPDO supports any databases supported by these libraries. Credits are due to the hardworking authors and contributors to these libraries.

Planned to support

EZPDO is planned to use the built-in PDO API introduced in PHP5 when it becomes mature. [Update: PDO has now been supported (beta).]

Benchmarking

In the near future we also want to provide an easy benchmarking tool which you can run to get performance comparisons so you can make an informed choice when it comes to selecting which database libraries to use1).

1) Our preliminary benchmarking shows that current EZPDO implementation seems to works faster with ADODb than PEAR DB. This seems to coincide with the benchmarking results by John Lim, the author of ADODb. But this is by no means a final call as DBALs and our code are contantly improving.

One user comment

  1. Test on February 24th, 2007:

    Test

Post your comments

XHTML: tags you can use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Couldn't find your convert utility. Check that you have ImageMagick installed.