Strategy Pattern in Java

Concept: A creational pattern. The Strategy Pattern is essentially a way to provide multiple ways to perform some sort of similar action. I've used the Strategy...

Singleton Pattern on PHP

Concept: A creational pattern. You basically need one "global-type" object to exist. Implementation is pretty cut-and-dry using PHP. Pros: We can be sure that there is...

Design Patterns

While there's literally tons of books, web sites and courses in the area of design patterns, I wanted to consolidate some of the most common patterns....