tags:

views:

281

answers:

2

At first I was going to use doctrine ORM as the main one but it was an overkill, unneeded features and probably excessive calls. One of the main reasons was the "helper" that handled traverse trees (the hierarchy tree) easily but I'm starting to prefer building my own class.

This is what I'm looking for:

1) Can manage multiple database connections, (sort of like doctrine manager)
2) Models
3) flexible

All suggestions are welcome

+3  A: 

Try : http://www.redbeanphp.com/

Undefined
A: 

phpDataMapper can handle master/slave adapters as well as multiple different connections of different types. You just pass your adapter to the Mapper upon instantiation:

$postMapper = new PostMapper($adapter);
$postMapper = new PostMapper($masterAdapter, $slaveAdapter);

http://phpdatamapper.com/documentation/getting-started/

Vance Lucas