Tag:
7 posts found
Flyweight Pattern: Saving Memory with Shared Objects
## What is the Flyweight Pattern?
By Misbahul Munir
Proxy Pattern: Controlling Access Like a Middleman
Sometimes, direct access to an object isn’t desirable or possible. You might want to add an **extra layer of control** — like validation, caching, lazy loading,...
By Misbahul Munir
Bridge Pattern: Decoupling Abstraction from Implementation
In complex systems, tight coupling between **abstractions and their implementations** can create rigidity. What if you want to vary both **what you do** and **h...
By Misbahul Munir
Composite Pattern: Treating Groups and Individuals the Same
In software design, complexity often arises not from individual parts but from how parts relate to each other — especially when **some parts contain other parts...
By Misbahul Munir
Facade Pattern: Simplifying Complex Systems
In the world of structural design patterns, the **Facade Pattern** stands out for its simplicity and power. It’s a pattern that promotes clean architecture by h...
By Misbahul Munir
Adapter Pattern: Making Incompatible Interfaces Work Together
After finishing the creational patterns, we now enter the world of **structural patterns** — which are all about **how classes and objects are composed** to for...
By Misbahul Munir