What is the right MVC diagram for a web application?

前端 未结 7 2137
情书的邮戳
情书的邮戳 2021-01-30 02:08

Which MVC diagram is correct? Each have different arrows...

Diagram 1

7条回答
  •  南笙
    南笙 (楼主)
    2021-01-30 02:54

    In fact there's a small difference.

    There are two types of Models: Active model and Passive model: the first one has a notification mechanism and the second one is just unaware of being used in MVC.

    First and fourth diagrams represent MVC with Active Model.

    More about it you can read here.

提交回复
热议问题