+ Reply to Thread
Results 1 to 3 of 3

Thread: Oophp

  1. #1
    XtronG's Avatar
    XtronG is offline x10Hosting Member XtronG is an unknown quantity at this point
    Join Date
    Oct 2008
    Posts
    15

    Oophp

    Hell there, I have been spending my time learning php lately and know enough to be at a intermediate level. What I want to learn now it OOP with php. Where are some good places I could look to find information on the subject? Any good books? All the tutorials I fond are for beginners, but I'm already past that.

    Note: Please don't tell me to search Google, I'm not stupid, I've already searched everywhere.

    Thanks alot guys
    Pie,muffins,and whip cream......mad party dude

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Oophp

    I've been working with a lot of PHP OOP lately. It is very unusual if you've learned OOP with other C type languages. I would read the official PHP documentation: http://us3.php.net/manual/en/language.oop5.php

    After that, I've also not found any good references. It seems like many programmers don't like PHP's OOP.

    These are the conclusions I've come to:

    1. __autoload is simply the best idea ever. Don't let anyone tell you otherwise.
    2. __call will not call __get if you try to access a non-static property statically, but it will call a non-static method statically.
    3. 1/2 of the OOP functionality you want to use is in PHP 5.3.0. X10 is on PHP 5.2.8
    4. You can implement infinitely many interfaces, but only extend one class.
    5. There are no sub-classes.
    6. Namespaces are part of rule #3.

    Other than that, I've learned by doing and it has been very unpleasant thus far. Good luck
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Oophp

    Quote Originally Posted by garrettroyce View Post
    I've been working with a lot of PHP OOP lately. It is very unusual if you've learned OOP with other C type languages. I would read the official PHP documentation: http://us3.php.net/manual/en/language.oop5.php
    Well I find that the OOP in PHP5.3 is somewhat similar to some OOP in Java. If you have some experience there...

    I also found some tutorials on google. Check http://nicetutz.blogspot.com/2008/02/php-tutorials.html it seems good.
    Last edited by xav0989; 05-22-2009 at 05:36 AM.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers