How to use Dependency Injection & Services for unexpected performance gains
26 Apr 2023, 1:30 am
1 Hour
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.