Structural
-
CompositeModeling/DesignPattern 2020. 2. 29. 19:09
1. Overview Composite pattern is a partitioning design pattern. The composite pattern describes a group of objects that are treated the same way as a single instance of the same type of object. We have a part-whole relationship or hierarchy of objects and we want to be able to treat all objects in this hierarchy uniformly. This is not a simple composition concept from object-oriented programming..
-
FlyweightModeling/DesignPattern 2020. 2. 28. 23:13
1. Overview Our system needs a large number of objects of a particular class and maintaining these instances is a performance concern. Flyweight allows us to share an object in multiple contexts. But instead of sharing the entire object, which may not be feasible, we divide the object state into two parts. intrinsic (the state that is shared in every context) and extrinsic state (context-specifi..
-
Categorizing Design PatternModeling/DesignPattern 2019. 9. 29. 17:32
1. Overview Design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects. The 23 Gang of Four (GoF) patterns are generally considered the foundation for all other patterns. They are categorized into three groups: Creational, Structural, and Behavioral 2. Description 2.1 Cr..