Building Composite Applications with Silverlight - Prism 2.0

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Notes on slide 1

    06/08/09 00:15 © 2007 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.

    Favorites, Groups & Events

    Building Composite Applications with Silverlight - Prism 2.0 - Presentation Transcript

      • Christian Thilmany
      • Blog: www.flyover18.com
      • UX Architect
      • Microsoft Corporation
    1. Session Objectives And Takeaways
      • Session Objective(s):
        • Able to determine RIA composite application scenarios and recommend solutions for the scenarios using Prism for Silverlight and WPF.
      • Prism – V2 out now
      • Provides written and code-example guidance for composite solution space
      • Supports targeting both Silverlight & WPF composite applications
    2.  
    3.  
    4.  
    5.  
    6.  
    7. Prism-What’s in the box
      • Prism – Composite Client Application Guidance for WPF and Silverlight
        • Library
        • Reference Implementation
        • Documentation
        • Quick-Starts & How-To’s
        • Community – CodePlex
      • Prism 1.0 – WPF
        • Released July 2008
      • Prism 2.0 – Silverlight
        • Just Released Feb 2009!
    8.  
    9. Rough Cut Editor Microsoft Confidential
    10. New In Prism 2.0!
    11. Modules
      • Unit Of Application Assembly
        • Collection of Related Components
        • Feature, Services, Views, Data Access
        • Mandatory or Optional or Role Specific
        • Example: Banking app: Checking Module, Credit Card Module, Trading Module, News Module
      • Unit Of Development
        • Independent Development/Testing
      • Unit Of Deployment
        • Up-Front, Background or On-Demand
    12. Modules
      • Module Discovery
        • Pluggable Catalogs
      • Module Loading
        • Background or On-Demand
      Module Loader Extended In Prism 2.0!
    13. Modules & Catalogs
    14. UI Composition
      • Shell – Application Host Window
      • Regions – Named Areas For View Placement
      • Views – Encapsulate UI & Presentation Logic
      Region Region Region // View Injection IPositionPresentationModel presentationModel = …; IRegion mainRegion = regionManager.Regions[ &quot;MainRegion&quot; ]; mainRegion.Add( presentationModel.View ); < TabControl RegionManager.RegionName = &quot;MainRegion&quot;> < ItemsControl RegionManager.RegionName = “ResearchRegion” /> < ContentControl RegionManager.RegionName = “ActionRegion” />
    15. UI Composition
      • View Discovery Composition:
        • Less Complex
        • Black Box ‘App Assembly’ Composition
        • Select Views & Pull into Region
      Region Region Region New In Prism 2.0! < TabControl RegionManager.RegionName = &quot;MainRegion&quot;> regionManager. RegisterViewWithRegion( &quot;MainRegion&quot;, typeof ( MainView ) );
    16. Commands and Events
      • Delegate & Composite Commands
        • Simplified Command Handling
      • Event Aggregator
        • Loosely Coupled Pub/Sub Events
      Module B Customer Presenter Module A Order Presenter Event Aggregator Subscribe Publish Event
    17. Prism Silverlight Logical Architecture HOST APPLICATION LOADING SERVICES CORE SERVICES MODULE PREFFERED SERVICES Modules MODULES Presenter View Model ModuleCatalog Module Loader EventAggregator Logging RegionManager Unity Module Initializer Model
    18. Multi-Targeting
      • User Experiences
        • Desktop – In the Office, Full Functionality, Offline
        • RIA – Out of the Office, Functional Subset, Online
      WPF Application Silverlight (RIA) Application BROWSER DESKTOP CLR - Silverlight CLR Desktop BCL BCL
    19. Multi-Targeting: Strategies
      • Start with LCD
      • Use Links and Parallel Project Structures
      • Separated Presentation Strategies
      • Keep single source
      • If not, apply the sieve
      #IF SILVERLIGHT Partial Classes Partial Methods Separate Classes Rewrite the Code
    20. Multi-Targeting WPF CLR - Silverlight CLR Desktop BCL BCL BROWSER DESKTOP Controllers Models Presenters Views Models Controllers Presenters Views
    21. Stock Trader RI
    22. Where Can You Find It?
      • www.microsoft.com/compositewpf
      • www.codeplex.com/compositewpf
      • http://www.flyover18.com
    23. Summary
      • Prism
        • Library of Patterns for Composite Client Applications
        • Targets WPF Desktop and Silverlight RIA Applications
        • View Discovery Composition, Separated Presentation Patterns, Module Catalog
        • Multi-Targeting to reuse code between Silverlight and WPF
      • Download from CodePlex and send us feedback
    24. © 2009 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.
    SlideShare Zeitgeist 2009

    + Christian ThilmanyChristian Thilmany Nominate

    custom

    1769 views, 0 favs, 0 embeds more stats

    Building Composite Applications with Silverlight - more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1769
      • 1769 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 18
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories