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
Category
Salesforce Development Tutorials
Salesforce development tutorials on Apex, Lightning Web Components, integrations and tooling. Practical walkthroughs with working code, from a Salesforce Certified Technical Architect.
122 posts
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
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
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
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 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 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
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
Salesforce Development: Integrations
Salesforce Developer Tutorial: How to do Custom Authentications for Integrations in Apex
Why This Is Useful Most of the time, integrating with an external system means using Named Credentials and letting Salesforce handle authentication for you. That should…
3 Mar 2021
4 min