Introduction This book was conceived from a need to explain the MVVM pattern and how it helps structure WPF and Silverlight applications. I had worked on a number of projects where these technologies were used but general best practices were ignored because no one had formally explained the MVVM pattern and how it compared to other patterns such MVP and MVC. In Chapter 1, WPF and Silverlight will be explored in some detail and their respective features highlighted. Chapter 2introduces the foundation of the MVVM pattern: the databinding model that eclipses the equivalent functionality of Windows Forms or ASP.NET. Chapter 3explains why the model and the view must beseparated in an application and provides various tips and tricks that can help achieve a strict separation of concerns. Chapter 4introduces the ViewModel that sits between the model and view layers and mediates between the two. Chapter 5discusses commands and events, weighing up the pros and cons of each. Chapter 6examines various options for implementing validation into an application. Chapter 7explores the best side effects of the separation of concerns achieved through MVVM: testability and unit testing. Chapter 8outlines how to implement a Data Access Layer into a Silverlight or WPF application and how the ViewModel can interact with this layer. Chapter 9explains how to serialize an object graph using WPF and MVVM, as well as exploring how WPF and Silverlight applications can be extended. Chapter 10ends the book with a sample application thatties together many of the features covered along the way.


























剩余272页未读,继续阅读

- 熊熊爹地2014-03-24学习中,讲得不错
- samizk2014-07-17很不错,值得学习
- cally19862014-11-10内容很详细,可以关于mvvm模型好好了解一番
- Allyiyan2014-05-14我这边打不开这个pdf

- 粉丝: 0
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- Nkmhe-市场营销学工商管理-电子商务-酒店-旅游管理专业.doc
- 应用区块链化电子档案管理模式解决医师进修过程中存在的问题.docx
- 教学管理系统设计与实现软件技术.doc
- 互联网企业全面预算管理存在的问题及策略.docx
- 互联网+背景下大学英语教学策略探析.docx
- 智能路灯网让智慧城市大开眼界.docx
- SQL图书馆管理信息完整.doc
- 对互联网+在智慧城市管理中运用的几点思索.docx
- AutoCAD2010机械制图基础教程第5章-绘制复杂平面图形的方法及技巧.ppt
- plc课程设计方案运料小车设计方案.doc
- PLC控制的自动售货机设计.doc
- 程序框图与算法的基本逻辑结构3.ppt
- 大学计算机应用基础的教学大纲与教学方式探析.docx
- 密钥技术在企业计算机安全中的应用.docx
- 计算机网络技术教案1-4资料.doc
- 《数控机床编程及应用》四川机电教案.doc


