CSE432S Design Patterns: Discussion of Pages: Xi-11 Sections: Preface, Forward, Chapter 1.0-1.5
CSE432S Design Patterns: Discussion of Pages: Xi-11 Sections: Preface, Forward, Chapter 1.0-1.5
References
Web page:
http://hillside.net/patterns/DPBook/DPBook.html Source code: http://hillside.net/patterns/DPBook/Source.html Comments: [email protected]
Organization of Book
Book is divided into two parts: Chapters 1 & 2
describe what design patterns are describe how design patterns help design objectoriented software include a design case study that demonstrates how design patterns apply in practice
Appendices
Appendix A: Glossary of terminology Appendix B: Explains notation used in diagrams throughout the book. Appendix C: Contains source code for the foundation classes in the code samples
Contributions of Book
1. Shows the role that patterns can play in architecting complex systems. 2. Provides a pragmatic reference to a set of well-engineered patterns that can be applied by other developers.
Design Template
Purpose: Lends uniform structure to the information, making design patterns easier to learn, compare and use.
How do the four essential elements related to the design pattern template?
Implementation:
pitfalls, hints or techniques language-specific issues
Organization of Catalog
Design patterns vary in granularity and level of abstraction. Families of related patterns help to programmer to learn patterns faster and can direct efforts to find new patterns. 23 design patterns total
Composite Pattern:
nesting of views class hierarchy in which some subclasses define primitive objects and other classes define composite objects that assemble primitives into more complex objects
Strategy Pattern:
view-controller relationship allows controller to replaced statically or dynamically