A Look Under the Hood of AdonisJS [Part 2] - Service Providers
Patrick O'Dacre Feb 12, 2018 Updated on Feb 15, 2018
Subscribe to my YouTube channel for more tutorials on working with VueJS and AdonisJS -- an MVC framework for NodeJS!
Follow along as I explore Service Providers in AdonisJS.
Service Providers are how we add instructions for new objects to our IoC Container.
Together we'll cover each section of the docs and go through the source code to see how they actually work.
We'll look at the ViewProvider and AppProvider, as well as the Config class and how it helps us manage our object configuration.
In part 1 of this series, we took an in-depth look at the IoC Container. If you didn't watch that video, be sure to watch it first!
By the end of these videos, you'll have a firm grasp on how the IoC Container and Service Providers do their jobs, and just how helpful they are.