In this short lesson, I cover some Salesforce Trigger Best Practices, such as:
One Trigger per Object
Keep Triggers Logic-less
Control Triggers with Declarative Functionality
In this section we are going to begin developing Apex Classes.
Now what is an Apex class?
Any time we want to develop in Apex, but we don’t want to create a trigger, we do that development in an Apex class.
Apex classes can be used to handle trigger logic, as we alluded to in the last section. ...
In this lesson, we create a basic trigger handler.
In this lesson, we dive deeper into Methods in an Apex Class. We discuss Static Methods, Return Types and Parameters.
Resource:
Class Methods - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_defining_methods.htm
1 Comment