Pro WPF and Silverlight MVVM
Pro WPF Silverlight MVVM 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 2 introduces the foundation of the MVVM pattern: the databinding model that eclipses the equivalent functionality of Windows Forms or ASP.NET. Chapter 3 explains why the model and the view must be separated in an application and provides various tips and tricks that can help achieve a strict separation of concerns. Chapter 4 introduces the ViewModel that sits between the model and view layers and mediates between the two. Chapter 5 discusses commands and events, weighing up the pros and cons of each. Chapter 6 examines various options for implementing validation into an application. Chapter 7 explores the best side effects of the separation of concerns achieved through MVVM: testability and unit testing. Chapter 8 outlines how to implement a Data Access Layer into a Silverlight or WPF application and how the ViewModel can interact with this layer. Chapter 9 explains how to serialize an object graph using WPF and MVVM, as well as exploring how WPF and Silverlight applications can be extended. Chapter 10 ends the book with a sample application that ties together many of the features covered along the way.
剩余272页未读,继续阅读
- htcnj2012-08-05内容很丰富,经典!
- hlx-0012014-03-21例子很好 包含了wpf和silverlight 学习了
- 粉丝: 0
- 资源: 23
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助