Design Patterns Coming Soon

I just finished part one of a two part series I am writing for PHP Magazine about design patterns. In it, I cover a variety of useful patterns that can make your PHP code more flexible and make you more able to adapt it to real-world changes.
Some patterns covered are:

Part I

  • Creational
    • Abstract Factory
    • Singleton
  • Structural
    • Adapter

Part II

  • Structural
    • Decorator
  • Behavioral
    • Strategy
    • Observer

The article also includes source code and UML diagrams explaining the power of design patterns, bringing practical, PHP-specific examples to this topic. All in all, I am hoping it proves a useful contribution to the PHP community and makes for a nice read. Stay tuned for the release of Part I.

Sample UML Diagram From The Article

Categories: PHP.