design_patterns:gof

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
design_patterns:gof [2019/11/09 21:19] – [Erzeugungsmuster (creational patterns)] phreazerdesign_patterns:gof [2019/11/09 22:02] – [Strukturmuster (structural patterns)] phreazer
Line 3: Line 3:
  
   * Class pattern   * Class pattern
-    * [[design_patterns:factorymethod|Factory Method / Virtual Constructor]]+    * [[design_patterns:factorymethod|Factory Method / Virtual Constructor]]: Object creation via method instead of constructor
   * Object pattern   * Object pattern
     * [[design_patterns:builder|Builder pattern]]     * [[design_patterns:builder|Builder pattern]]
- +  * Abstract factory pattern: Group of factories 
-  * Singleton+  * Prototype pattern: Clone method/interface 
 +  * Singleton pattern 
 +  * Multiton pattern (flyweight): Multiple objects based on key (getInstance(key), using a hashmap)
 ===== Strukturmuster (structural patterns) ===== ===== Strukturmuster (structural patterns) =====
  
 Class/object composition Class/object composition
 +
 +  * Adapter/Wrapper: Adapter realizes interfaces, uses method of external class
 +  * Bridge: Hierarchy of abstractions and implementations
 +  * Facade: Unified, simplified interface to complex operations involving multiple classes
 +  * Decorator: Dynamically add/remove methods to an object
 +  * Flyweight: Large number of object required, where information is shared
 +  * Composite: Tree-structure to represent part-whole hierarchies (treat part and whole uniformly)
 +  * Proxy: Class acting as interface to something else.
 ===== Verhaltensmuster (behavioral patterns) ===== ===== Verhaltensmuster (behavioral patterns) =====
  
  • design_patterns/gof.txt
  • Last modified: 2019/11/09 22:13
  • by phreazer