Can anyone explain the connections between MVC elements using this picture as an example?
Or correct me:
- Controller → Model is a direct change by the controller of the model data.
- Model → Viev - this model notifies viev of the changes that have occurred in it.
- Viev → Model - this viev takes data from the model.
- Viev → Controller - this viev notifies the controller of the user's actions (the button, for example, pressed).
- Controller → Viev - and this connection, in my opinion, is superfluous and contradicts the MVC principle: "the controller is developed independently of viev, and interacts with it only through the model."