This first course in our Salesforce Certified Platform Developer I Certification series contains 8 hours of in-depth video training to get you introduced to Apex - the core language of Salesforce.
In this course, we cover:
Apex Triggers
Apex Classes
Data Types
Logic
Object Oriented Concepts
Working with Salesforce Data
Custom Metadata Types
Platform Events
Asynchronous Apex
Extending Declarative Functionality
Testing and Debugging
This course also includes five development challenges to put your newfound coding skills into practice.
NOW is the time to take your Cloud Career to the next level by learning Apex with us.
In this introductory lesson, we prepare you for the journey ahead to learning Apex.
Resource:
Platform Developer I Exam Guide - https://trailhead.salesforce.com/help?article=Salesforce-Certified-Platform-Developer-I-Exam-Guide
In this lesson, I show you how to sign up for a free Salesforce Developer account.
Resource:
Free Salesforce Developer Account - https://developer.salesforce.com/signup
In this lesson, I show you how to navigate the Developer Console.
Resource:
In this section, we are going to get started with developing Apex triggers.
This will allow you to experience a whole new world of possibilities in customizing the Salesforce platform.
However, I want you to keep in mind writing code on the Salesforce platform should always come as a last resor...
In this lesson, we create a basic Apex trigger.
In this lesson, we look at the different trigger types and contexts, such as:
Before Insert
After Insert
Before Update
After Update
Before Delete
After Delete
Resource:
Triggers and Order of Execution - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order...
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
In this lesson we discuss Access Modifiers, Interfaces and Sharing Settings.
Resource:
Apex Class Definition - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_defining.htm
In this section of the course, we cover different Data Types.
Apex uses the same primitive data types as SOAP API, except for higher-precision Decimal type in certain cases. All primitive data types are passed by value.
All Apex variables, whether they are class member variables or method vari...
In this lesson we cover complex data types, such as Objects, SObjects, Date, DateTime, etc.
We now cover Arrays. We address maps, lists, arrays within arrays and more.
We will now spend the next several lessons covering various Logic concepts you need to understand in Apex. We get this Logic section started by discussing If Else.
In this lesson, we cover Comparison Operators. Expressions can be joined to one another with operators to create compound expressions.
Resource:
Expression Operators -
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_expressions_operators_understanding.htm
In this lesson, we create a Ternary operator example.
Resource:
Expression Operators -
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_expressions_operators_understanding.htm
Apex provides a switch statement that tests whether an expression matches one of several values and branches accordingly.
Resource:
Switch Statements - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_switch.htm
In this lesson, we look at traditional For loops as well as a list or set iteration for loop, which iterates over all the elements in a list or set.
Resources:
Traditional For Loops
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_loops_for_traditional.htm
L...
In this lesson, we cover While loops.
The Apex while loop repeatedly executes a block of code as long as a particular Boolean condition remains true.
The Apex do-while loop repeatedly executes a block of code as long as a particular Boolean condition remains true.
Resources:
While Loops - ht...
In this lesson we look at an exception handling example.
Resource:
Exception Handling Example - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_exception_trycatch_example.htm
You can’t throw built-in Apex exceptions. You can only catch them. But with custom exceptions, you can throw and catch them in your methods. Custom exceptions enable you to specify detailed error messages and have more custom error handling in your catch blocks.
Resource:
Create Custom Exception...
This is the first of five challenges you'll find throughout this course. In this lesson, we will cover the basic trigger setup. The next lesson will be where we perform a work check of what you built.
I also provide a few pointers for you to bear in mind for this challenge. I also provide a lin...
In this lesson, we check our work for the first challenge.
Resource:
Install Solution - https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4W000002r67FQAQ