• Composite Pattern

    The Composite Design Pattern is a structural design pattern that allows you to treat individual objects and compositions of objects uniformly. It enables you to create a tree-like structure of objects, where each object can be either a leaf (individual object) or a composite (group of objects).

  • Bridge Pattern

    The Bridge Pattern is a structural design pattern allowing us to create structures from classes and objects. It divides related classes into two separate hierarchies: abstractions and implementations. The benefit of doing so is that there is no impact of change of functionality in one hierarchy on the other.

  • Adapter Pattern

    The Adapter Pattern is the first structural pattern we will discuss. It allows two classes or systems having incompatible interfaces to work together. Essentially it acts as a middle layer by wrapping an existing class with a new interface making it compatible with the client’s interface.

  • Singleton Pattern

    Singleton Pattern is a creational design pattern that makes sure that only a single instance is created for a class. It also provides global access to this single instance so that anyone can use the same instance.

  • Prototype Pattern

    Prototype Pattern is a creational design pattern that lets you clone existing objects, rather than making new objects. This pattern is beneficial when the object creation process is complex, time-consuming, or requires a significant amount of resources.

Previous | Next