OOP (Course 2): Services, Dependency Injection and Containers
Offered By: SymfonyCasts
Course Description
Overview
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!
Syllabus
- Service Classes
- An Army of Service Classes
- Sharpening the Battle Result with a Class
- Optional type-hinting & Semantic Methods
- Objects are Passed by Reference
- Fetching Objects from the Database
- Handling the Object Id
- Making only one DB Connection with a Property
- OO Best Practice: Centralizing Configuration
- OO Best Practice: Centralizing the Connection
- Service Container
- Container: Force Single Objects, Celebrate
- Container to the Rescue
Taught by
Ryan Weaver and Leanna Pelham
Related Courses
Cloud Computing Applications, Part 1: Cloud Systems and InfrastructureUniversity of Illinois at Urbana-Champaign via Coursera Introduction aux conteneurs
Microsoft Virtual Academy via OpenClassrooms Elastic Cloud Infrastructure: Containers and Services
Google Cloud via Coursera Architecting Distributed Cloud Applications
Microsoft via edX DevOps Practices and Principles
Microsoft via edX