Best PHP5 OOP Books

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
DaveTheAve
Forum Contributor
Posts: 385
Joined: Tue Oct 03, 2006 2:25 pm
Location: 127.0.0.1
Contact:

Best PHP5 OOP Books

Post by DaveTheAve »

I wish to purchase a few books covering PHP5's OOP, and place a few on the x-mass wish list. Problem is, I don't know which ones to get. I'll confess I'm not the type to read a book, normally I'll glance through them and read only the interesting stuff but they are really nice to have around for whatever reasons.

I was looking at Object-Oriented PHP: Concepts, Techniques, and Code but I wish to get feedback on books this wonderful community recognizes as the "best-of-the-best".
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

Well IMHO the story is double sided.

First you need to learn what is the OOP syntax in PHP. Manual is great for that....and I assume you are already familiar with it.
Everything else is concepts, way of thinking etc. So searching OOP in any programming language (that you can read...and easily translate to php - usually java) should be fine...
Having said that :) here are books I would recommend in no particular order:

- Code Complete, Second Edition
Highly recommend this book. Probably will not read it in one breath...but a lot of good practices could be taken from here. Although not particularly dedicated to OOP I still believe every so called programmer should read it.


- PHP 5 Objects, Patterns, and Practice
Nice book to see php examples and patterns applied in php. Highly recommend.

- Patterns of Enterprise Application Architecture
Most design patterns are described here. Examples in Java. A lot said in this forum about it.. Definately a must. One read will usually not do. Practice everything you read. Some patterns will just not make sense in PHP world but still mind openining.

- Design Patterns: Elements of Reusable Object-Oriented Software
Yet another design patterns book. Revealling some other design patterns not mentioned in PoEAA.

- Refactoring: Improving the Design of Existing Code
Well this goes hand in hand with OOP...you will need to refactor/improve the quality of your code.

- Test Driven Development: By Example
Refactoring is much pleasent to do when testing your code. Gives you a LOT of confidence you did not break anything working.

- Domain-Driven Design: Tackling Complexity in the Heart of Software
Really good book about how you should think in OOP models...title suggests what it is about.
User avatar
DaveTheAve
Forum Contributor
Posts: 385
Joined: Tue Oct 03, 2006 2:25 pm
Location: 127.0.0.1
Contact:

Post by DaveTheAve »

Thank you JMut, I'll see to it I get a few of your mentioned books to read/study.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I can also highly recommend PHP 5: Objects, Patterns, and Practice by Matt Zandstra (jmut's 2nd book listed). It is a good introduction to design patterns as well as intermediate/advanced php 5 in general.
User avatar
DaveTheAve
Forum Contributor
Posts: 385
Joined: Tue Oct 03, 2006 2:25 pm
Location: 127.0.0.1
Contact:

Post by DaveTheAve »

I'm ordering PHP 5 Objects, Patterns, and Practice now thanks. I'll most likely order more in the future, but thats all for now. Oh, and The Ninja Space Goat: I refuse to eat my own hands.
Post Reply