Why not just use the built in find() methods, which are a lot more
convenient and easier to write?

On Jan 13, 6:43 am, AD7six <[email protected]> wrote:
> On Jan 13, 7:37 am, "Gopinath T.M" <[email protected]> wrote:
>
> > But some time in my project i use to write like this type of code in
> > controller......
>
> > $this->ModelName->query();
>
> > Whether this is good habit or i have to avoid this.....
>
> > if i am using this type of code in my most of the controller...is it any
> > problem on achitecture and coding standards
>
> well, it makes using cake a bit pointless, and is a mochery of the MVC
> pattern - how much of a problem is that to you?
>
> AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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