OOP Books

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

OOP Books

Post by Charles256 »

despite myself......
any recommendations on a OOP book that applies to PHP??
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

applies to PHP
Depends on what you mean by "applies". If you're looking for a book that uses PHP examples, good luck. Most of the real famous ones out there are written with Java or C# examples. If you're talking about whether or not the OO concepts in it can be applied to PHP, well, most of them can. You'll be working with a limited toolset in PHP4, but PHP5 gives you must of the OO bundle.

That being said... I just got for myself Patterns of Enterprise Application Architecture, which deals with patterns: problems that continually recur in programming.
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

Post by dbevfat »

I've read PHP5 Objects, Patterns, and Practice (Matt Zandstra). It's a good book IMO, it covers the basics of OOP, main OO patterns, MVC style application (I liked the aproach at the data-layer), some PEAR, phpDocumentor, CVS, and Phing stuff and it reads quite well.

Waiting for php|architect's Guide to PHP Design Patterns (Jason E. Sweat). The word on the street is that it's good.

Also, there is PHP5 Power Programming (Andi Gutmans, Stig Saether Bakken, and Derick Rethans), which is freely available on the net, just google for it. I bought it, because I didn't know that at the time. I don't regret it, I prefer paper over LCD for reading books any day.

Regards
User avatar
sweatje
Forum Contributor
Posts: 277
Joined: Wed Jun 29, 2005 10:04 pm
Location: Iowa, USA

Post by sweatje »

Here was a list of Book References I put into my book:


GoF - Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995.
PoEAA - Martin Fowler Patterns of Enterprise Application Architecture Addison-Wesley, 2003.

• Harry Fuecks, PHP Anthology: Object Oriented PHP Solutions, SitePoint Pty. Lt., 2003

• Allen Holub, Holub on Patterns: Learning Design Patterns by Looking at Code, Apress, 2004.

• Robert Martin, Agile Software Development, Prentice Hall, 2003.

• Clifton Nock, Data Access Patterns, Addison-Wesley, 2004.

• George Schlossnagle, Advanced PHP Programming, SAMS, 2004

• Alan Shalloway and James R. Trott, Design Patterns Explained, Addison-Wesley, 2005

• Rebecca Wirfs-Brock and Alan McKean, Roles, Responsibilities and Collaborations, Addison-Wesley, 2003.

• Matt Zandstra, PHP 5 Objects, Patterns, Practice, Apress, 2004.

Clearly not all of these are PHP only, but they are all great books for improving your overall programming knowledge.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

yeah I was looking into that dvanced PHP programming. Might drop the mnoey for it...
here's the link to the free book mentioned..
http://www.phptr.com/content/images/013 ... X_book.pdf
Post Reply