Apex Enterprise Patterns (FFLIB)
Implements scalable Salesforce architecture using Apex Enterprise Patterns including Selector, Domain, Service, and Unit of Work layers.
This skill provides expert guidance and implementation patterns for Salesforce Apex Enterprise Patterns (AEP), commonly known as the FFLIB framework. It facilitates the creation of robust, testable, and maintainable Salesforce applications by enforcing a strict separation of concerns through four core layers: Selectors for SOQL, Domains for business logic, Services for process orchestration, and Unit of Work for atomic DML operations. It is specifically designed for enterprise-scale projects where complex trigger logic and scattered queries need to be centralized and standardized to ensure long-term stability and code quality.