How to use Dependency Injection & Services for unexpected performance gains

We often hear talk about Services and Dependency Injection. In many cases we even use them without necessarily understanding what the benefit is. But when we do that, we don't necessarily get much out of services. In this talk, we'll review the basics of creating and injecting a service, and then dive into techniques for attaining performance benefits by using services. Through examples, we'll show you how we used modified an existing service to reduce resource intensive function calls and greatly improve our site's performance. Our goal is for you to leave this talk with an understanding of how to use Services, as well as more ideas on how to use services to reap even more benefits.

Speakers
Ashraf Abed
Founder / Technical Architect @ Debug Academy
I voluntarily left my job as a Technical Architect at Acquia to focus on increasing the diversity of the Drupal community as well as providing top quality training through my company, Debug Academy.

I am a certified Drupal 7 & 8 Grand Master, and a former Technical Architect at Acquia. I'm involved in numerous enterprise development projects and have been fortunate enough to experience working as the lead developer on Whitehouse.Gov and other prominent Drupal websites.

I founded Debug Academy ( https://debugacademy.com ), where we enable others to kick off or improve careers in web development.

CEO of Debug Academy, where individuals with any level of experience can enroll and become Drupal Developers ready to join an enterprise development team.
Technical Architect at Debug Society, where we make Drupal accessible to non profit organizations and small to medium businesses.

I'm passionate about keeping up with the latest technologies, maintaining a high level of integrity in all that I do, and giving back.

https://www.midcamp.org/2023/topic-proposal/how-use-dependency-injection-services-unexpected-performance-gains

Drupal is a registered trademark of Dries Buytaert.