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".
Best PHP5 OOP Books
Moderator: General Moderators
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
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.
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
- 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.
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact: