Salesforce Apex: Zero-Code to Developer
Unlock the power of Salesforce development: a comprehensive course designed for beginners to master Apex, SOQL, and Apex Triggers.
...
Share
Introduction to Salesforce and Apex
Unit 1: Salesforce Platform Overview
Welcome to Salesforce!
What is Salesforce?
Salesforce Key Components
Multi-Tenant Architecture
Declarative vs Programmatic
Unit 2: Apex Fundamentals
What is Apex?
Apex and Other Tech
Apex Use Cases
Apex Benefits
Security Considerations
Unit 3: Setting Up Your Environment
Sign Up for Developer Ed.
Tour of the Setup Menu
Installing VS Code
Salesforce CLI
Authorize VS Code
Apex Basics: Syntax and Data Types
Unit 1: Apex Syntax Fundamentals
Apex: A Gentle Intro
Anatomy of Apex Code
Apex Reserved Keywords
Comments in Apex
Apex Case Sensitivity
Unit 2: Apex Data Types
Apex Data Types: Intro
Integer Data Type
Decimal Data Type
String Data Type
Boolean Data Type
Unit 3: Date and Datetime
Date Data Type
Datetime Data Type
Date Conversions
Unit 4: Variables and Operators
Declaring Variables
Initializing Variables
Arithmetic Operators
Comparison Operators
Logical Operators
Control Flow in Apex
Unit 1: Conditional Statements: if/else
Intro to If Statements
Adding an Else Block
Nesting If Statements
Else If Explained
If/Else Best Practices
Unit 2: Looping Constructs: for and while
Intro to For Loops
For Loops with Lists
While Loops Explained
Do-While Loops
Looping Best Practices
Unit 3: Controlling Loop Execution
Break Statement
Continue Statement
Break vs. Continue
Nested Loops Control
Control Flow Pitfalls
Apex Classes and Methods
Unit 1: Introduction to Apex Classes
What are Apex Classes?
Anatomy of a Class
Creating Your First Class
Class Properties
Class Instantiation
Unit 2: Apex Methods: Building Blocks of Logic
What are Methods?
Anatomy of a Method
Creating Your First Method
Method Parameters
Return Types
Unit 3: Scope and Access Modifiers
Scope Demystified
Access Modifiers
Public Access Modifier
Private Access Modifier
Global Access Modifier
Introduction to SOQL
Unit 1: SOQL Fundamentals
What is SOQL?
SOQL Development Tools
Basic SOQL Syntax
Selecting Fields
SOQL Data Types
Unit 2: Filtering SOQL Queries
The WHERE Clause
Comparison Operators
Logical Operators
Using LIKE Operator
NULL Values in SOQL
Unit 3: Relationships in SOQL
Understanding Relationships
Child-to-Parent Queries
Parent-to-Child Queries
Relationship Query Limits
SOQL Relationship Recap
Advanced SOQL Queries
Unit 1: Aggregate Functions in SOQL
Intro to Aggregation
SOQL COUNT() Function
SOQL SUM() Function
SOQL AVG() Function
MIN() and MAX() in SOQL
Unit 2: Grouping Query Results
Intro to GROUP BY
Basic GROUP BY Syntax
Grouping by Date Fields
Grouping by Picklist Fields
Multiple Fields in GROUP BY
Unit 3: Sorting and Limiting Results
Intro to ORDER BY
Ascending vs. Descending
Sorting by Multiple Fields
LIMIT and OFFSET
Pagination with OFFSET
Apex Triggers: Introduction
Unit 1: Understanding Apex Triggers
What are Triggers?
Trigger Syntax Basics
Trigger Events Explained
Trigger Context: Trigger.new
Trigger Context: Trigger.old
Unit 2: Writing Your First Triggers
Hello Trigger: Insert
Hello Trigger: Update
Trigger for Opportunity
Trigger for Contact
Trigger for Account
Unit 3: Advanced Trigger Concepts
After Insert Trigger
After Update Trigger
Before Delete Trigger
After Delete Trigger
After Undelete Trigger
Apex Triggers: Best Practices
Unit 1: Bulkification in Apex Triggers
Bulkification Intro
Understanding Context
Bulk-Safe SOQL Queries
Bulk-Safe DML Operations
Example: Bulk Account Update
Unit 2: Avoiding Governor Limits
Governor Limits Overview
SOQL Limit Strategies
DML Limit Strategies
CPU Time Limit Strategies
Heap Size Limit Strategies
Unit 3: Helper Classes and Logic Encapsulation
Helper Class Intro
Encapsulation Example
Benefits of Encapsulation
Unit 4: Understanding Order of Execution
Order of Execution Intro
Impact on Triggers
Apex Testing: Fundamentals
Unit 1: Introduction to Apex Testing
Why Test Your Code?
Testing & Deployment
Test-Driven Development
Test Class Structure
Test Data Creation
Unit 2: Writing Your First Apex Tests
System.assert Basics
Testing a Simple Class
Testing a Trigger
Code Coverage Deep Dive
Test Isolation
Unit 3: Advanced Testing Concepts
One Assert Per Test?
Testing Governor Limits
Test Setup Methods
Debugging Tests
Clean Up Test Data
Apex Testing: Advanced Techniques
Unit 1: Testing Data Interactions
Testing SOQL Queries
Testing DML Operations
Testing Relationships
Testing Governor Limits
Testing Complex Logic
Unit 2: Test Data Factories
Intro to Factories
Creating Simple Factories
Advanced Factories
Maintaining Factories
Unit 3: Mocking External Services
Mocking Basics
Creating Mock Classes
Testing with Mocks
Advanced Mocking
Unit 4: Negative Testing
Intro to Neg Testing
Testing Exceptions
Testing Validation Rules
Testing Security
Debugging and Troubleshooting Apex
Unit 1: Introduction to Debugging in Apex
Why Debugging Matters
Debugging Tools Overview
Setting Up Your Debug Env
Hello, Debug Logs!
Anatomy of a Log
Unit 2: Using Debug Logs Effectively
Strategic Debugging
Debug Log Levels
Filtering Debug Logs
Debug Log Gotchas
Debug Logs in Production
Unit 3: Troubleshooting Common Apex Errors
SOQL Query Issues
DML Exception Handling
Governor Limit Errors
Null Pointer Exceptions
Mixed DML Operations