
•4 min read
Fat Models, Skinny Controllers
A controller translates an HTTP request into a response — nothing more. Here is why query and business logic belongs on the model, and where the rule stops applying.
10 posts tagged Laravel.

A controller translates an HTTP request into a response — nothing more. Here is why query and business logic belongs on the model, and where the rule stops applying.