Ok, so I moved away from fat controllers. That's actually better. But now I have a fat model that I would like to split for better readability and easier maintenance. What is the recommended route ?
example from a current script :
1. initiate $ctrl
2. initiate $dbmodel
- $ctrl->parser class , parsing data (using $element objects). All db calls are made to global $dbmodel
- $ctrl->matchmaker class, matching content with targets. All db calls are made idem
- $ctrl->mailer class, idem.
The $dbmodel is now way bigger than I like. Is there a proper/recommended way to split