PHP Manual
/
Design patterns
Object-oriented programming in PHP

Design patterns

If you've been programming for a long time, you've also noticed that much of the code and development principles are repeated over and over again.

When it comes to closed logic problems, solving these parts of the application can be referred to as algorithms. But how do you address the application design as a whole in a much more general way and not just focus on specific parts? That's what design patterns are for, which describe architectural ideas and best-practices in software design.

The purpose of design patterns is to formalize large chunks of the application and set some boundaries that will allow you to complete even complicated applications and delegate work to many team members.

Status:
All systems normal.
2024