abstrak:MVC是傳統(tǒng)Model--> View-->Controle .視圖用戶訪問數(shù)據(jù),需要不斷的調(diào)用服務Model端進行數(shù)據(jù)交互MVVM是在客戶端Model ,View,ViewModel,服務器通過api接口xml,text,等數(shù)據(jù)傳遞viewModel,ViewModel交給Model,Model交給view顯示數(shù)據(jù)。效果上,速度快,更加簡潔、更易于理解的API
MVC是傳統(tǒng)Model--> View-->Controle .視圖用戶訪問數(shù)據(jù),需要不斷的調(diào)用服務Model端進行數(shù)據(jù)交互
MVVM是在客戶端Model ,View,ViewModel,服務器通過api接口xml,text,等數(shù)據(jù)傳遞viewModel,ViewModel交給Model,Model交給view顯示數(shù)據(jù)。效果上,速度快,更加簡潔、更易于理解的API
Guru membetulkan:天蓬老師Masa pembetulan:2019-01-08 09:18:08
Rumusan guru:其實, Vue就是一個MVVM, 不是嗎?