2 ms·
The controller is supposed to control the view, thats why it's called controller. The controller sends data to the view for presentation and reacts to events fr
by strictfp 10y ago
The controller is supposed to control the view, thats why it's called controller. The controller sends data to the view for presentation and reacts to events from the view and updates the model accordingly. This way the view becomes quite passive, it only knows how to present data and where to send events. You separate the display from the driving of the display.