PHP Architect · Vol 21, Issue 2 · February 2022
DDD Alley: When You Know the Pattern
by Edward Barnard
Software design patterns provide a “voice of experience” that can help solve the problem you’re trying to solve. However, it’s often not obvious how to implement any such design pattern within our modern PHP ecosystem. Here’s an example solution. We are implementing a memoizing Registry that’s outside my CakePHP framework code but uses CakePHP’s database layer. In July 2020’s php[architect], I wrote a most excellent rant, “We Got Robbed.”
The full article is in PHP Architect Vol 21, Issue 2. Subscribe to read it and every new issue.