code Repository pattern I spoke about the fat models, skinny controllers pattern, but what I failed to explain is what is the model. For example, in Laravel, you have model classes which define
design pattern Fat model, skinny controller I learned a new design pattern today, fat model, skinny controller. The goal is to put all database related logic inside the model. This greatly improve code reuse. When you