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!
Good resource for OOP information?
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: Good resource for OOP information?
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
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
Re: Good resource for OOP information?
I recommend reading 'gang of four' then 'poeaa'. ISBN 0-201-63361-2 & ISBN: 978-0321127426