📅  最后修改于: 2021-01-02 13:01:13             🧑  作者: Mango
MVP (Model View Presenter) | MVC (Model View Controller) |
---|---|
It is advance form of MVC | It is the basic method to separate project structure. |
In this View handles user gesture and call presenter. | In this controller handles user gesture and commands model. |
View is dumb i.e. all interaction goes through Presenter. | In this view has some intelligence. It can query the model directly. |
It highly supports unit testing. | It provides limited support to unit testing. |
It has high degree of loose coupling. | It has fairly loose coupling. |
In this presenter will update its associated view. | It identifies which view to update. |