MVC is the most common type of Architectural pattern that PHP developers encounter. Fundamentally, MVC is an Architectural pattern for implementing user interfaces.
It largely works around the following methodology:
Model: This supplies the data to the application, whether it's from a MySQL database or any other data store.
Controller: A Controller is essentially where the business logic is. The Controller handles whatever queries the View provides, using the Model to assist it in this behavior.
View: The actual content that is supplied to the end-user. This commonly is an HTML template.
Business logic for one interaction isn't strictly separated from another interaction. There is no formal separation between the different classes of an application.
It is critical to consider that the MVC pattern is principally a UI pattern, so it doesn't scale well throughout an application. That said, the rendering of UIs is increasingly being done via JavaScript applications,...