Leanpub, 2023. — 370 p.
Целевая аудитория: опытные разработчики на PHP.Можно сколько угодно не считать PHP за язык программирования, однако в последнее время быть профессиональным PHP разработчиком становится всё труднее. Конечно, по-прежнему много начинающих программистов выбирают PHP и по-прежнему появляются много плохих проектов, тем не менее, это не противоречит факту, что на этом языке можно писать сложные и качественные приложений с хорошей архитектурой. Автор данного руководства познакомит вас с множеством архитектурных принципов и паттернов, которые помогут сделать ваш код чище.В книге рассматриваются следующие темы:✔ связность кода (coupling);
✔ принципы SOLID;
✔ DI;
✔ интерфейсы;
✔ основы MVC;
✔ Doctrine 2;
✔ основы Laravel и многое другое.
Преимущества:➕ актуальный материал по теме;
➕ примеры хорошего кода;
➕ обзор на популярные технологии.
Недостатки:➖ не замечено.
Your code doesn't have to be an unwieldy, soul crushing nightmare that revokes any joy of programming you once had.
It happens so unexpectedly: your project started off great at first with you developing at a rapid pace, but before you know it, you've come to a screeching halt. Adding the simplest of features takes forever. Unrelated pieces of code keep breaking without being touched. You've given up on tests because you simply don't have time and, frankly, they're all broke at this point anyway.
Your code doesn't have to be an unwieldy, soul crushing nightmare that revokes any joy of programming you once had.
Finding the best way to organize your code is one of the hardest parts of coding.
Determing the best way to architect your application is a very important step in development. Heading in the wrong direction can lead to a nightmare later, and make it nearly impossible to refactor the application to meet new demands, and can make properly testing the application a pain. While the methods outlined in this book aren't the only way to go about developing an application, they do provide a framework for developing applications