1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[PHP]Lesser known OOPS concepts

Discussion in 'PHP & Perl' started by Gogol, Jul 19, 2013.

  1. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    Just had a great read. Hope someone else finds it useful too :)


    Code:
    http://phpmaster.com/lesser-known-features-of-phps-oo-model/
     
  2. dannyhw

    dannyhw Senior Member

    Joined:
    Jul 16, 2008
    Messages:
    980
    Likes Received:
    462
    Occupation:
    Software Engineer
    Location:
    New York City Burbs
    I thought I had more impractical PHP knowledge than anyone on the planet, then objects of the same class accessing other objects private properties fucked my head.
     
    • Thanks Thanks x 1
  3. Bokva

    Bokva Regular Member

    Joined:
    Jan 26, 2010
    Messages:
    201
    Likes Received:
    110
    Occupation:
    Graphic and Web design
    Location:
    Underground
    I wish I have some more time to go through all of that, as I love that sh*t.

    Bookmarked for better times. :)
     
    • Thanks Thanks x 1
  4. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    Yeah so did I. It's bookmarked. I went through the article quickly, an it looks like a gem!

    Same here! It is not too much of a tough concept if you look at it, but never thought it could happen really :)
     
    Last edited: Jul 20, 2013
  5. thedorf

    thedorf Senior Member

    Joined:
    Oct 1, 2008
    Messages:
    1,193
    Likes Received:
    700
    Occupation:
    what? I gotta have a job?
    Location:
    BHW - Where else?
    hmm marking this thread for future ref
     
  6. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    Also, I have never really used traits. So I learned some new thing yesterday for sure.