SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict
    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.

  2. #2
    masquerading Nick's Avatar
    Join Date
    Jun 2003
    Location
    East Coast
    Posts
    2,215
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by centered effect View Post
    Is there any online reading for learning OOP?
    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

  3. #3
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,014
    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

  4. #4
    SitePoint Addict
    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.

  5. #5
    I'm a college yuppie now! sbdi's Avatar
    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

  6. #6
    SitePoint Addict
    Join Date
    Nov 2005
    Location
    Germany
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sbdi View Post
    A book on design pattners is also a good idea.
    I wouldn't bother about that at the beginning. Design Patterns will confuse beginners, because they offer solutions to problems the unexperienced users don't know even exist.

  7. #7
    SitePoint Addict
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •