SoC and the Apex Common Library Tutorial Series Part 14: Implementing the Selector Layer with the Apex Common Library
| |

SoC and the Apex Common Library Tutorial Series Part 14: Implementing the Selector Layer with the Apex Common Library

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 anticipated. The fflib_SObjectSelector Constructor Parameters and what each of them mean When you create a Selector class that extends the fflib_SObjectSelector class you have the option to send some…

SoC and the Apex Common Library Tutorial Series Part 13: The Selector Layer
| |

SoC and the Apex Common Library Tutorial Series Part 13: The Selector Layer

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 data between objects and a database while keeping them independent of each other and the Mapper itself”. In most tech stacks when you want to represent records in a…