mardi 11 septembre 2018

Why does the model directly update the view in the MVC pattern?

I've been learning how to build web applications with Laravel and Vue.js and I understand the part where the user uses the view in order to send requests to the controller which then manipulates the model. I absolutely see that flow in my applications.

What I am not so sure about is why in MVC diagrams like this one: MVC pattern diagram from Wikipedia. The model directly updates the view but in my applications it seems that the Controller is the one that gets the changes from the model and sends that to the view (via HTTP).

Is there something that I don't quite understand?

Aucun commentaire:

Enregistrer un commentaire