Modern PHP (英语) 平装 – 2015年2月20日
Josh Lockhart is the creator of the Slim Framework for PHP. He also created and maintains PHP The Right Way, a popular initiative in the PHP community to encourage best practices and provide quality information. Josh is a senior developer at New Media Campaigns, a full service web design, development, and marketing agency in Carrboro, North Carolina.
|5 星 (0%)|
|4 星 (0%)|
|3 星 (0%)|
|2 星 (0%)|
|1 星 (0%)|
I will surely be referring to this book to lean on some of Josh's recommendations as I setup new projects.
A little additional Josh Lockhart plug--I learned about him when I chose to use his Slim PHP micro framework in my latest project. That project was rolled into production about 90 days ago to very happy customers. I am delighted with Slim. It does the very basic plumbing I'd rather not code and does it very well. Then it stays the heck out of my way so I can write my own PHP to do what I need to do.
I would just like to thank the author for touching a lot of amazing points about modern PHP in a fun and well organized way. It was actually a fun, interesting read from start to finish. I think that it only languished in technical detail when and for as long as it needed to. I went away from PHP around 5.3 and came back months before PHP 7 came on the scene. This book was exactly what I needed to catch up and see what amazing things were happening in PHP and the community. I could see it being a great read, too, if you're fairly familiar with PHP.
The "Features" chapter and the first "good practices" chapter are worth the price of the whole book.
Now there IS something which could be better, and I'm being fussy here: the writing is still too verbose. Still, as in so many technical books are too verbose. The gold standard of "how to be better at your craft" book is "The Elements of Style" by Strunk and White, and that's because of its brevity. Even though that book is about writing, and this book is about code, I think it could be inspired by Strunk/White and cut the amount of explaining way down. I think this about every tech manual I've ever read, I should say.
BUT the content is good enough that it more than makes up for it and I've very glad I read it. Teaching myself some Symfony components now so I don't re-invent the wheel on my next application.