Unformatted text preview: el! DeGine a design lexicon Uphold design integrity during maintenance phase Stick to original purpose of pattern Lead to systems with predictable properties Divide-and-conquer design of complex systems View patterns as building blocks 129 130 Proxy pattern (Go4) Forwarder-Receiver pattern (Go5) Mediator pattern (Go4) Conclusions Conclusions Now that I know all about patterns, how do I go about using them? Answer: The seven steps of pattern usage (if you believe anything requiring that many steps) 1. Get a grasp on your problem 2. Select a pattern category from your favorite book 3. Go4: Look up pattern intents in Go4 book Go5: Select the problem category that matches your problem description best 131 Now that I know all ... (cont d) 4. Evaluate problem descriptions for different patterns 5. Compare consequences, advantages,and disadvantages of candidate patterns 6. Select the best variant for chosen pattern 7. If steps 1-6 fail, look up a different book Also, don t forget to Gill in residual design issues and to write code ... 132 Conclusions References 1. Go4 book: Gamma, Helm, Johnson, Vlissides. Design Patterns Elements of Reusable Object-Oriented Software, Addison-Wesley, 1995. 2. Go5 book: Buschmann, Meunier, Rohnert, Sommerlad, Stal. Pattern- Oriented Software Architecture, Wiley, 1996. Additional materials: 3.(PLoP) Pattern Languages of Program Design. Conference Proceedings, Addison-Wesley, yearly. 4. Pree. Design Patterns for Object-Oriented Software Development, Addison-Wesley, 1995. 133 Conclusions References (cont 5. CACM, 10/96 d) 6. Other Conference proccedings (e.g., OOPSLA, ICSE, EuroPLoP). 7. Tons of stuff on the web. Start from ofGicial pattern URL: http://hillside.net/patterns/ 134...
View Full Document
- Spring '12
- Object-Oriented Programming, Design pattern, Subroutine