The Apex Common Library Master Class
The Selector Layer Pattern in Apex (Apex Common Part 13)
What is the Selector Layer The Selector Layer is Salesforce is based off Martin Fowler’s Data Mapper Layer concept. It’s, “a layer of Mappers that moves…
5 May 2021
3 min
Category
The Apex Common Library Master Class
The Apex Common Library master class – The most complete and comprehensive guide available going over the Apex Common Library and how to implement it within your Salesforce org. It covers every layer of the Separation of Concerns design principle, the service layer, domain layer and selector layer, with working Apex examples.
17 posts
The Apex Common Library Master Class
The Selector Layer Pattern in Apex (Apex Common Part 13)
What is the Selector Layer The Selector Layer is Salesforce is based off Martin Fowler’s Data Mapper Layer concept. It’s, “a layer of Mappers that moves…
5 May 2021
3 min
The Apex Common Library Master Class
Implementing the Selector Layer with fflib (Part 14)
The Template for every Selector Class you create Every Selector layer class you create should at least implement the following methods for it to work as…
5 May 2021
8 min
The Apex Common Library Master Class
Unit Tests vs Integration Tests in Apex (Part 15)
What is Unit Testing? Unit Testing, is a way to test the logic in one class and ONLY one class at a time. Most classes in…
5 May 2021
4 min
The Apex Common Library Master Class
Unit Test Mocks with Separation of Concerns (Part 16)
How does Unit Testing fit into Separation of Concerns? The answer to this is simple, without Separation of Concerns, there is no unit testing, it just…
5 May 2021
6 min
The Apex Common Library Master Class
Unit Testing with the Apex Mocks Library (Part 17)
What is Apex Mocks? Apex Mocks is unit test mocking framework for Apex that was inspired by the very popular Java Mockito framework. The Apex Mocks…
5 May 2021
21 min