Is ASP.NET MVC an erroneous implementation of the MVC architect pattern?

429 views Asked by At

Background: I have been thinking about this for quite some time and I haven´t found any good answer to it. After working for some time with WebForms and periodically with MVC 2,3 and 4 I still do not understand how ASP.NET MVC can claim to be an implementation of the MVC pattern.

One of the first thing I learned about MVC (pattern) is that it is cyclic - meaning that the View uses the Controller which updates the Model which updates the View - and this way it goes, round and round. Naturally with the User in the circle to input new instructions/data etc.

However, the ASP.NET MVC is not really a cyclic implementation, which is nicely demonstrated in the colored image below from W3CSchools. I have also seen this in practice where the View has an instance of a Model and the Model is updated from the Controller but where the Controller is also responsible for updating the View after the Model has been updated.

Question: Is the ASP.NET MVC erroneously implemented by conscious and should it be seen only as a proprietary interpretation or have I misunderstood the rules of the MVC pattern?

ASP.NET MVC MVC Architectural pattern

1

There are 1 answers

9
matthijsb On

The (Database) Model does not update the view, the controller updates the view while passing the View Model if you use separate view models (which you should)