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 Commons 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 Apex Commons
  4. The Application Factory Pattern
  5. The Unit of Work Pattern
  6. The Service Layer
  7. Implementing the Service Layer with Apex Commons
  8. The Domain Layer
  9. Implementing the Domain Layer with Apex Commons
  10. The Selector Layer
  11. Implementing the Selector Layer with Apex Commons
  12. Unit Test Mocks with Separation of Concerns
  13. Implementing Mock Unit Testing with Apex Mocks
Clone this wiki locally