CIS 644 Tues Nov 30 1999 patterns W
- Slides: 21
CIS 644 Tues. Nov. 30, 1999 … patterns W 15 A
schedule: 30: patterns 7: design proj 2: review for exam 9: design proj email exam 2
patterns: Coad … mostly PD patterns Gamma… mostly implementation patterns
Coad#1: collection - worker actually: worker - users - collection as: clerk - customers - videos
Coad#3: Coad#5: Participant- Transaction Specific. Item - Transaction as: Customer - Rental Video - Rental
and Coad#6: Transaction - Trans. Line. Item as: Rental <>- Rental. Line. Item
Coad#7: Transaction - Subsequent. Trans as: Grain. Reservation - Truck. Delevery
Coad#14: Container - Contents as: Flight <>- Reservation
Coad#18: Compound. Part - Part same as: Composite - Component where: Component = Primitive. Component | Composite
Coad#20: Plan - Step (CIS project) as Budget <>- Budget. Period
Coad#26: Proxy - Specific. Item as : Cached. Item - Item as: Local. Item - Server. Item as: Edit. Page - Source. Page
Coad#27: Publisher - Subscriber same as: Obervable - Observer as: PD_Item - Item_View
Java data structures: [Bailey 1999] common "behavior" patterns: public interface Enumeration { boolean has. More. Elements(); Object next. Element(); } public interface Iterator extends Enumeration { … void reset(); Object value(); }
Java examples for three other "behavior" patterns: Terrazas. . visitor pattern Liu. . . . command pattern Zhang. . . state pattern
Coad chap 4: adaptor patterns: as: multiple adaptors multiple thread access
diagrams for other Gamma patterns: http: //ksi. cpsc. ucalgary. ca/~kremer/patterns/
Creational Patterns Abstract Factory Builder Factory Method Prototype x Singleton
Structural Patterns x Adapter Bridge x Composite Decorator Facade Flyweight x Proxy
Behavioural Patterns Chain of Responsibility x Command Interpreter x Iterator Mediator Memento x Observer x State Strategy Template Method x Visitor
reusable items: patterns: packages: interface, classes components: frameworks: software tools:
End
- Ecfmg cv format
- 3^644 mod 645
- 877-644-1774
- 320 dm
- Use algorithm 5 to find 11^644 mod 645
- 800-644-6292
- Nov 19 1863
- Təsdiq və inkar feillər
- "set out nov dez levantamento bibliográfico"
- Months of the year december
- Palabras que empiecen con nav
- Söz birləşmələri
- Seven killed in accident on jalan sultan
- Rrnadmin
- "set out nov dez levantamento bibliográfico"
- Starts new page numbered sequentially
- Dating patterns since the 1960s are
- X videos
- 1999
- Que es la direccion como proceso administrativo
- Kapa 1999
- Apollo and daphne myth