This webinar has now ended. Please view the session recording below.
Resolve the problem of code reusability in Drupal 7! Understand dependency injection and services in Drupal 8 and how they simplify code reuse.
This webinar is now over. You can view the video above and the slide deck here.
The introduction of Object Oriented Programming in Drupal 8 is an evolution in the world of Drupal which has brought the concept of code reuse and encapsulation, allowing users to build better maintainable and structured code. One of the concepts that contribute to this is Dependency Injection and Services in Drupal
Is there a way for someone to modify the process by which Drupal invokes modules without making changes to the core function in Drupal 7? Or is there a better way to access the global variables without calling them directly in Drupal 7? The answer is “No”. This session aims at understanding the dependency injection and services in Drupal 8, that may be a bit complex but are really usable.
Who Is This For?
What's In It For You?
Understand the problem of reusability in Drupal 7
Understand Drupal 8 core services and how to use them
Learn how to use Dependency Injection in Contrib modules
Learn the best practices for building custom and contrib modules using services and dependency injection
Learn to define your own services and decouple of custom modules