Posts Tagged

structural design pattern

Design Patterns: Composite

The Composite is another design pattern that belongs to Structural Patterns family. We use this pattern when we want to group components inside a larger component. In other words, we can built a hierarchy of objects. A definition by GoF: A basic structure of Composite pattern: Component Declares an interface for objects in the composition….

Read More

Design Patterns: Facade

Facade design pattern is known as a structural design pattern. Facade pattern is used to reduce complexity among classes. One way to achieve this goal is by providing a simplified interface to implement general facilities among objects. That means, we can use facade in order to describe and implement actions of objects. We can write…

Read More