MVC (MODEL VIEW CONTROLLER)

Posted by

MVC stands for Model–view–controller.

The MVC is an architectural pattern model that seprates an applications into three logical components.(Model , View, Controller)

MVC was first introduce in year (1987) in the small talk programing language.

MODEL

The Model is responsible for getting data from a database, packaging it in data objects that can be understood by other components and delivering those objects.

VIEW

It represents how data should be presented to the application user ,user can read or write the data from view.

CONTROLLER

The user can send request by interacting with view ,the controller handels these request and sends to model than get appropriate response from the model sends respones to view.

Advantages of MVC

.Organized Code

.Independent Block

.Easy to maintained

.Reduces the complexity of web applications

Thanku