mautoblog: ~/en/guide/design-patterns

Design Patterns

The classic patterns with practical examples, one per page.

24 parts · 09/2024

❯ start with part 1
  1. Design Patterns

    A short introduction to Design Patterns, with practical examples in PHP

    27/09/2024 · 5 min

  2. Design patterns: Singleton

    The Singleton design pattern with PHP examples

    27/09/2024 · 2 min

  3. Design patterns: Factory Method

    The Factory Method design pattern with examples in PHP

    27/09/2024 · 2 min

  4. Design patterns: Abstract Factory

    The Abstract Factory design pattern with examples in PHP

    27/09/2024 · 3 min

  5. Design patterns: Builder

    The Builder design pattern with examples in PHP

    27/09/2024 · 3 min

  6. Design patterns: Prototype

    The Prototype design pattern with PHP examples

    27/09/2024 · 3 min

  7. Design patterns: Adapter

    The Adapter design pattern with examples in PHP

    27/09/2024 · 2 min

  8. Design patterns: Bridge, What It Is and How to Use It (PHP)

    The Bridge pattern explained: separating abstraction from implementation, its benefits and a PHP example with payment methods (credit card, PayPal) and personal or business accounts.

    27/09/2024 · 3 min

  9. Design patterns: Composite

    The Composite design pattern with examples in PHP

    27/09/2024 · 2 min

  10. Design patterns: Decorator

    The Decorator design pattern with examples in PHP

    27/09/2024 · 2 min

  11. Design patterns: Facade, What It Is and How to Use It (PHP)

    The Facade pattern explained: what it is for, its benefits and a full PHP example, a single facade over a cinema's movie catalog, ticket office and users.

    27/09/2024 · 4 min

  12. Design patterns: Flyweight

    The Flyweight design pattern with examples in PHP

    27/09/2024 · 3 min

  13. Design patterns: Proxy

    The Proxy design pattern with PHP examples

    27/09/2024 · 3 min

  14. Design patterns: Chain of Responsibility Explained (PHP)

    The Chain of Responsibility pattern explained: what it is for, its benefits and a PHP example with a three-level support chain: basic, advanced and administrator.

    27/09/2024 · 3 min

  15. Design patterns: Command

    The Command pattern with examples in PHP

    27/09/2024 · 3 min

  16. Design patterns: Interpreter

    The Interpreter pattern with examples in PHP

    28/09/2024 · 3 min

  17. Design patterns: Iterator

    The Iterator pattern with PHP examples

    27/09/2024 · 3 min

  18. Design patterns: Mediator

    The Mediator pattern with PHP examples

    27/09/2024 · 3 min

  19. Design patterns: Memento

    The Memento pattern with PHP examples

    27/09/2024 · 3 min

  20. Design patterns: Observer

    The Observer pattern with PHP examples

    27/09/2024 · 3 min

  21. Design patterns: State, What It Is and How to Use It (PHP)

    The State pattern explained: what it is for, its benefits and a PHP example with a coffee machine that changes behavior depending on its state (no coin, has coin, dispensing).

    27/09/2024 · 3 min

  22. Design patterns: Strategy

    The Strategy pattern with PHP examples

    27/09/2024 · 3 min

  23. Design patterns: Template Method

    The Template Method pattern with PHP examples

    27/09/2024 · 3 min

  24. Design patterns: Visitor

    The Visitor pattern with PHP examples

    27/09/2024 · 3 min

all guides >
Copied