WPF and Silverlight MVVM

时间:2016-09-12 07:32:27
【文件属性】:
文件名称:WPF and Silverlight MVVM
文件大小:4.28MB
文件格式:PDF
更新时间:2016-09-12 07:32:27
WPF MVVM 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.

网友评论

  • 内容很详细,可以关于mvvm模型好好了解一番
  • 很不错,值得学习
  • 我这边打不开这个pdf
  • 学习中,讲得不错