Ever wanted to post something for over a month and never found the time?
I recently read Matt Zandstra‘s PHP 5 Objects, Patterns, and Practice and thought I’d say a few good words about it for those who haven’t been recommended yet. A lot of good PHP5 books have come out recently, eg something like PHP 5 Power Programming is an excellent resource for the finer points of charset issues, utf8 in PHP, timezone gotchas. But it’s quite unusual in PHP circles for a book to come out that gives overall sound advice on application design.
I found Matt, who comes from a Java background, really hit the nail on the head, this book is an enjoyable read. While the first few chapters make allowances for readers who don’t have a lot of exposure to OOP, the rest is quite a stimulating read, helped along in no small part by Matt’s excellent unambiguous writing style.
The book deals not only with all major components of a large application, but has a very nice section on the Composite pattern, and spends time looking at Phing, PEAR, and the Reflection API, among other things. The book finishes off with a parser project that brings together a lot of the concepts introduced in earlier chapters – I think even PHPers who consider themselves advanced will enjoy this. Matt apparently works for Yahoo in London.