-->

Tuesday, April 30, 2019

Model View Controller


Model

•Knows about the data that needs to be displayed.
•Knows about the operations that can be applied on the data.

•Does not know how to display the data to the user. 

View

Really just the observer pattern.
•Provides Graphical User Interface components
•Relays user requests
•Uses the query methods
•Displays information

•Maintains consistency



Controller



•Translates interactions with the view into actions.
•Is responsible for mapping end-user action to application response.

No comments:

Post a Comment