The correct MVC pattern

I came across the following two approaches.

Method 1

Method 2

As far as I understand, the model and the view do not interact with each other, and all communications must be done through the controllers, so method 1 is the right way. But I came across both approaches to various articles on the Internet.

What is the correct way to implement MVC architecture?

thank

+4
source share
1 answer

I think the first diagram is actually MVP (Leading Representation of the Model). see this question , which ultimately connects here and contains this diagram for a VMP template with a passive look: enter image description here

+1
source

All Articles