| 注册
首页|期刊导航|微型电脑应用|MVVM模式分析与应用

MVVM模式分析与应用

刘立

微型电脑应用2012,Vol.28Issue(12):57-60,4.
微型电脑应用2012,Vol.28Issue(12):57-60,4.

MVVM模式分析与应用

Analysis and Application of MVVM Pattern

刘立1

作者信息

  • 1. 上海交通大学,上海,200240
  • 折叠

摘要

Abstract

MVVM pattern is first proposed by John Gossman, architect of WPF and Silverlight in Microsoft, in his blog in 2005. It divides the software architecture into three levels, View, Model and ViewModel, with the XAML and DataBinding in WPF. This makes the Data and GUI well separated, and achieves the goal of "highly cohesive and low coupling" . MVVM pattern is the evolution and upgrade in WPF comparing to the traditional MVC pattern. This paper introduces the MVVM pattern, discusses its architecture, analyses its layers, talks about its features, discourses its working principle via a custom relationship management system in an early education school, compares the differences and similarities to the classic MVC pattern, and describes the advantages and disadvantages of MVVM pattern.

关键词

MVVM模式/WPF/数据绑定/XAML/MVC模式

Key words

MVVM Pattern/ WPF/ Data Binding/ XAML/ MVC Pattern

分类

信息技术与安全科学

引用本文复制引用

刘立..MVVM模式分析与应用[J].微型电脑应用,2012,28(12):57-60,4.

微型电脑应用

OACSTPCD

1007-757X

访问量0
|
下载量0
段落导航相关论文