1 / 14

Design Patterns: Reusable Object-Oriented Software

A catalog of design patterns for creating reusable object-oriented software, with examples and guidelines for implementation.

estallings
Télécharger la présentation

Design Patterns: Reusable Object-Oriented Software

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 644 Thurs. Sept. 23, 1999 W6A …again scenarios … signatures …. … patterns

  2. Design Patterns: Elements of Reusable Object Oriented Software Erich Gamma, Richard Helm, Ralph Johnson, and JohnVlissides (1997) Pattern Languages of Program Design Edited by James Coplien and Doug Schmidt (1995, ...) …proceedings from the PLoP conferences. http://www.objectmentor.com/

  3. The fundamental pattern Collection-Worker

  4. Transaction patterns Actor-Participant Participant-Transaction Place-Transaction Specific Item - Transaction Transaction - Trans Line Item Transaction - Subsequent Trans Trans Line Item - Sub Trans Ln It Item - Line Item Specific Item - Line Item Item - Specific Item Associate - Other Associate Specific Item - Hierarchical Item

  5. Aggregate patterns Container-Content Container - Container Line Item Group-Member Assembly-Part Compound Part - Part Packet - Packet Component

  6. Plan patterns Plan-Step Plan - Plan Execution Step - Step Execution Plan Execution - Step Execution Plan - Plan Version

  7. Interaction patterns Peer-Peer Proxy - Specific Item Publisher-Subscriber Sender - Pass Through - Receiver Sender-Lookup-Receiver Caller - Dispatcher - Caller Back Gatekeeper-Request-Resource

  8. Gamma: Design Pattern Catalog 3 Creational Patterns Abstract Factory Builder Factory Method Prototype Singleton

  9. 4 Structural Patterns Adapter Bridge Composite Decorator Facade Flyweight Proxy

  10. 5 Behavioral Patterns Chain of Responsibility Command Interpreter Iterator Mediator Memento Observer State Strategy Template Method Visitor

  11. C Foundation Classes 1 List 2 Iterator 3 ListIterator 4 Point 5 Rect

  12. Composite: composes objects into tree structures to represent part-whole hierarchies. …lets clients treat individual objects and compositions uniformly. p. 163

  13. Iterator: provides a way to access the elements of an aggregate sequentially without exposing its underlying representation. … allows mutiple iterations of aggregate to be concurrent

  14. END

More Related