#Design Patterns

11 articles

Learning Design Patterns with PHP - State Pattern
Application 2019-04-20

Learning Design Patterns with PHP - State Pattern

Learn the State pattern to switch behavior dynamically by encapsulating state-specific processing in separate classes.

#GoF#PHP#Design Patterns#State Pattern
Learning Design Patterns with PHP - Adapter Pattern
Application 2019-02-01

Learning Design Patterns with PHP - Adapter Pattern

Master the Adapter pattern to change interfaces without modifying original classes using composition and wrappers in PHP.

#Adapter Pattern#GoF#PHP#Design Patterns
Learning Design Patterns with PHP - Bridge Pattern
Application 2019-02-01

Learning Design Patterns with PHP - Bridge Pattern

Understand the Bridge pattern to separate functional and implementation extensions using composition in PHP application design.

#GoF#PHP#Design Patterns#Bridge Pattern
Learning Design Patterns with PHP - Mediator Pattern
Application 2019-01-31

Learning Design Patterns with PHP - Mediator Pattern

Explore the Mediator pattern to coordinate complex interactions between objects and improve relationship visibility in PHP.

#PHP#Design Patterns#Mediator Pattern#GoF
Learning Design Patterns with PHP - Strategy
Application 2018-12-09

Learning Design Patterns with PHP - Strategy

Implement the Strategy pattern to switch algorithms dynamically, reduce conditionals, and follow OCP in your PHP code.

#Design Patterns#PHP#GoF#Strategy Pattern
Learning Design Patterns with PHP - Factory, Factory Method, Abstract Factory
Application 2018-12-01

Learning Design Patterns with PHP - Factory, Factory Method, Abstract Factory

Learn Factory, Factory Method, and Abstract Factory patterns to centralize object creation and eliminate conditional branches.

#Design Patterns#GoF#PHP#Abstract Factory Pattern#Factory Pattern#Factory Method Pattern
DI and Service Locator
Application 2018-06-05

DI and Service Locator

Implement dependency injection patterns. Compare DI and Service Locator with constructor injection examples for loosely coupled code.

#DI#Service Locator#Design Patterns
Learning Design Patterns with PHP - Adapter ~Modifying APIs~
Application 2017-10-01

Learning Design Patterns with PHP - Adapter ~Modifying APIs~

Learn the Adapter pattern to reuse existing code without modification while adapting incompatible interfaces flexibly.

#PHP#Adapter Pattern#Design Patterns
Learning Design Patterns with PHP - Basics of Object-Oriented Programming
Application 2017-10-01

Learning Design Patterns with PHP - Basics of Object-Oriented Programming

Master OOP fundamentals including inheritance, interfaces, traits, static properties, and methods for design pattern study.

#Design Patterns#PHP#OOP
Learning Design Patterns with PHP - Singleton: Limiting Instances
Application 2017-10-01

Learning Design Patterns with PHP - Singleton: Limiting Instances

Understand the Singleton pattern to control instance creation, restrict access, and manage single object state in PHP.

#Design Patterns#PHP#Singleton Pattern
Learning Design Patterns with PHP - Template Method ~Filling in the Blanks~
Application 2017-10-01

Learning Design Patterns with PHP - Template Method ~Filling in the Blanks~

Discover the Template Method pattern to aggregate common processes in superclasses and abstract specific subclass implementations.

#Design Patterns#PHP#Template Method Pattern