OOP (course 4): Static methods, Namespaces, Exceptions & Traits! Woh!

Finally, we can really unload and see all the cool OOP stuff that we haven't covered yet. These are the last missing pieces that are standing between you and understanding any OO code you meet.

  • Static methods
  • Class constants
  • Namespaces
  • Autoloading (RIP require statements)
  • __toString & the other magic functions
  • Treat that $object[1] like an array (ArrayAccess)
  • Throwing and catching a baseball Exceptions
  • Traits! Horizontal code re-use
  • Composition Versus Inheritance: Dressing your classes for success

Finally, you're going to start to see some serious pay-off from these new, crazy OO skills you've got. In this tutorial, OO is here to impress us. Dig in.


Your Guides

Ryan Weaver Leanna Pelham

Questions? Conversation?

  • 2016-08-11 Gayan Ramya Kumara

    A good stuff .Thanks

  • 2016-06-21 Victor Bocharsky

    Hey, Sander!

    Haha, it's awesome! We'll notify you by email if you hit the "Notify me" button at the top right of this page.

    Cheers!

  • 2016-06-21 Sander de Wijs

    Can't wait for this course, I really enjoyed the previous three!

  • 2016-06-20 Victor Bocharsky

    Thank you, Euclides!

  • 2016-06-20 Euclides Cohen

    Nice! Looking forward for this one!

  • 2016-05-31 weaverryan

    Hey there!

    This will be out in late June - so 3-4 weeks from now :). If you hit the "Notify me" button at the top right of this page, we'll send you a one-time email when it comes out.

    Cheers!

  • 2016-05-30 irfan

    when this course will be available ?