DEV Community

Discussion on: When PHP Framework Sucks Series: Business logic free Controllers

Collapse
 
albertc44 profile image
Al Chen

To Grzegorz's point, people's interpretation of "business logic" could affect whether mission critical logic is stored in the controller vs. a class. When you're trying to build something quick and dirty, it was just easier to stuff all the logic into the controller. At some point when your controllers get out of hand, a re-factor becomes inevitable.