tags:

views:

42

answers:

3

Does any one know of a light weight DB abstraction library like the one codeigniter has. I had a look at Pear:MDB but its not what I am looking for.

I am looking for chaining features. For eg:

$this->db->get_where('table_name', 'condition')->row()->'column_name' ;

This makes syntax very compact.

TIA,

NB : I am not at all looking for an ORM as might be inferred from the discussion or otherwise.

A: 

doctrine and propel(http://www.propelorm.org/) are my favorites both competing to be leading orms.

personally I'd prefer propel if you do not need doctrine:migrations(particularly if you don't need to version your database)

still keep in mind u'll need versioning one day, so it might be convenient to start with doctrine.

kali
A: 

One more to the list:

https://open-mv.googlecode.com/svn/trunk/classes/database/

Jon
How many questions you re going to answer today? And how do you think, at which number it will be considered as spam?
Col. Shrapnel