Model View Controller (MVC) Question:

What is Model View Controller (MVC)?

Tweet Share WhatsApp

Answer:

Model–View–Controller (MVC) is a design pattern in which "the user input, the modeling of the external world, and the visual feedback to the user are explicitly separated and handled by three types of object." The model consists of data and business rules, and the controller mediates the communication between the model and the user. A view can be any visual element such as a printout or a web page. Multiple views of the same data are possible, such as a pie chart for management and a spreadsheet for accountants.

Download MVC PDF Read All 48 MVC Questions
Previous QuestionNext Question
What are sections?What is best way to get a reference to the viewport from anywhere in the code?