Do components have access to models?

Otherwise, I will consider your recommendation and put my delegates in the
model package.

Can I have sub-folders in the models?

Thank you very much for your response.

On Mar 31, 2011 10:05 PM, "Greg Skerman" <[email protected]> wrote:
> 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 <
> [email protected]> 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.
>>
>> Jeremy Burns
>> *Class Outfit*
>> *
>> *
>> [email protected] <[email protected]>
>> http://www.classoutfit.com
>>
>> 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
>> [email protected] 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
>> [email protected] 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
> [email protected] 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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to