Wednesday, September 22, 2010

Re: Call a method from different controller

Are u serious? GoD! I always did logic in controller and in model only gets/sets and validation data.
wow, I have to go back to the MVC books o.o

On Tue, Sep 21, 2010 at 5:13 PM, Miles J <mileswjohnson@gmail.com> wrote:
No because this is model (business) logic. The controller is only used
to validation specific data and to set data (from the model) to the
view.

On Sep 21, 6:55 am, Poliane Brito <poli.br...@gmail.com> wrote:
> Sorry guys, I'm relative new on CakePHP... but move a certain method to
> model, isn't hurt MVC rules?
> Regards...

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 cake-php@googlegroups.com
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?hl=en

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 cake-php@googlegroups.com
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?hl=en

No comments: