检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘立[1]
机构地区:[1]上海交通大学
出 处:《微型电脑应用》2012年第12期57-60,共4页Microcomputer Applications
摘 要:MVVM模式是自2005年微软WPF和Silverlight架构师John Gossman在其博客中首次提出的,它利用了WPF的XMAL和DataBinding,使软件的架构可以分离成为View、Model和ViewModel 3层,使数据和界面得到很好的分离,达到软件设计中的"高内聚,低耦合"的目标。和传统的MVC模式相比,MVVM是其在WPF中的演化和升级。以一个幼儿早教学校的客户管理系统为实例,对MVVM模式进行分析,讨论了它的整体构架,对其各个层次进行了解析,讲述其特点,论述了它的工作原理,并将其与传统的MVC模式进行对比,分析两者的异同,阐述了MVVM模式的优势和不足。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 evo- lution and upgrade in WPF comparing to the traditional MVC pattern. This paper introduces the MVVM pattern, discusses its archi- tecture, 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模式
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28