企业级架构 MVVM 模式指南 (WPF 和 Silverlight 实现) 译(2)

本书包含的章节内容

第一章:表现模式,以一个例子呈献给读者表现模式的发展历程,我们会用包括MVC和MVP在内的各种方式实现一个收费项目的例子。沿此方向,我们会发现每一种模式的问题所在,这也是触发设计模式发展的原因。本章还会说明如果应用不当,MVC和MVP这些依赖.Net事件的表现模式是怎么导致内存泄漏的。本章会谈论各种表现模式的优缺点,并且留给读者自我思考的问题,如为什么用MVVM设计模式来代替MVP或是MVC。
第二章:介绍MVVM,包括使MVVM魅力四射的WPF和Silverlight的各种特性。我们会再一次以MVVM模式来实现第一章中的收费例子。然后来看MVVM模式的优势所在以及使用它的代价,本章会以大概浏览MVVM开源代码框架作为结尾。
第三章:罗斯文-基础,本章会告诉读者怎样构建罗斯文数据库应用程序,我们会用实体框架连接罗斯文数据库,并说明实体框架是怎样与WPF和Silverlight的绑定机制融为一体的。本章还会增加单元测试来展示在MVVM模式下是怎样测试所有视图逻辑的。
第四章:罗斯文-服务和持久化透明能力,本章会在表现层和应用层之间增加WCF服务层,从而使我们的项目更加具有可扩展性。我们会看到WPF和Silverlight的绑定机制是怎样和WCF融为一体的。本章会说明持久化透明表现层的优势与应用它的代价。
第五章:罗斯文-命令和用户输入,本章探讨WPF和Silverlight中命令的优点。
第六章:罗斯文-层级视图模型和控制反转,本章解释了使用层级视图模型所带来的效率和优势,还会说明怎样实现控制反转。
第七章:对话框和MVVM,探讨模态和非模态对话框的各种情况,还会探讨数据是怎样通过我们创建的对话框实现分享的。
第八章:基于工作流的MVVM应用,解释了我们怎样用Windows工作流来控制用户界面流程,本章还会涉及到用WF进行业务规则验证的领域,包括有关缓慢执行工作流的探索。
第九章:验证,探讨数据入口和业务规则验证相关的各种技术。本章会使读者了解对这些验证结果是如何展现给用户的。
第十章:使用非MVVM第三方控件,本章会将话题聚焦在探讨关于非MVVM控件的使用上。
第十一章:MVVM性能,本章解释一些XAML的特性。

转载于:https://www.cnblogs.com/chikenonachain/p/5453292.html

Book Description Eliminate unnecessary code by taking advantage of the MVVM pattern in Silverlight and WPF using this book and eBook - less code, fewer bugs Build an enterprise application using Silverlight and WPF, taking advantage of the powerful MVVM pattern, with this book and e-book Discover the evolution of presentation patterns-by example-and see the benefits of MVVM in the context of the larger picture of presentation patterns Customize the MVVM pattern for your projects needs by comparing the various implementation styles In Detail MVVM (Model View View Model) is a Microsoft best practices pattern for working in WPF and Silverlight that is highly recommended by both Microsoft and industry experts alike. This book will look at the reasons for the pattern still being slow to become an industry standard, addressing the pain points of MVVM. It will help Silverlight and WPF programmers get up and running quickly with this useful pattern. MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF will help you to choose the best MVVM approach for your project while giving you the tools, techniques, and confidence that you will need to succeed. Implementing MVVM can be a challenge, and this book will walk you through the main issues you will come across when using the pattern in real world enterprise applications. This book will help you to improve your WPF and Silverlight application design, allowing you to tackle the many challenges in creating presentation architectures for enterprise applications. You will be given examples that show the strengths and weaknesses of each of the major patterns. The book then dives into a full 3 tier enterprise implementation of MVVM and takes you through the various options available and trade-offs for each approach. During your journey you will see how to satisfy all the demands of modern WPF and Silverlight enterprise applications including scalability, testability, extensibility, and blendability. Complete your transition from ASP.NET and WinForms to Silverlight and WPF by embracing the new tools of these platforms, and the new design style that they allow for. MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF will get you up to speed and ready to take advantage of this powerful new presentation platform. What you will learn from this book Maximize separation of concerns by taking advantage of WPF and Silverlight's rich binding system, templates, and commanding infrastructure Discover the built-in support for MVVM in Entity Framework and WCF Create unit testable user interfaces the MVVM way Work in parallel with minimal dependencies by creating blendable architectures Solve common MVVM problems both with and without frameworks depending on your preference Extend your architecture and test it by using inversion of control frameworks Tackle complex designs by using hierarchical view model design and mediators Reduce the amount of code in your user interface by letting the WPF and Silverlights binding system eliminate your need to do things like casting controls and dispatching Best practices for dealing with collections Create designs that allow for dramatically changing your user interface without having to change code outside the view using data templates Approach This book combines practical, real-world examples with all the background material and theory you need The concepts are explained with a practical LOB enterprise application that is gradually built through the course of this book. MVVM offers lots of design choices and the author shows examples of each of these approaches, by changing the code to achieve the same results. Who this book is written for This book will be a valuable resource for Silverlight and WPF developers who want to fully maximize the tools with recommended best practices for enterprise development. This is an advanced book and you will need to be familiar with C#, the .Net framework, and Silverlight or WPF.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值