> > Still thinks that executing queries is needed?
>
> Yes. Sometimes You have uncommon database design, and You can't
> EFFECTIVELY receive data just by using standard, even magic, model

Definetly correct, my sentence wasn't much happy. I meant for the
cases he presented.
Anyway, keep in mind that you should - as a good design principle -
encapsulate hand made sql queries in Model methods,
so you'll avoid having data fetching logic in your Controller. And
take a good look at the built-in query structure, it covers lots of
usages
I got pretty complex queries for data reporting and they're all using
cake's query structure.

rafaelbandeira3
http://rafaelbandeira3.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to