banner image
Sedang Dalam Perbaikan

Participants and Responsibilities of MVC:


Participants and Responsibilities of MVC:

The individual’s responsibility of three participants(model, view & controller) is given below
. Model
The model represents the state of the component (i.e. its data and the methods required to manipulate
it) independent of how the component is viewed or rendered…
View;
The view renders the contents of a model and specifies how that data should be presented. There can
be multiple views for the same model within single applications or model may have different views in different
applications or operating systems.
. Controller:
The controller translates interaction with the view into action to be performed by the model. In a web
application, they appear as Get and Post HTTP request. The actions performed by the model include activating
business processes or changing the state of the model. Based on the user interactions and the outcome of the
model actions, the controller responds by selecting an appropriate view.
Participants and Responsibilities of MVC: Participants and Responsibilities of MVC: Reviewed by MCH on April 18, 2014 Rating: 5

No comments:

Powered by Blogger.