Recipes for Decoupling
What is coupling, and why is it bad? What is decoupling, and how to do it efficiently? This book is a compilation of strategies to decouple your domain code from those infrastructure details, so you can enjoy a healthier…
What is coupling, and why is it bad? What is decoupling, and how to do it efficiently? This book is a compilation of strategies to decouple your domain code from those infrastructure details, so you can enjoy a healthier…
The new Functional Programming language build-in for PHP.
Mocking is useful, but 'what to mock' usually turns out to be a more complicated than expected if you don't treat this carefully.
Using array_merge inside a loop is a performance killer. The spread operator will help you to improve this by flatting the array.
Argument unpacking, function variable argument list, and variadics function.
Matthias Noback's practical guide to writing flexible, readable, and maintainable object-oriented code, with techniques applicable to any OO language from Python to PHP.
The best guide that brings your coding and architecture skills a level up. All the modern PHP features combined with the elegance of a well designed modular design.
`strict_types=1` is more for the reader than for the writer
Clear contracts, isolated side effects, testability, low complexity and cognitive load, code fluidity, and confidence in yourself.
Fabien Potencier's official guide to building web applications with Symfony 5, covering the framework from scratch to production deployment.