Good resource for OOP information?

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
s992
Forum Contributor
Posts: 124
Joined: Wed Oct 27, 2010 3:06 pm

Good resource for OOP information?

Post by s992 »

First off, I apologize if I posted this in the wrong forum. It seems to fit closest to this topic, but please move it if necessary.

Anyway...

I'm struggling with the general concept and theory behind OOP and was hoping someone here could point me towards any good resource(s). I'm fine with books, websites, whatever you've got - I'd just like to wrap my head around the concept so I can feel comfortable working in it. I'd prefer PHP related resources as they tend to give code examples(which help me greatly), but at this point just about anything will suffice.

Suggestions? Thanks in advance!

EDIT: Yes, I've browsed the resources listed in the sticky of this forum, but I'd like to see some more if anyone has them!
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Good resource for OOP information?

Post by alex.barylski »

Google is an excellent resource. Design patterns and OO best practices and principles such as:

http://c2.com/cgi/wiki?PrinciplesOfObjectOrientedDesign

http://en.wikipedia.org/wiki/Design_pat ... r_science)

Don't just take one source for granted, once you know the names of those principles and patterns, Google other sources. Reading dozens of other people perspective is a great way to learn. Don't make the same mistakes others have made over and over again.

Ask question on forums, download various frameworks and try them all in personal projects or work projects. Writing quality OO code is not easy and iwll take you years to get "right" and you will never "master" it. By the time you begin to master a practice, you will likely discover a new and enhanced way of solving the same problem, so don't try and be perfect.

Cheers,
Alex
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Good resource for OOP information?

Post by josh »

I recommend reading 'gang of four' then 'poeaa'. ISBN 0-201-63361-2 & ISBN: 978-0321127426
Post Reply