N/APosted on - 11/19/2014
What is Model View Controller (MVC) ? Why is it useful? What are the components of a MVC? Explain how the components of the MVC communicate with each other.Discuss the use of MVC in designing web applications. When would it be a wrong decision to consider MVC as the design pattern choice?
The use of MVC as a design pattern
The MVC or the Model-view-controller is the software architectural outline for applying user interfaces. It splits a given application into 3 interconnected parts for the purpose of separating internal representations of information from the methods that information is offered to or received from the user. The MVC is one of the 3 programming models of ASP.NET and is a framework for developing web applications.
The Model is the component of the application that controls the logic for the application data. Model objects frequently store data and or retrieve data from a database. The View is the component of the application that manages the display of the data. The Controller is the component of the application that manages user interaction.
Normally, controllers read data from a view, manage user input, and then send or transmit the input data to the model.