Design patterns were brought to the software community in a book coined Design Patterns, written by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides (known as the “Gang Of Four”).
The core concept on which design patterns were based, presented in the introduction, was simple. Over their years of developing software, Gamma et al found certain patterns of solid design emerging, similar to an architects designing houses and buildings can develop a blueprint for where a bathroom should be located or how a kitchen should be looking. Having those blueprints, or design patterns, means they can design much better buildings more quickly. The same concept applies to software development as well.
Well to add more to this, Php generally follows FIVE design patterns.
1. The factory pattern.
2. The singleton pattern.
3. The observer pattern
4. The chain-of-command pattern.
5. The strategy pattern.
It’s posts like this that keep me coming back and checking this site regularly, thanks for the info!