M
M
Maxim Odanets2017-05-22 22:05:23
PHP
Maxim Odanets, 2017-05-22 22:05:23

PHP Design Patterns Workbook?

Good evening.
Interested in " Problem on Design Patterns " by type: a problem from a real project - solutions using patterns with comments. Has anyone met?
For example, something like oop.afti.ru/task_blocks/patterny-proektirovaniya (although there are no solutions here)
I ask because the vast majority of resources explain patterns using examples that are renounced from real tasks. Builder on the example of a Snowman. Abstract factory on the example of Pizza. Duck strategy. There are examples from the world of C++ or Java, which are also not always clear to a PHP person (for example, the Adaptor and millions of rendered trees, etc.) Such examples often confuse more than help.
PS If there is no (good) resource, then how do you look at contributing to the creation of it (that is, help with the search / compilation / inventing of similar questions and examples of their implementation)?
Thanks in advance for your help and constructive comments/answers.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2017-05-22
@Sanasol

https://github.com/zfcampus/zendcon-design-patterns

M
Maxim Fedorov, 2017-05-23
@qonand

Interested in the "Problem on Design Patterns" by type: a problem from a real project - solutions using patterns with comments. Has anyone met?

designpatternsphp.readthedocs.io/en/latest/README.html - of course, not exactly what you want, but the patterns are pretty clear. In general, I would recommend reading the book of the gang of four - there is what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question