Code For NonGeek
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What is the MVC model

Go down

What is the MVC model Empty What is the MVC model

Post  skyboard Mon Oct 03, 2011 7:18 pm

The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller). In event-driven systems, the model notifies observers (usually views) when the information changes so that they can react.
The view renders the model into a form suitable for interaction, typically a user interface element. Multiple views can exist for a single model for different purposes. A viewport typically has a one to one correspondence with a display surface and knows how to render to it.
The controller receives user input and initiates a response by making calls on model objects. A controller accepts input from the user and instructs the model and a viewport to perform actions based on that input.

skyboard

Posts : 31
Join date : 2011-09-03

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum