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

Like this? Share it with your network

Share

MSDN Live: Windows Presentation Foundations Line of Business Apps

on

  • 986 views

Best pratices when developing LOB with WPF!

Best pratices when developing LOB with WPF!

Statistics

Views

Total Views
986
Views on SlideShare
977
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 Presentation Transcript

  • 1. Forretningsapplikasjoner med WPF Gøran Hansen Senior Consultant, Capgemini http://blog.goeran.no [email_address]
  • 2. Agenda
    • WPF Recap
    • Utvikling av GUI
    • Prinsipper
    • Presentation Model
    • Testing
  • 3. WPF Recap!
    • Det av .NET 3*
    • Platform
      • Hard 2/3D
      • Vektorbasert
      • Video og Lyd
  • 4. WPF Recap!
    • Rammeverk
      • Rik komposisjonsmodell
      • Styles and Templates
      • Databinding
    • XAML
  • 5. Utvikling av GUI
    • Team med flere utviklere
    • Endringer er garantert
  • 6. Dette skjer!
    • Høy kobling
    • Vanskelig å legge til ny funksjonalitet eller erstatte eksisterende
    • Vanskelig å teste og deploye
    • Monolitisk
  • 7.  
  • 8.  
  • 9.  
  • 10.  
  • 11.  
  • 12.  
  • 13. Hmmm...
    • Hvordan lage løsere kobling?
    • Hvordan dekomponere GUI koden?
    • Hvor kommer WPF inn i bildet?
  • 14.
    • Prinsipper!
    • Design Patterns
  • 15. Prinsipper
    • ” Program to an interface, not an implementation”
    • Separation Of Concerns
  • 16.
    • Design Patterns
  • 17. 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
  • 18. Presentation Model Presentation Model is a pattern that pulls presentation behavior from a view .
  • 19. 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.
  • 20. 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
  • 21. Probably the most annoying part of Presentation Model is the synchronization between Presentation Model and view.
  • 22. 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 .
  • 23.
    • WPF Data Binding!
  • 24. 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
  • 25. Testing
  • 26. Oppsummering
    • WPF + Presentation Model = Godt design!
    • Separation Of Concerns
    • ” Program to an interface, not an implementation”
  • 27. Hvorfor WPF
    • Kunnskap er portabel til Web (Silverlight 2)
    • Designer <-> Dev vennlig
    • Rik databinding støtte!
  • 28. Tools
    • CompositeWPF (CAB)
  • 29. Forretningsapplikasjoner med WPF Gøran Hansen Senior Consultant, Capgemini http://blog.goeran.no [email_address]