Tag:

Structural Pattern

7 posts found

2/20/2022
3 min read

Flyweight Pattern: Saving Memory with Shared Objects

## What is the Flyweight Pattern?

By Misbahul Munir

2/16/2022
3 min read

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

2/12/2022
3 min read

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

2/4/2022
3 min read

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

1/27/2022
3 min read

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

1/20/2022
3 min read

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

12/24/2021
3 min read

Decorator Pattern: Adding Features Without Changing the Core

After exploring how to flexibly swap behaviors using the Strategy Pattern, we now venture into one of the most elegant ways to **add functionality dynamically**...

By Misbahul Munir