New Videos on Dependency Injection Containers (so much cooler than they sound)

In Drupal 8, everything comes back to the Dependency Injection Container (or DIC). Throughout the "Drupal 8 Developer Prep" series, we've been building up to the point where we can understand exactly what the DIC is for, and how it works under the hood. This week we wrap up our DIC coverage and briefly take a look at the incredible amount of ground we've covered so far in this series. If you've made it this far, give yourself a big hug. Nice work. :)

Why you should never use a dependency injection container within a class even though it's tempting - 0:54

Now that you have a dependency injection container at your disposal, it seems like a convenient tool to use anytime you need an object. But, to keep our code testable, we still have to use dependency injection to get objects into other objects. In this video we explain why.

Updating our framework code to leverage the dependency injection container - 1:04

We have our dependency injection container up and running, so in this video we update our framework code to use it. Instantly making it testable and more flexible.

How to use dependency injection container properties to store settings - 2:46

Not only can we use our dependency injection container to hold instances of objects, we can also store variables or properties in it, too. In this video we show a couple of practical use cases.

(FREE!) An overview of what we learned in these Symfony videos - 5:56

In the last 70 videos or so, you’ve learned a lot about Symfony and also about object-oriented coding in general. In this video we give a recap of the main things we covered, and encourage you to work through the videos a couple of times to really build your chops.

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:

Contact us

Below are the supported keyboard shortcuts for our video player.

Start / stop video
Go to next video
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
Jump to a percentage (2 is 20%, for example)
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
1 month
6 months
10% off
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.