after my controllers grew larger and larger i had the same
notion of not using the framework efficiently.
i tried to keep my controllers thin by making use of inheritance
from app_controller. also consider using components (it's fairly
easy to copy a component and overwrite it with your own methods.)

my models are not doing much more than holding the database
objects, their associations and validation rules, but that's
fair enough i think. anyways i hope to find the time to put certain
repetitive
operations on db values into model callback functions...

some of my controllers have more than 1000 lines of code, but
would you call that "fat" ? it also depends on how many actions
(frontend as well as admin) one invents....

cheers,
jyrgen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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