Category: Laravel, MySQL

Model View Controller (MVC) is one of the most popular software architecture in web development and is being adopted by major web frameworks like Laravel, Express and Rails. In short, to allow us to write more readable and maintainable code.

If you encountered a bug and you know that the software is using a particular architecture, you will know exactly where to look and hopefully fix that bug ASAP 🐛.

Here are some possible models in our app: In a MVC app, we usually define our model through an ORM (object-relational mapping).

Controllers are commonly used to : We have a lot of controllers to handle different type of HTTP requests.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners