Skip to content
Coding With The Force edited this page Mar 21, 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:

  1. Introduction to the Separation of Concerns Design Principle
  2. Introduction to the Apex Common Library
  3. Introduction to Design Patterns used in the Apex Common Library
  4. The Application Factory Pattern
  5. The Unit of Work Pattern
  6. The Service Layer
  7. Implementing the Service Layer with the Apex Common Library
  8. The Domain Layer
  9. Implementing the Domain Layer with the Apex Common Library
  10. The Selector Layer
  11. Implementing the Selector Layer with the Apex Common Library
  12. Unit Test Mocks with Separation of Concerns
  13. Implementing Mock Unit Testing with Apex Mocks
Clone this wiki locally