Description

Create rich, flexible, and maintainable line-of-business applications with the MVVM design pattern

Simplify and improve business application development by applying the MVVM pattern to Windows Presentation Foundation (WPF) and Microsoft(R) Silverlight(R) 4. With this hands-on guide, you'll use MVVM with data binding, commands, and behaviors to create user interfaces loosely coupled to business logic. MVVM is ideal for .NET developers working with WPF and Silverlight—whether or not you have experience building enterprise applications.

Discover how to:

* Dive deep into MVVM—and learn how it differs from other UI design patterns
* Build a simple Customer Relationship Management application you can adapt for your own projects
* Implement MVVM to maintain separation between UI declarative syntax and presentation logic code
* Create a Domain Model to define your application’s business context
* Write dynamic code for the data access layer with the Microsoft Entity Framework and NHibernate
* Enforce complex data-validation scenarios using Windows Workflow Foundation 4
* Implement MVVM using frameworks and toolkits such as Microsoft Prism

 Get code samples on the web
 For system requirements, see the Introduction.

CONTENTS:

; Introduction; Who Should Read this Book; Organization of This Book; Conventions and Features in This Book; System Requirements; Acknowledgments; Errata and Book Support; We Want to Hear from You; Stay in Touch; Chapter 1: Introduction to Model View ViewModel and Line of Business Applications; 1.1 The Model View ViewModel Pattern; 1.2 Line of Business Applications; 1.3 Choosing the Right Technology; 1.4 Composition of a LOB User Interface; 1.5 Separation of Concerns; 1.6 Summary; Chapter 2: Design Patterns; 2.1 An Overview of Design Patterns; 2.2 UI Design Patterns; 2.3 Advanced Design Patterns and Techniques; 2.4 Summary; Chapter 3: The Domain Model; 3.1 Introduction to Domain-Driven Design; 3.2 Domain Entity and Data Transfer Object; 3.3 The POCO Object and the O/RM; 3.4 Development Approaches of a Domain; 3.5 How To Create an Object In DDD; 3.6 Domain Entities Validation; 3.7 Unit Test the Domain Model; 3.8 Sample Code: The CRM Domain Model; 3.9 Summary; Chapter 4: The Data Access Layer; 4.1 Introduction; 4.2 The Database and Stored Procedures; 4.3 Choosing an O/RM; 4.4 The Unit of Work; 4.5 The Repository Pattern; 4.6 Test-Driven Development: The Data Layer; 4.7 Building a Distributed Data Layer with RIA and WCF; 4.8 Sample Code: The CRM Data Access Layer; 4.9 Mapping the Domain Using NHibernate; 4.10 Summary; Chapter 5: The Business Layer; 5.1 Introduction; 5.2 A Business Rule Is Not a Validation Rule; 5.3 Business Rules by Service; 5.4 Business Rules by Workflow with WF 4.0; 5.5 Third-Party Toolkits; 5.6 Business Layer Considerations; 5.7 Sample Code: The Business Service Layer; 5.8 Summary; Chapter 6: The UI Layer with MVVM; 6.1 Introduction to the MVVM Pattern; 6.2 The View; 6.3 The Model; 6.4 The Command in WPF and Silverlight; 6.5 The ViewModel; 6.6 DataTemplate in WPF and Silverlight; 6.7 WeakEvents and Messages; 6.8 Dialogs and Modal Pop-Ups; 6.9 Inversion of Control with MVVM; 6.10 Sample Code; 6.11 Summary; Chapter 7: MVVM Frameworks and Toolkits; 7.1 MVVM Toolkits; 7.2 MVVM and XAML Facilities; 7.3 Composite UI Frameworks; About the Author;
Published

06 Apr 2011

Publisher

MICROSOFT PRESS

ISBN

9780735650923

Pages

201

Static Book Details Index Page - Click Here to go to Computer Manuals Website