Answer the question
In order to leave comments, you need to log in
How to use design patterns in work (php + laravel)?
Good afternoon.
When creating applications, I constantly stumble upon examples that use structural design patterns.
In my usual work, I rarely see normal implementation examples of at least one, with the exception of those already built into Laravel (such as the default DI used there, the container service, etc.).
The same repository pattern in Laravel does not have two similar solutions.
Are there any tutorials on how to use the template pool in laravel?
Maybe there are already agreements on this basis?
I do not understand English well enough to quickly understand complex topics
Answer the question
In order to leave comments, you need to log in
The use of patterns does not depend on the framework or programming language used, but rather on the tasks.
Patterns allow you to write more efficient code for a particular functionality in terms of further support.
There's a good resource for getting to know the main patterns encountered, as well as when to use them and when not to.
https://refactoring.guru/en/design-patterns
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question