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® Silverlight® 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.
Chapter 1 Introduction to Model View ViewModel and Line of Business Applications
The Model View ViewModel Pattern
Line of Business Applications
Choosing the Right Technology
Composition of a LOB User Interface
Separation of Concerns
Summary
Chapter 2 Design Patterns
An Overview of Design Patterns
UI Design Patterns
Advanced Design Patterns and Techniques
Summary
Chapter 3 The Domain Model
Introduction to Domain-Driven Design
Domain Entity and Data Transfer Object
The POCO Object and the O/RM
Development Approaches of a Domain
How To Create an Object In DDD
Domain Entities Validation
Unit Test the Domain Model
Sample Code: The CRM Domain Model
Summary
Chapter 4 The Data Access Layer
Introduction
The Database and Stored Procedures
Choosing an O/RM
The Unit of Work
The Repository Pattern
Test-Driven Development: The Data Layer
Building a Distributed Data Layer with RIA and WCF
Sample Code: The CRM Data Access Layer
Mapping the Domain Using NHibernate
Summary
Chapter 5 The Business Layer
Introduction
A Business Rule Is Not a Validation Rule
Business Rules by Service
Business Rules by Workflow with WF 4.0
Third-Party Toolkits
Business Layer Considerations
Sample Code: The Business Service Layer
Summary
Chapter 6 The UI Layer with MVVM
Introduction to the MVVM Pattern
The View
The Model
The Command in WPF and Silverlight
The ViewModel
DataTemplate in WPF and Silverlight
WeakEvents and Messages
Dialogs and Modal Pop-Ups
Inversion of Control with MVVM
Sample Code
Summary
Chapter 7 MVVM Frameworks and Toolkits
MVVM Toolkits
MVVM and XAML Facilities
Composite UI Frameworks
Appendix About the Author
Title:
Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern
Raffaele Garofolo is a .NET software architect who builds Line-of-Business applications for a living. He is passionate about .NET and WPF and spends his free time writing articles and blog posts about WPF and the MVVM.
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
Thank's for this helpfull book. it was a great help for me.
1/19/2012
4.0
Good book for Novice & Students :)
By gopalchettri
from India
About Me Developer
Pros
Concise
Easy to understand
Helpful examples
Cons
Too basic
Best Uses
Novice
Student
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
Good book for novice & students who want to a start up with MVVM. Although book has been written on 1000ft high for small architectural guide,its worth reading.
11/17/2011
(3 of 3 customers found this review helpful)
1.0
Misleading title and missing code
By robert
from portland, oregon
About Me Developer
Pros
Easy to understand
Cons
Not comprehensive enough
Best Uses
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
Aside from the issues mentioned by several others that MVVM is covered in only a tiny part of the book, and that it does not go into anything very deeply, the downloadable code is not what is represented in the book. The code is not exercises as advertised, nor are there pre/post projects. There is just one sample project which does not run out-of-the box due to non-existent references. (Note that even the download link given in the book is wrong.)
5/1/2011
5.0
Good for LOB developers
By Sam Pereira
from São Paulo, Brazil
About Me Developer
Pros
Cheap
Easy to understand
Great topics
Cons
Not so MVVM as I expected
Best Uses
Intermediate
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
Too many topics for only 200 pages, but great overview of best products and practices for LOB applications. Easy reading. I recommend it
4/23/2011
(6 of 8 customers found this review helpful)
1.0
Tries to cover too much in < 200 pages
By Recce
from Berkshire, UK
About Me Designer, Developer
Pros
Cons
Not comprehensive enough
Too basic
Best Uses
Novice
Student
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
This is a book about LOB architecture, and MVVM is only a small part of this book.
There are far better books on application architecture, which are long enough to do the subject justice.
Book feels rushed, incomplete and unfinished.
4/9/2011
(6 of 6 customers found this review helpful)
3.0
You can find source code here...
By emiller
from Howell, MI
About Me Developer
Pros
Easy to understand
Cons
Best Uses
Intermediate
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
Source code can be found here:
http://examples.oreilly.com/9780735650923-files/
4/1/2011
(3 of 5 customers found this review helpful)
4.0
Code sample is missing
By Rakesh
from India
About Me Designer
Pros
Concise
Easy to understand
Cons
Best Uses
Expert
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
This book is really good to understand MVVM and other wpf and silverlight. But unable to find the sample code. Please let me know, from where i can download the sample code.
3/25/2011
(5 of 6 customers found this review helpful)
4.0
Nice stuff not only on MVVM
By D.B.
from Milan, IT
About Me Developer
Pros
Easy to understand
Helpful examples
Cons
Best Uses
Expert
Intermediate
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
This book doesn't talk only about MVVM but also on how to create a layered application. It does also a comparison between Entity Framework and NHibernate. Nice stuff.
3/25/2011
(2 of 3 customers found this review helpful)
4.0
Nice overview of a layered application
By Boris C.
from New Jersey
About Me Developer
Pros
Easy to understand
Helpful examples
Cons
Too generic
Best Uses
Expert
Intermediate
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern:
The book is not only focusing on the MVVM pattern but it provides a nice overview of how to architect a layered application. I found it useful and very easy to read and to follow.
3/24/2011
(3 of 7 customers found this review helpful)
5.0
Too much whiz and not enough bang
By b
from boston
About Me Developer
Pros
Accurate
Cons
Not comprehensive enough
Best Uses
Expert
Comments about Microsoft Press Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern: