Advanced PHP books?

Right now I’m working my way through Sitepoint’s new PHP book: PHP Master. Once I’m finished, what book shall I read next?
I’ve heard some good things about “PHP Objects, Patterns and Practice” from Matt Zandstra, but I believe the book is from June 2010, and 1.5 years are a lot in the webdev world. So maybe other, better books have been published in the mean time?
Not necessarily about patterns, any advanced PHP/MySQL book that continues where PHP Master stops is welcome.

The problem is that I have not read PHP Master :wink: but coming out at about the same time as that book you mentioned was “PHP in Action. Objects, Design Agility.” which I found well written.

That book seems to be from 2007? Unless there’s a new more recent release?

So it is, my apologies.

Do you have any idea of the advanced topics you would like to see covered?

From your question you may be angling towards the subject of OOP which includes 5.3 and 5.4 only features.

‘PHP Masters’ contains a good introduction to those topics. I haven’t come across any other book that goes into more detail as yet. There do not appear to be many books covering advanced PHP and I haven’t seen any that go beyond what ‘PHP Masters’ covers with respect to PHP 5.4.

Ok, thanks.

No, not necessarily OOP. And if there are no advanced PHP specific books, not necessarily PHP either. I don’t really have a clue actually. I was hoping an advanced book might contain new and interesting subjects :slight_smile:

Well, there is one book I can recommend that really delves into Advanced PHP and it is called Advanced PHP by George Shlossnagle – although this dates right back to 2004.

For me the chapter on caching was worth the purchase price alone.

In preparing this reply I discovered that there is a follow up book due out, which I will purchase without doubt.

Not specifically for PHP *, but I’ve heard good things about Clean Code.
I’ve not read it, but it’s on my wishlist for Christmas this year :slight_smile: I’m pretty sure AnthonySterling has it. Not sure if he read it though.

  • in fact it’s for Java, but according to amazon reviews it works for other languages as well.

Yeah, he’s read it allright – he kindly sent me a spare copy he had acquired – and yes, I can thoroughly recommend it.

It is language neutral, dealing concisely with how to write self-documenting code. It is a real eye opener.

In a way it resembles PHP in Action, in that it deals with strategies for writing code – the thing that cuts these books above the rest (for me) is the manner in which they are written. I definitely felt the authors character reaching out and coaching me, YMMV.

If you are willing to take a language-neutral view to your reading matter then the options available to you are so much wider, and I can’t leave this thread without mentioning Fowler’s tomes Patterns of Enterprise Application Architecture (POEAA) and Refactoring (the latter I do not yet own). These are expensive hardbacks – maybe ideal for christmas presents, eh? – but are invaluable.

I’ve searched for it, and that second edition seems somewhat of a ghost book. Almost all sites say it’s published in 2007, but none has it, and one says it’ll be available in May 2012. So I’ve noted it for the future :slight_smile:

Thanks Rémon and Cups for all the pointers. I’m definitely willing to take a language-neutral view. I’ll take a look at these books as well.
And other suggestions are more than welcome :slight_smile:

Hey. :slight_smile:

Clean Code is a brilliant book, be sure to look at Code Complete 2 too; it’s equally as thought provoking.

Sadly, there aren’t many “advanced” PHP books that I’m aware of. To be honest, once you know a language the only the only thing that drives you to write better code is semantics and best practice. This is why you find a lot of the recommended books surround these principles and are largely language agnostic.

With that said, check out “Real-world Solutions for Developing High-quality PHP Frameworks and Applications” by Sebastian Bergmann (of PHPUnit) and Stefan Priebsch.

Anthony.