Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2007
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Practical OO Tut

    Hi all,

    I'm looking for some well-written, practical object oriented php tutorials, either books or online. I've found a lot of tuts that don't go very in-depth and simply end once you learn the basics. I'd like to find some that have very practical examples, login scripts, blogs, etc. I'm wary of finding random examples online that are probably badly coded (some of the nettuts oo php tuts come to mind) and would rather learn from a respectable source. Thanks for any suggestions!

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    I'll see if I can dig some up for you. Do you require them in PHP or would another language suffice (so long as they are generic enough)?

    Part of the problem with PHP is that its OO capabilities are quite new (lessee... 2 1/2 years or so if I remember correctly... wait has it really been that long?). On top of it being an OO infant, there is considerable differences between PHP5.0 and PHP5.2 for example. These vary from bug fixes to additional features (PHP 5.3 for example is adding in the late static binding).

    For all of these reasons, well done tutorials are quite difficult to find specifically for PHP. Even some of the code I've posted here is old old now. My collections was designed soley to get some first hand experience with the new interfaces in PHP 5.1. I would assume a whole pile of online tutorials would be in the same boat - good for its time, deprecated now, only a few months later.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    Regular Coder
    Join Date
    Mar 2007
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I assume another language would suffice but php would be preferable.

    I was unaware that so much has changed in recent php updates.

    I was able to find two books so far. One entitled Object Oriented PHP: Concepts Techniques and Code and the other is called PHP Object Oriented Solutions. I'm starting with the latter one because it is more recent (2008) and covers 5.2 (possibly 5.3).

    If anyone has read these books, please let me know if they're worth it. And, any other suggestions on what might be a better resource would be greatly appreciated.

    Thanks!


  •  

    Posting Permissions

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