thePHP.cc Logo Deutsch Contact

Five Design Patterns You Need To Know

Design Patterns are blueprints for common problems. Knowing patterns and being able to use them will help you to writte better code faster. In addition, once you are familiar with certain patterns, you will also spot them in other people's code. Last but not least, patterns are a common language for developers that will improve communication in your team. We will introduce five design patterns (Command, Strategy, Factory, Template Method, and Chain of Responsibility) every web developer should know and use. We will show example code, and discuss when and where to use each pattern.