67.8 F
Tampa
Friday, December 9, 2022
spot_img
spot_img

Write Flexible Apex using Dependency Injection | Developer Quick Takes

Date:

In this video, we will show you how to apply Dependency Injection to Apex so that you can write modular and reusable code that is flexible to potential future changes in the requirement.
To learn more check out below resources –
Blog – https://developer.salesforce.com/blogs/2019/07/breaking-runtime-dependencies-with-dependency-injectionDependency
Injection Framework for Salesforce apps – https://github.com/apex-enterprise-patterns/force-di

00:00 Introduction
00:40 What is dependency Injection
01:25 What is tight coupling
02:30 Using Interfaces
03:25 Use Injector Class for DI
06:25 Pros and Cons of DI
07:45 Additional Resources

Connect with Salesforce Developers:
Website: https://developer.salesforce.com/
Facebook: https://facebook.com/salesforcedevs/
Twitter: https://twitter.com/salesforcedevs
LinkedIn: https://linkedin.com/showcase/salesforce-developers

8 COMMENTS

Share post:

crm erp
crm erp

Popular

More like this
Related

Data Visualization in FileMaker Web Viewer

Alec Gregory from Beezwax presents at the Claris...

Finer Faster FileMaker Precision: Measuring How Long It Takes

Because our machines are so much faster, measuring...

Ready to Master Claris Studio? Advanced Dashboard Charting (Course Excerpt)

Are you curious about Claris Studio and what it...

The Good, the Bad, and the Ugly of your Claris FileMaker System

Like going to the doctor for an annual physical...