paperlined.org
apps
>
catalyst
document updated 13 years ago, on Mar 8, 2011
I
think
I understand MVC, but I don't have experience implementing it.
model ⇔ controller — skinny versus fat
does business logic go in the controller or the model?
there is no rulebook that it HAS to go in one versus the other
application-specific code goes in the controller, application-independent code goes in the model
web-specific stuff goes in controller, non-web-specific stuff goes in model
places that advocate for "fat model, skinny controller" (ie. business logic in the model)
one of the original contributors to MVC
Catalyst best practice
Zend
[0]
[1]
[2]
[3]
[4]
[5]
[6]
places that advocate for "fat controller, skinny model" (ie. business logic in the controller)
...
broader reading
background knowledge