OOP (Course 2): Services, Dependency Injection and Containers

Time to take things up a notch!

In this Course, we'll leverage what we learned in Course 1 to really start using what we know. We'll clean up old functions with new classes, learn a practice called dependency injection and organize our objects into something called a container. This is the course that really makes objects useful and sets us up for future stuff (inheritance, interfaces, etc).

So let's get serious:

  • Service Classes
  • Organize with private functions
  • Goodbye arrays, hello BattleResult
  • Objects passed by Reference
  • Query from the Database, but using Objects!
  • Dependency Injection!!!
  • Creating a Service Container

Do it!


Your Guides

Ryan Weaver Leanna Pelham

Questions? Conversation?

  • 2016-05-15 Andrea

    Great job!

  • 2015-08-04 weaverryan

    Hey! Our planned release is this month (Aug) - but we're still a few weeks away. There's a Notify button on http://knpuniversity.com/scree... you can use - and we'll email you when there are updates.

    Cheers!

  • 2015-08-03 chy

    when are you going to release ep 3? thx