您的位置:首页 > 其它

MVC description

2015-08-16 15:49 281 查看
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 stores data that is retrieved to the controller and displayed in the view. Whenever there is a change to the data it is updated by the controller.

A view requests information from the controller. The controller fetches it from the model and passes it to the view that the view uses to generate an output representation to the user.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: