PHP
Bridge pattern for notifications in PHP
We practice the Bridge pattern in PHP to separate notification types from delivery channels, avoiding class explosion when adding new features
Decorator pattern with pizzas
We practice the Decorator pattern in a pizzeria to add ingredients dynamically, without creating a class for each possible combination
PHP Adapter Design Pattern
A clear guide to the Adapter pattern in PHP, showing how to add new features by adapting external library code without modifying the library itself
A PHP app to practice design patterns
I share how I built a PHP app to practice design patterns using AI