xw19 Published on: 2018-11-18
MVC stands for Model View Controller. It is a design pattern and/or methodology used for developing software that requires user interaction it can be desktop software or Web application. MVC has three components Model View and Controller each of these components handle different aspects of the request.
Model: The model is the central component of MVC it deals with the data releated logic. Model takes care of how to store, manage and fetch data.
View: View provides the logic to represent data and UI interface. All the UI compenents such as text, buttons and forms are the part of the view logic.
Controller: Controller provides glue between the Model and View. It is used to communicate the between the Model and view. Contoller recives the incoming request manipulate the data using models and renders the views.
MVC is widely used in Java, C++, .NET, Ruby on Rails, Django etc.