.html csdn 獲取 視圖 viewmodel url title tle htm

淺談MVC、MVP、MVVM架構模式的區別和聯系

學習了:http://www.cnblogs.com/guwei4037/p/5591183.html

http://blog.csdn.net/ttf1993/article/details/49405329

MVC: Model->View->Controller->Model

MVP: View <--> Presenter <--> Model

MVVM: View (ViewController)<--> ViewModel <--> Model ViewController從ViewModel獲取數據,不跟Modle打交道;

使用ViewModel實現視圖與模型的雙向綁定;

技術分享

淺談MVC、MVP、MVVM架構模式的區別和聯系