MVVM in Depth

这篇开始粗略的介绍了软件开发中松耦合的概念并讲述了使用MVC、MVP和MVVM三种模式达到松耦合。然后分析了这三种模式适用范围,其中:

MVC(Model-View-Controller)适用于web (ASP.NET) forms

MVVM in Depth

图一:MVC architecture

MVP(Model-View-Presenter)适用于WindowsForms

MVVM in Depth

 

图二:MVP architecture

MVVM(Model-View——viewmodel)适用于WPF/Silverlight Applications

MVVM in Depth

 

图三:Detailed MVVM Architecture

三层架构中各个层和他们的关系

MVVM in Depth

图四:3-Layer Architecture along with MVC, MVP and MVVM

你可能感兴趣的:(depth)