top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is MVC and How does it Work?

0 votes
295 views
What is MVC and How does it Work?
posted Jul 16, 2014 by Amanpreet Kaur

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

MVC stands for Model-View-Controller.Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user.

A controller can send commands to the model to update the model's state (e.g., editing a document). It can also send commands to its associated view to change the view's presentation of the model (e.g., by scrolling through a document).
A model notifies its associated views and controllers when there has been a change in its state. This notification allows the views to produce updated output, and the controllers to change the available set of commands.
A view requests information from the model that it uses to generate an output representation to the user.

answer Jul 17, 2014 by Karamjeet Singh
...