• Save
MSDN Live: Windows Presentation Foundations Line of Business Apps
Upcoming SlideShare
Loading in...5
×
 

MSDN Live: Windows Presentation Foundations Line of Business Apps

on

  • 953 views

Best pratices when developing LOB with WPF!

Best pratices when developing LOB with WPF!

Statistics

Views

Total Views
953
Views on SlideShare
944
Embed Views
9

Actions

Likes
0
Downloads
0
Comments
0

3 Embeds 9

http://www.linkedin.com 6
https://www.linkedin.com 2
http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    MSDN Live: Windows Presentation Foundations Line of Business Apps MSDN Live: Windows Presentation Foundations Line of Business Apps Presentation Transcript

    • Forretningsapplikasjoner med WPF Gøran Hansen Senior Consultant, Capgemini http://blog.goeran.no [email_address]
    • Agenda
      • WPF Recap
      • Utvikling av GUI
      • Prinsipper
      • Presentation Model
      • Testing
    • WPF Recap!
      • Det av .NET 3*
      • Platform
        • Hard 2/3D
        • Vektorbasert
        • Video og Lyd
    • WPF Recap!
      • Rammeverk
        • Rik komposisjonsmodell
        • Styles and Templates
        • Databinding
      • XAML
    • Utvikling av GUI
      • Team med flere utviklere
      • Endringer er garantert
    • Dette skjer!
      • Høy kobling
      • Vanskelig å legge til ny funksjonalitet eller erstatte eksisterende
      • Vanskelig å teste og deploye
      • Monolitisk
    •  
    •  
    •  
    •  
    •  
    •  
    • Hmmm...
      • Hvordan lage løsere kobling?
      • Hvordan dekomponere GUI koden?
      • Hvor kommer WPF inn i bildet?
      • Prinsipper!
      • Design Patterns
    • Prinsipper
      • ” Program to an interface, not an implementation”
      • Separation Of Concerns
      • Design Patterns
    • Presentation Model Presentation Model Represents the state and the behavior of the presentation independently of the GUI controls used in the interface. Martin Fowler Design Pattern Guru
    • Presentation Model Presentation Model is a pattern that pulls presentation behavior from a view .
    • Presentation Model It's useful for allowing you to test without the UI, support for some form of multiple view and a separation of concerns which may make it easier to develop the user interface.
    • View (XAML) Data Binding Change notification “ It is easier to consider Presentation Model as an abstract of the view that is not dependent on a specific GUI framework.” “ A view then simply projects the state of the presentation model onto the glass.” Presentation Model State Name, Description, Estimate, IsSaveButtonEnabled Operations Save, Delete Data Model WS DB FS
    • Probably the most annoying part of Presentation Model is the synchronization between Presentation Model and view.
    • Presentation Model Ideally some kind of framework could handle this, which I'm hoping will happen some day with technologies like .NET's data binding .
      • WPF Data Binding!
    • View (XAML) Data Binding Change notification Presentation Model State Name, Description, Estimate, IsSaveButtonEnabled Operations Save, Delete Data Model WS DB FS Designer Developer Integration/Database developer
    • Testing
    • Oppsummering
      • WPF + Presentation Model = Godt design!
      • Separation Of Concerns
      • ” Program to an interface, not an implementation”
    • Hvorfor WPF
      • Kunnskap er portabel til Web (Silverlight 2)
      • Designer <-> Dev vennlig
      • Rik databinding støtte!
    • Tools
      • CompositeWPF (CAB)
    • Forretningsapplikasjoner med WPF Gøran Hansen Senior Consultant, Capgemini http://blog.goeran.no [email_address]