AT4DX Documentation
AT4DX (Advanced Techniques for Salesforce DX) is a framework built on fflib and force-di that enables enterprise-scale, metadata-driven development with true package modularity.
Table of Contents
| Page | What You'll Learn |
|---|---|
| Getting Started | What AT4DX is, why it exists, who it's for |
| DI Concepts | What dependency injection is and how AT4DX implements it |
| Architecture Layers | The AEP package layering and where your code belongs |
| Application Factory Injection | The four core factories: Selector, Domain, Service, UnitOfWork |
| Selector Field Injection | Querying cross-package fields without coupling |
| Selector Method Injection | Adding package-specific queries without creating another selector |
| Domain Process Injection | Injecting criteria and actions into domain processing via DomainProcessCoordinator |
| Multi-App – Single Org Example | End-to-end walkthrough of Sales, Marketing, and Service sharing one org |
| Testing Patterns | Unit and integration testing with factory mocks |
Quick reference: Reference — metadata types, key classes, framework references, common errors
AT4DX was created by @ImJohnMDaniel and @Stohn777. Dreamforce 2018 session · Slidedeck (PDF)