-
Notifications
You must be signed in to change notification settings - Fork 19
Home
Coding With The Force edited this page Apr 6, 2021
·
42 revisions
This wiki hopes to simplify the concept of Separation of Concerns in Salesforce and leveraging the Apex Common Library to implement it.
Table of Contents:
- Introduction to the Separation of Concerns Design Principle
- Introduction to the Apex Common Library
- The Factory Pattern
- The fflib_Application Class
- The Unit of Work Pattern
- The fflib_SObjectUnitOfWork Class
- The Service Layer
- Implementing the Service Layer with the Apex Common Library
- The Template Method Pattern
- The Domain Layer
- Implementing the Domain Layer with the Apex Common Library
- The Builder Pattern
- The Selector Layer
- Implementing the Selector Layer with the Apex Common Library
- The Difference Between Unit Tests and Integration Tests
- Unit Test Mocks with Separation of Concerns
- Implementing Mock Unit Testing with Apex Mocks