SoC and the Apex Common Library Tutorial Series
Salesforce Developer Tutorial – The Complete Guide To The Apex Common Library in 2022
Everything, In One Place This one is the full compilation: absolutely everything you need to know about separation of concerns, the Apex Common Library, and the…
28 Sep 2022
4 min
Category
SoC and the Apex Common Library Tutorial Series
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.
18 posts
SoC and the Apex Common Library Tutorial Series
Salesforce Developer Tutorial – The Complete Guide To The Apex Common Library in 2022
Everything, In One Place This one is the full compilation: absolutely everything you need to know about separation of concerns, the Apex Common Library, and the…
28 Sep 2022
4 min
The Apex Common Library Master Class
The Domain Layer Pattern in Apex (Apex Common Part 10)
What is the Domain Layer? The Domain Layer is, “An object model of the domain that incorporates both behavior and data”. – Martin Fowler In most…
5 May 2021
4 min
The Apex Common Library Master Class
The Unit of Work Pattern in Apex (Apex Common Part 5)
What is the Unit of Work Pattern (UOW) A Unit of Work, “Maintains a list of objects affected by a business transaction and coordinates the writing…
5 May 2021
3 min
The Apex Common Library Master Class
The fflib_Application Class Explained (Apex Common Part 4)
What is the fflib_Application class? Quality question… I mean honestly wtf is this thing? Lol, sorry, let’s figure it out together. The fflib_Application class is around…
5 May 2021
12 min
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
The Factory Method Pattern in Apex (Apex Common Part 3)
What is the Factory Method Pattern? The factory method pattern allows you to create objects (or instantiate classes) without having to specify the exact class that…
5 May 2021
4 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
The Apex Common Library Master Class
Implementing the Service Layer with fflib (Part 8)
Preparation for the rest of this article There is NO FRAMEWORK that can be made for service layer classes. This is a business logic layer and…
5 May 2021
10 min
The Apex Common Library Master Class
The Template Method Pattern in Apex (Apex Common Part 9)
What is the Template Method Pattern? The Template Method Pattern is one of the more popular Behavioral Design Pattern. The Template Design Pattern basically is creating…
5 May 2021
2 min
The Apex Common Library Master Class
The Builder Pattern in Apex (Apex Common Part 12)
What is the Builder Pattern? The Builder Pattern is a Creational Design Pattern that allows you to construct a complex object one step at a time.…
5 May 2021
5 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 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