📜  为什么我们使用 mvvm 而不是 mvc - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:44.359000             🧑  作者: Mango

代码示例1
Whereas the MVC format is specifically designed to create a separation of concerns between the model and view, the MVVM format with data-binding is designed specifically to allow the view and model to communicate directly with each other. This is why single page applications work very well with ViewModels.