Lecture 3

The MVC Architecture

alt text

The MVC pattern is a specialized form of 3-layer architecture, making it highly relevant to modern web development practices

Components of MVC

Model–view–controller (MVC) - a software architectural pattern, that separates an application's data, user interface, and control flow into three components:

alt text

Benefits of MVC

By separating the application into three components, developers can focus on one aspect without affecting others.

Different developers can work on the Model, View, and Controller simultaneously.

Changes to the business logic or user interface can be made with minimal impact on the other components.

Components can be reused across different parts of the application or in different applications.

Convention vs Configuration

Convention vs. Configuration is a design philosophy that:

Codeigniter