On Wed, Aug 13, 2008 at 3:32 PM, maxarbos <[EMAIL PROTECTED]> wrote:
>
> any Best Practices suggestions?
>
>
>
> maxarbos wrote:
>>
>> hello,
>>
>> I am trying to figure out the best practice for a situation where there
>> will be different modules, controlled by ACL where certain portions of it
>> will be very similar from module to module.
>>
>> ex:
>>
>> site.com/admin
>> site.com/user
>>
>> both of these modules will have functionality to edit the users name and
>> address.
>>
>> site.com/admin/person/contact/edit
>> site.com/user/person/contact/edit
>>
>> Should I move all the processing code to the Person model and thin out the
>> controllers?

I follow the "fat model, skinny controller" concept. So I guess that
means "yes", however, I try to be careful about creating dependencies
from module a to module b. I'd rather use the libraries and write
model wrappers for them.

Till

Reply via email to