MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF docx

491 5.4K 4
MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF docx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... ignorance Adding unit tests Summary Chapter 5: Northwind—Commands and User Inputs 175 176 181 186 186 187 192 201 203 Pure MVVM 203 Making it easier with frameworks 208 Updating customer details 210 Testing and updating customer details 214 Gestures, events, and commands 216 InputBindings 217 KeyBinding 218 MouseBinding 219 Using code behind Event to command 220 221 Attached Behavior Using MVVM Light... the trade-offs for each approach During your journey you will see how to satisfy many of the challenges of modern WPF and Silverlight enterprise applications including scalability, testability, and extensibility Complete your transition from ASP.NET and WinForms to Silverlight and WPF by embracing the new tools in the Silverlight and WPF platforms, and the new design style that they allow for This book... 459 [ vi ] Preface 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... Updating source 456 Binding.UpdateSourceTrigger 456 456 Binding.Delay: [.net 4.5] [Binding.Mode:TwoWay / OneWayToSource ] Mode [Binding.Mode] [T:Target, S:Source] 457 Binding to other elements in the view 457 ElementName 457 RelativeSource 457 457 Conversion Binding.StringFormat [SF] 457 Converter [C] 458 458 Performance Async binding 458 ObjectDataProvider.IsAsynchronous 458 PriorityBinding 458 Index... Northwind—Commands and User Inputs, discusses the benefits of taking advantage of the commanding system in WPF and Silverlight to implement MVVM using the pure approach Chapter 6, Northwind—Hierarchical View Model and IoC, explains the power and productivity that can be added by using the Hierarchical View Model approach to MVVM We will also see how to implement an Inversion of Control framework using... dabbling in personal computers from their infancy starting out as an Apple and Mac developer He authored the original Internet suite included with Delphi and CBuilder, and is a Consultant at Sogeti consulting for Fortune 500 companies, such as Dell and Microsoft When he is not playing around with the latest Microsoft technologies, he and his wife are enjoying their passion for travelling Kanishka obtained... 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 many issues you will come across when using the pattern in real world enterprise applications... industry Appendix B, Binding at a Glance, summarizes the Binding System infrastructure, which makes MVVM possible in WPF and Silverlight What you need for this book • Microsoft Visual Studio 2010 Service Pack 1 • Rhino Mocks • .NET Framework 4 Platform Update 1 for Chapter 8, Workflow-based MVVM Applications Who this book is for This book will be a valuable resource for Silverlight and WPF developers who... non -MVVM based controls in your MVVM based design to improve the testability of our code base Chapter 11, MVVM and Application Performance, explains some features of XAML frameworks targeting for better application performance Appendix A, MVVM Frameworks, outlines the basic features to look for before selecting an MVVM framework or toolkit It also lists the available MVVM frameworks popular in the industry... 11: MVVM and Application Performance 431 Appendix A: MVVM Frameworks Appendix B: Binding at a Glance 451 453 Asynchronous binding Asynchronous View Model construction Priority binding Virtualization and paging Using BackgroundWorker Targeting system configuration Event Throttling Lazy Initialization Summary 431 435 437 440 441 442 442 443 449 Basics 453 Validation 453 ValidationRules 453 IDataErrorInfo 454 . h1" alt="" MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF Eliminate unnecessary code by taking advantage of the MVVM pattern—less. 208 Updating customer details 210 Testing and updating customer details 214 Gestures, events, and commands 216 InputBindings 217 KeyBinding 218 MouseBinding

Ngày đăng: 06/03/2014, 03:20

Từ khóa liên quan

Mục lục

  • Cover

  • Copyright

  • Credits

  • Foreword

  • About the Authors

  • About the Reviewer

  • www.PacktPub.com

  • Table of Contents

  • Preface

  • Chapter 1: Presentation Patterns

    • The Project Billing sample application

      • Types of state

      • History of presentational patterns

        • Monolithic design

          • The problems with monolithic design

          • Data service stub

          • Monolithic Project Billing sample

            • ProjectsView

            • Running the sample

            • Takeaways

            • Rapid application development

              • RAD Project Billing sample

              • Takeaways

              • MVC

                • View

                • Controller

                • Model

Tài liệu cùng người dùng

Tài liệu liên quan