Thursday, March 31, 2011

Re: Delegates

appmodel and appcontroller would also allow you to have methods that are available to everything would it not?


On Fri, Apr 1, 2011 at 1:15 PM, Jeremy Burns | Class Outfit <jeremyburns@classoutfit.com> wrote:
Hmmmm. The model is your business layer really, but if you need something else you could use a component (http://book.cakephp.org/view/993/Components) simply because they can be made available to many controllers.

On 31 Mar 2011, at 20:29, anasmughal wrote:

With CakePHP, I wish to have a delegate layer between my models and
controllers.

The delegate would handle business logic for my application. I want
this logic to be available to many controllers.

Could someone kindly guide me on what is the best practice for that.
Thanks.

-- 
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

--
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

--
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

No comments: