Download presentation
Presentation is loading. Please wait.
1
Building Composite Applications with WPF Tomer Shamam Smart Client Manager Sela Group http://blogs.microsoft.co.il/blogs/tomershamam
2
Agenda Complex UI Challenges Composite Application Guidance for WPF Q & A Summary
3
Complex UI Challenges Develop Pieces Independently Application Evolves Over Time Deployment Issues Testability
4
Composite Application
5
Modules and Bootstrapper Functional Independent Discoverable Pluggable Deployment Module Views Logic Services ConcernsContainsContains
6
DEMO Working with Modules
7
Shell and Views Usually Main Window Multiple views Named regions Top-level elements Appearance and behavior Styles and Templates Region
8
DEMO Constructing the Shell
9
Separated Presentation View bounds-to Model Presenter updates View Model Presenter View IView Model Presentation Model View View bounds-to presentation model Presentation model updates, queries and observes model Presentation model notifies View for changes Supervising Controller Presentation Model
10
DEMO Implementing Separated Presentation
11
Event Aggregator Site Map Module Site Map Module Endpoints Module Commanding & LCE Details Presenter Endpoints View Endpoints View OpenSite DelegateCommand ExecuteHandle Endpoints Module SiteMap Presentation Model Endpoints View Endpoints View Site Selected Event CompositeWpfEvent Publish Handle 1 1 2 2
12
DEMO Communicating through Commands and LCE
13
Limitations Not relevant for small projects Not applicable for CAB migration New patterns and concepts adoption Strict rules and discipline Performance
14
Q & A
15
Summary Complex UI’s are hard to maintain and extend Composite Applications are the solution for Complex UI’s Composite Application Guidance for WPF is the solution for Composite WPF Application
16
Additional Resources MSDN http://msdn.microsoft.com/en-us/library/cc707819.aspx http://msdn.microsoft.com/en-us/library/cc707819.aspx CodePlex http://www.codeplex.com/CompositeWPF http://www.codeplex.com/CompositeWPF Essential WPF http://blogs.microsoft.co.il/blogs/tomershamam http://blogs.microsoft.co.il/blogs/tomershamam Article (Glenn Block) http://msdn.microsoft.com/en-us/magazine/cc785479.aspx
17
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.