Title: CIS%20644%20Tues.%20%20Nov.%2030,%201999%20%20W15A
1CIS 644 Tues. Nov. 30, 1999 W15A
patterns
2schedule 30 patterns 2 review for
exam 7 design proj 9 design
proj email exam2
3patterns Coad mostly PD patterns Gamma
mostly implementation patterns
4 Coad1 collection - worker
actually worker - users -
collection as clerk -
customers - videos
5Coad3 Participant- Transaction Coad5
SpecificItem - Transaction as
Customer - Rental Video - Rental
6and Coad6 Transaction - TransLineItem as
Rental ltgt- RentalLineItem
7Coad7 Transaction - SubsequentTrans as
GrainReservation - TruckDelevery
8Coad14 Container - Contents as Flight
ltgt- Reservation
9Coad18 CompoundPart - Part same as
Composite - Component where
Component
PrimitiveComponent Composite
10Coad20 Plan - Step (CIS project) as
Budget ltgt- BudgetPeriod
11Coad26 Proxy - SpecificItem as
CachedItem - Item as LocalItem -
ServerItem as EditPage - SourcePage
12Coad27 Publisher - Subscriber same as
Obervable - Observer as PD_Item -
Item_View
13Java data structures Bailey1999 common
"behavior" patterns public interface
Enumeration boolean
hasMoreElements() Object
nextElement() public interface
Iterator extends
Enumeration void reset()
Object value()
14Java examples for three other
"behavior" patterns Terrazas ..visitor pattern
Liu ........ command pattern Zhang ...
state pattern
15Coad chap 4 adaptor patterns as
multiple adaptors multiple thread access
16diagrams for other Gamma patterns http //ksi.cp
sc.ucalgary.ca/kremer/patterns/
17Creational Patterns Abstract Factory
Builder Factory Method Prototype x
Singleton
18Structural Patterns x Adapter
Bridge x Composite Decorator
Facade Flyweight x Proxy
19Behavioural Patterns Chain of
Responsibility x Command Interpreter x
Iterator Mediator Memento x
Observer x State Strategy Template
Method x Visitor
20reusable items patterns packages
interface, classes components frameworks
software tools
21End