The Apex Common Library Master Class
Separation of Concerns in Salesforce (Apex Common Part 1)
What is the Separation of Concerns Design Principle? Basically separation of concerns is the practice of putting logical boundaries on your code. Putting these logical boundaries…
11 Mar 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
Separation of Concerns in Salesforce (Apex Common Part 1)
What is the Separation of Concerns Design Principle? Basically separation of concerns is the practice of putting logical boundaries on your code. Putting these logical boundaries…
11 Mar 2021
3 min
The Apex Common Library Master Class
Introduction to the Apex Common Library (fflib Part 2)
What is the Apex Common Library? The Apex Common Library is an open source library originally created by Andy Fawcett when he was the CTO of…
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
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 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_SObjectUnitOfWork Class (Apex Common Part 6)
What is the fflib_SObjectUnitOfWork class? It is a foundation built to allow you to leverage the unit of work design pattern from within Salesforce. Basically this…
5 May 2021
6 min
The Apex Common Library Master Class
The Service Layer Pattern in Apex (Apex Common Part 7)
What is the Service Layer? The Service Layer, “Defines an application’s boundaries with a layer of services that establishes a set of available operations and coordinates…
5 May 2021
5 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 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
Implementing the Domain Layer with fflib (Part 11)
The template for every Domain Class you create Every Domain layer class you create for an object should at minimum have the following logic in it…
5 May 2021
9 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