Wednesday, July 6, 2011

Re: Retrieving objects from the DB instead of arrays

Hi, I have just read your article and it is an interesting option to use propel in Cake. But what part of cake are you still using with the objects you get from propel? Like Mark said, the behaviors and components and so on are expecting arrays not objects... Where is the benefit that Cake usually provides when using real ORM?
Besides that I have to say that the first part of your "justification" seems strange to me. Cake follows convention over configuration but that does not mean you can't configure. If your table and field names do not fit the convention, then configure the mapping in cake. Table and field names are no problems. How can this be an argument then?
The second part with the composite primary keys sticks. That is something I would really like to use myself with cake.

regards,
jens

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate