Review Topics
Unless otherwise specified below, know the following for each pattern
mentioned here:
- goals
- be able to draw a class model applying the pattern
- explain the pro's and con's of using the pattern
- be able to write code applying the pattern
Topics:
- Note 1: why study patterns, what a design pattern is
- Note 2: strategy pattern, limitations of inheritance, cohesion,
coupling, Java access modifiers
- Note 3: more on design patterns
- Note 4: know just the goals of the factory pattern
- Note 5: how computations are interleaved with threads, synchronizing
methods
- Note 6: singleton in single-threaded applications
- Note 7: observer pattern (note flyweight is not listed)
- Note 8: decorator pattern, open-closed principle
- Note 9: skip (no IO decorators)
- Note 10: RIBS, domain model, noun identification method
- Note 11: composite pattern
- Note 12: command pattern
- Note 13: MVC, pattern fever
- Note 14: skip (no Proxy)
- Note 15: adapter, facade
- Note 16: visitor
In addition, know the following for the patterns presented by students:
- the goals, basic structure of each
- patterns covered: interpreter, template, filter, momento, state
- know filter, momento, state to a bit greater depth