The controller is a part of the application that handles user interaction. The controller interpret the mouse and keyboard inputs from the user, the model notification, and the view to change as appropriate.<br><br>The controller sends the model commands to the model to update its status (for example, saving a specific document). The controller also sends commands to its linked view to change the presentation of the view (for example, scrolling a specific document).
đang được dịch, vui lòng đợi..
