• Complain

Raffaele Garofalo - Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern

Here you can read online Raffaele Garofalo - Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2011, publisher: Microsoft Press, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern
  • Author:
  • Publisher:
    Microsoft Press
  • Genre:
  • Year:
    2011
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Create rich, flexible, and maintainable line-of-business applications with the MVVM design patternSimplify and improve business application development by applying the MVVM pattern to Windows Presentation Foundation (WPF) and Microsoft Silverlight 4. With this hands-on guide, youll 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 Silverlightwhether or not you have experience building enterprise applications.Discover how to:Dive deep into MVVMand 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 applications 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.

Raffaele Garofalo: author's other books


Who wrote Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern? Find out the surname, the name of the author of the book and a list of all author's works by series.

Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern
Raffaele Garofalo
Editor
Russell Jones

Copyright 2011 Raffaele Garofalo

Complying with all applicable copyright laws is the responsibility of the user. All rights reserved. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without express written permission of OReilly Media, Inc.

1 2 3 4 5 6 7 8 9 LSI 6 5 4 3 2 1

Microsoft Press titles may be purchased for educational, business or sales promotional use. Online editions are also available for most titles (.

Microsoft, Microsoft Press, ActiveX, Excel, FrontPage, Internet Explorer, PowerPoint, SharePoint, Webdings, Windows, and Windows 7 are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners.

Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.

This book expresses the authors views and opinions. The information contained in this book is provided without any express, statutory, or implied warranties. Neither the author, OReilly Media, Inc., Microsoft Corporation, nor their respective resellers or distributors, will be held liable for any damages caused or alleged to be caused either directly or indirectly by such information.

Acquisitions and Development Editor: Russell Jones
Production Editor: Kristen Borg
Production Services: Octal Publishing, Inc.
Technical Reviewer: David Hill
Indexing: Fred Brown
Cover: Karen Montgomery
Illustrator: Robert Romano

Microsoft Press

To my wife Deborah. Thank you for everything!

Introduction

The Windows Presentation Framework (WPF), Silverlight, and Windows Phone 7 are the latest technologies for building flexible user interfaces (UI) for applications built with Microsoft technology. All three rely on the XAML markup language to describe UI elements and layout, and you can program applications for all three platforms with the most common of Microsoft .NET Framework languages: Visual C# or Visual Basic .NET. If you are a .NET developer planning to create a new Line of Business (LOB) application using the .NET Framework, you should consider adopting one of these technologies as your UI technology. At the same time, as you start planning to build an application based on one of these technologies, you should also seriously consider learning and applying the Model View ViewModel (MVVM) presentation pattern, a design pattern created specifically for these technologies.

And thats what this book is about. You might be wondering, Why another book on WPF? Or, if you have already looked at the Table of Contents, you might be thinking, Why another book about layering and design patterns?

To answer those questions, let me start by saying that over the years, I have noticed that what developers ask for the most is not the Bible of patterns or the Bible of how to layer an application; instead, they want a simple, straightforward book that guides them through the development criteria for a real-world, yet simple, application that uses and explains patternsbut that is also reusable in future projects as a template for other applications.

WPF and Silverlight are young technologies, and the percentage of developers moving to this new way of designing the UI is still small. There are several reasons for this. First, the learning curve is relatively high. If youre used to Windows Forms, Java Swing, or Delphi, the way you design and structure an application using XAML and WPF is significantly differentin fact, I would call it revolutionary.

In the past, I have used well-known patterns to build applications, including the Model View Presenter pattern with Windows Forms applications, and the Model View Controller pattern with ASP.NET applications. But with WPF, these two approaches are now obsolete, because they cant take advantage of the powerful engine provided by XAML. Of course, you can still take advantage of the binding engine of WPF using the Model View Presenter pattern, but the effort required is usually too large. Fortunately, MVVM provides an alternative.

Microsoft, in collaboration with some architects, has revised the original Presentation Model that was proposed years ago by Martin Fowler. This revision (named the Model View ViewModel pattern) is the perfect approach for WPF and Silverlight because, well, it was designed specifically for them! Unfortunately, like XAML, MVVM is a relatively new technology, so at the moment, there isnt a lot of information about implementing it. There are a few bloggers trying the MVVM approach and blogging about it; others are involved in building MVVM-specific toolkits. But nearly everything is still experimental, and there are few truly concrete examples.

Therein lies the rationale for a book about building a LOB application using MVVM. As you proceed through this book, you will see examples that show how to build a straightforward Customer Relationship Management (CRM) program with WPF 4, Silverlight 4, and the MVVM pattern. The book guides you through the entire architectural process, illustrating the correct approach to using MVVM. Youll also use some other new technologies delivered with Microsoft .NET 4, such as Managed Extensions, Windows Workflow Foundation 4, and of course, the Entity Framework.

First, you are introduced to the tools. Next, you move ahead to build the CRM, starting with the domain model, applying a simple technique to persist the data in a relational database by using two of the most popular Object-Relational Mapper (O/RM) systems available for .NET: the Entity Framework and NHibernate. Then, see how to make everything more flexible using the MEF framework.

Following that, you learn to apply business logic and data validation to this model in a way that fulfills the requirements of the MVVM pattern. In this phase, you also look at Windows Workflow Foundation (WF) 4.0, the powerful, new workflow engine by Microsoft, and study the steps required to build a simple workflow engine.

The remaining chapters all focus on MVVM. There are four major concepts that you must learn to use MVVM correctly: commanding , the template , the binding engine , and how to orchestrate everything together. At the end of this process, you will have visited all the layers required to complete a classic LOB application, but more importantly, you will be able to recycle the parts described here as a template for building future applications. Of course, there are some differences between WPF and Silverlight, so this book will try to cover those gaps where possible.

Finally, you will take a brief tour of the MVVM toolkits that are already available, such as PRISM, a composite application framework for WPF and Silverlight. This will help you to determine when and how you should use each as part of the process of building a small and flexible MVVM framework.

Overall, the key goal of this book is to provide a complete step-by-step guide for using WPF/Silverlight in conjunction with MVVM for creating generic code that you will be able to use and reuse in the future.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern»

Look at similar books to Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern»

Discussion, reviews of the book Building Enterprise Applications with Windows Presentation Foundation and the Model View ViewModel Pattern and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.