Re: Proposal (?) for an ORM (Dorm)
<baptiste.autin <at> free.fr>
2008-07-02 14:35:05 GMT
> especially since DORM is PHP5 only, I think you are better off trying
> out Doctrine  and improve it if there are things you are missing.
> but from the documentation it seems like Doctrine can do all of the
> things that Dorm can. Most notably it also has an implementation of an
> HQL like syntax.
Didn't know Doctrine. It looks similar, and seems more advanced on some points.
I regret the choice of YAML for the schema files, though (in my TODO list,
I was thinking using XSLT to convert UML models (in XMI) directly to Dorm config
And I don't like the way Doctrine deals with the entity classes: you must make
them inherit from Doctrine_record, and set the properties with
So you cannot work with "free and independant objects", making it difficult in
situations where you cannot decide of the structure of the entities.
In Dorm, the PHP objects completely ignore the existence of the database, and
even of Dorm itself. The separation between the database objects and the PHP
objects is more pronounced in Dorm.
But maybe these are minor issues, in a practical perspective, and Doctrine is
I'm going to use it thorough, to make up my mind.
Thanks for the info.
PS: are you personaly a converted, and do you use Doctrine every day ?