Skip to main content

What is MVC?

MVC stands for Model, View, and Controller.It is an architectural pattern popular for developing web applications.

Model is the part that manages the data and logic. Basically, it represents the conceptual segment. View represents the presentation i.e all the html,css or frontend frameworks. Controller update the model. It can also send commands to its associated view to change the view's presentation.

Many frameworks such as Django, Rails, CakePHP uses MVC architecture. Due to its advantages such as structured coding and D R Y(Don't Repeat Yourself) concept.

Comments