
•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.
Laravel, PHP, React, DevOps and cloud infrastructure — what I learn shipping and running production systems.

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.