Salesforce Apex Enterprise Patterns (FFLIB)

•
9
•

Implements standardized, scalable Apex Enterprise Patterns for robust Salesforce development using Selector, Domain, Service, and Unit of Work layers.

This skill provides comprehensive guidance for implementing the Salesforce Apex Enterprise Patterns (FFLIB) framework, facilitating a clean separation of concerns. It assists developers in transitioning from monolithic triggers to a scalable, testable architecture by offering implementation patterns for the Selector, Domain, Service, and Unit of Work layers. Whether you are using the full FFLIB library or a lightweight pragmatic approach, this skill ensures your Salesforce application remains maintainable as it grows in complexity.

主要功能

01Standardized FFLIB implementation patterns for enterprise Salesforce projects
02Architecture guidance for Selector, Domain, Service, and Unit of Work layers
039 GitHub stars
04Pragmatic adoption strategies for migrating legacy code to modern patterns
05Atomic DML orchestration and transaction control using Unit of Work
06Centralized SOQL management and query optimization via the Selector layer

使用场景

01Refactoring complex, logic-heavy Salesforce triggers into a structured Domain layer
02Standardizing data access and SOQL queries across large development teams
03Decoupling cross-object business processes into a stateless Service layer