Home

Awesome

Force DI Samples

The files in this project are various example implementations of the Force-DI Apex dependeny injection framework.

Dependencies: Must deploy Force-DI before deploying this library.

For more information on the Force-DI framework or dependency injection concepts, please refer to the Force-DI project.

Project Folders

The "core" framework is found in Force-DI project. This includes the following:

FolderDescription
force-diCore library, contains Injector Apex API and <c:di_injector> VF and Lightning Components

The "samples" of how to use the framework can be found in this project.

FolderDescription
force-app-1Sample application using the API and Components to inject Apex, VF and Lightning at runtime
force-app-2Sample package providing impls for various bindings above
force-app-3Sample package providing impls for various bindings above
force-di-trigger-demoSample basic trigger framework leveraging the API

Force DI Example