Application Facades2006/09/27Will Shen                      1
Reference   Application Facades, Martin    Fowler     Analysis Patterns: Reusable Object      Models, Addison-Wesley, 19...
Outline1.   Introduction2.   Agile Calculator3.   Application Facades: A Health Care     Example4.   Conclusion           ...
1. Introduction 1/2UI Framework                Application Presentation                 Domain                  FacadeGTT ...
Introduction 2/2      Agile GUI development           Keep   the view objects very thin               Thin View    Thin ...
2. Agile Calculator 1/4           CalculatorView    Thin view         TDD                            Smart Object         ...
Agile Calculator 2/4                       7
Agile Calculator 3/4 : TDD on Calculator                                       8
Agile Calculator 4/4:CalculatorView                        9
3. Application Facades 1/5: A HealthCare Example                                       10
Application Facades 2/5: Contents                                    11
Application Facades 3/5: Types ofmethods                                    12
Application Facades 4/5: OperationsShared OperationLocal Operation                                             13
Application Facades 5/5:Type    Conversions                Application Logic Tier     Domain TierExternal type            ...
4. Conclusion   Separate the application into well    defined layers – presentation and    application logic       Make ...
Upcoming SlideShare
Loading in …5
×

20060927 application facades

379 views

Published on

Application Facade

Published in: Technology
  • Be the first to comment

  • Be the first to like this

20060927 application facades

  1. 1. Application Facades2006/09/27Will Shen 1
  2. 2. Reference Application Facades, Martin Fowler  Analysis Patterns: Reusable Object Models, Addison-Wesley, 1997  http://martinfowler.com/apsupp/appfacade Agile User Interface Development, Paul Hamill  http://www.onjava.com/pub/a/onjava/2004 2
  3. 3. Outline1. Introduction2. Agile Calculator3. Application Facades: A Health Care Example4. Conclusion 3
  4. 4. 1. Introduction 1/2UI Framework Application Presentation Domain FacadeGTT GUI Testing Testing 4
  5. 5. Introduction 2/2  Agile GUI development  Keep the view objects very thin Thin View Thin View Thin View Smart Smart SmartTesting UI comp Object Object Object Model 5
  6. 6. 2. Agile Calculator 1/4 CalculatorView Thin view TDD Smart Object Calculator Testing 6
  7. 7. Agile Calculator 2/4 7
  8. 8. Agile Calculator 3/4 : TDD on Calculator 8
  9. 9. Agile Calculator 4/4:CalculatorView 9
  10. 10. 3. Application Facades 1/5: A HealthCare Example 10
  11. 11. Application Facades 2/5: Contents 11
  12. 12. Application Facades 3/5: Types ofmethods 12
  13. 13. Application Facades 4/5: OperationsShared OperationLocal Operation 13
  14. 14. Application Facades 5/5:Type Conversions Application Logic Tier Domain TierExternal type Internal type 14
  15. 15. 4. Conclusion Separate the application into well defined layers – presentation and application logic  Make the code easier to maintain and test Most of a application can be operated without the UI.  easier to work with and test 15

×