SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
-
Nov 27, 2008, 07:17 #1
- Join Date
- Dec 2005
- Posts
- 336
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Learning Object Oriented Programming
Simply put, I want to learn OOP, concepts, thinking, etc. I have owned this Object-Oriented PHP: Concepts, Techniques, and Code which teaches OOP for PHP, that wasn't easy enough for me. Can anyone recommend an easy book to learn OOP?
I was looking at the following, but not sure if it covered the beginner well:
Head First Object-Oriented Analysis and Design
OOP Demystified
I didn't see anything from Sitepoint specifically...
Is there any online reading for learning OOP?Last edited by centered effect; Nov 27, 2008 at 14:33.
-
Nov 27, 2008, 11:14 #2
- Join Date
- Jun 2003
- Location
- East Coast
- Posts
- 2,215
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Online tutorials
The first one looks pretty decent. As far as books go, i'm pretty certain that SP's newest PHP book covers OOP practices in PHP5, though i'm not sure how in depth it goes.█ Nick . all that we see or seem, is but a dream within a dream
█ Show someone you care, send them a virtual flower.
█ Good deals on men's watches
-
Nov 27, 2008, 13:37 #3
- Join Date
- May 2007
- Location
- Poole, UK
- Posts
- 5,077
- Mentioned
- 103 Post(s)
- Tagged
- 0 Thread(s)
SitePoint would do well releasing a book on OOP which would follow on from Kevin Yank's book, using the same example but following the refactoring of the code into OOP with explanations. The current sitepoint book on OOP PHP is more of a 101 solutions to plug into your site book.
Community Team Advisor
Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator
-
Nov 28, 2008, 08:14 #4
- Join Date
- Feb 2007
- Posts
- 270
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Learning OOP using PHP is like learning woodcarving by using a paring knife. It can certainly be done, but you'll be making it a lot harder than it needs to be. Even C++ makes a better OO language than PHP currently does. (Oh, it's slouching towards being a real OO language, and no doubt will get there eventually, but right now it isn't.)
Event Helix (C++ but useful)
Microsoft-centered video on it (Silverlight required)
Sun's Java Tutorials
Where you go from here depends on your aim. If you want to learn object oriented programming principles and techniques, you'll probably be better served by using a true OO language like Java than one with OO-like features grafted om such as PHP. OTOH, if you already know PHP and all you're wanting to do is apply OO techniques to your PHP programming, stick with the PHP book.
-
Dec 14, 2008, 06:20 #5
- Join Date
- Jul 2000
- Location
- Dublin , Ireland
- Posts
- 1,271
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
A book on design pattners is also a good idea.
Back Again
-
Dec 15, 2008, 08:32 #6
- Join Date
- Nov 2005
- Location
- Germany
- Posts
- 235
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Dec 15, 2008, 11:18 #7
- Join Date
- Aug 2007
- Location
- St. Louis, MO.
- Posts
- 206
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I agree with FrIB, I made the mistake of diving into a huge UML and patterns book before I really understood how to use OOP PHP.
I would recomend this book PHP Objects, Patterns and Practice. It does have some basic pattern and UML stuff but the first couple chapters show you how to use PHP OOP. The more you use OOP the more patterns will make sense.
Bookmarks