4 ms·
check out Doctrine - http://www.doctrine-project.org/ http://www.doctrine-project.org/ syntas like $peopleNamedJames = Doctrine::getTAble("Person")->findByName
by adatta02 16y ago
check out Doctrine - http://www.doctrine-project.org/ http://www.doctrine-project.org/
syntas like
$peopleNamedJames = Doctrine::getTAble("Person")->findByName("James");
foreach( $peopleNamedJames as $person ){
echo $person->getAge();
}
It's very Hibernate'esqe in some regards also.
- jasonmoo 16y agoYeah I've had a lot of experience with Doctrine. Had to roll my own orm on a previous project due to certain requirements and have been playing with orms since. Doctrine has a lot of nice standards and a good community around it.
- jasonlotito 16y agoI love Doctrine at work. I hate it at home. It's a great standardised system that that has a lot of great features we use, but for simple projects at home, it's far too cumbersome to set up.