Jump to ratings and reviews
Rate this book

The Clean Architecture in PHP

Rate this book
Your code doesn't have to be an unwieldy, soul crushing nightmare that revokes any joy of programming you once had.

252 pages, Unknown Binding

First published May 25, 2015

11 people are currently reading
99 people want to read

About the author

Kristopher Wilson

2 books18 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
21 (32%)
4 stars
33 (51%)
3 stars
10 (15%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 7 of 7 reviews
Profile Image for Alexander Skakunov.
82 reviews121 followers
July 7, 2015
Not bad. 1st part of the book is about 4 design patterns and SOLID principles.
2nd part of the book is an example of billing app: first in ZF2, then it switches to Laravel.
Profile Image for Mohamed Abdul-Fattah.
2 reviews2 followers
January 29, 2023
A great book that explains the Clean arch. with an implementation example removing the code gap problem.
Some points would be better to be considered:
1. I had to go through some misconfigured framework configurations to get it up and running.
2. Should provide frameworks and libraries versions to match the same environment as the frameworks had evolved and the file structure had changed a bit.
3. What about the ActiveRecord that most frameworks use be default and is more popular than the DataMapper pattern?.
Profile Image for Eugene Borovov.
9 reviews
November 11, 2019
Замечательная книга, которая расставляет всё по полочкам. Рассказ начинается с самых азов программирования PHP и постепенно показывает как получить приложение, которое соответствует чистой архитектуре (луковому варианту). Лучше читать издание 2016 года, там часть с примерами более полная. Также код примера эволюции приложения между фреймворками и инструментами приведён на github, удобно уточнять непонятные места.
Советую прочитать всем, кто задумался над правильной архитектурой. Самое главное что я вынес из книги -- это мотивация следовать чистой архитектуре. Ранее возникали мысли, что это бесполезное занятие достойное разве что энтерпрайзной джавы. НО! как показывает учебный пример полезно и в PHP. Хотя пример и выглядит неубедительно, но это из-за куцей модели предметной области.
Profile Image for Taghreed Mohammed Kamel.
8 reviews12 followers
October 12, 2022
The book explanation sequence to preview the bad code issues and the gradually improvements with every chapter in the same code is very clear and make it easy to understand.

The only problem with the book that it is too old, so there are deprecated technologies used in the explanation, I found it difficult and very time consuming to try using laminas instead of Zend Framewrok which the author used to explain code framework independence but it is very good as a begging to understand architecture.
Profile Image for Mohamed Amin.
15 reviews8 followers
April 6, 2020
I think this book is a must to read for every PHP Developer to enhance his/her code.
the first 100 pages were really fascinated and very helpful to understand more about clean code and applying solid and achieving dependency to each layer of your code.

I read this book around 3 times till now - some of the topics I read more than 3 times.

Take your time to grasp the concepts first, the implementation is super easy after deep understanding.

Profile Image for Mohamad Eldhemy.
35 reviews11 followers
January 12, 2020
مش بطال، لكنه مش كفاية.
فيه أفكار لطيفة وحلوة، لكن في صفحات كتير ممكن تعملها skip عادي.. كان فيها حشو وزيادة ورق😅
لكن على كل حال تجربة الكتاب حلوة.
Profile Image for Trần Trung.
2 reviews
May 18, 2016
I would recommend this book to developers of any level, who want to produce good, clean and solid code. I like the way that the author explains everything, clear and interesting. I also particularly like how he splits the M - Model in MVC architecture into Entity and Persistence.
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.