[UPHPU] ORM
John David Anderson
uphpu at johndavidanderson.net
Fri Nov 17 16:41:08 MST 2006
On Nov 17, 2006, at 4:20 PM, Alvaro Carrasco wrote:
> John David Anderson wrote:
>> The other thing I detest is XML configuration. If I ever have to
>> define my tables, I think that's retarded. It only adds to the
>> maintenance level for the app.
> Yeah... not everybody likes xml configuration.
>
> I personally have never had to create a propel configuration from
> scratch, i use the provided tools that will generate it from an
> existing schema, and will also grab any foreign key constraints
> defined on the database, and use them to create relationships in
> the objects.
Yeah, but every time there is a schema change, you need to regenerate
the XML, right? That's what I'm talking about when I say that things
like this add to the maintenance of an application.
> Propel is very flexible and works well with other code. I currently
> use it on my own framework, and it is also used by the Symfony
> framework.
> It is also more of a Data Mapper than an Active Record... so, more
> flexible but little more complex to set up.
That, and you lose all the free functionality of active record type
classes. :) I think you can chalk this one up to "to each his own"
though.
-- John
More information about the UPHPU
mailing list