Structural patterns
Proxy Pattern
Simply, proxy means an object representing another object. According to GoF, a Proxy Pattern “provides the control for accessing the original object”. So, we can…
Flyweight Pattern
A Flyweight Pattern says that just “to reuse already existing similar kind of objects by storing them and create new object when no matching object…
Facade Pattern
A Facade Pattern says that just “just provide a unified and simplified interface to a set of interfaces in a subsystem, therefore it hides the…
Decorator Pattern
A Decorator Pattern says that just “attach a flexible additional responsibilities to an object dynamically”. In other words, The Decorator Pattern uses composition instead of…
Composite Pattern
A Composite Pattern says that just “allow clients to operate in generic manner on objects that may or may not represent a hierarchy of objects”….
Bridge Pattern
A Bridge Pattern says that just “decouple the functional abstraction from the implementation so that the two can vary independently”. The Bridge Pattern is also…
Adapter Pattern
An Adapter Pattern says that just “converts the interface of a class into another interface that a client wants”. In other words, to provide the…
Structural patterns
Structural design patterns are concerned with how classes and objects can be composed, to form larger structures. The structural design patterns simplifies the structure by…