Skip to main content Back CRM Cloud Mastery Sign up Create account

Apex Foundations

Apex taught as a platform language: governor limits, bulk and the order of execution from the first line, not the last.

  • Intermediate
  • 55 lessons
  • 10 modules
  • English

Designed and created by Salesforce Expert

What you'll learn

  • Write Apex that is bulk-safe because it was designed that way
  • Use SOQL, SOSL and DML inside the limits rather than against them
  • Reason about triggers and the order of execution in a busy org
  • Fail well: handle errors so the transaction does the right thing
  • Write tests that prove behaviour, and ship code through a real pipeline

Course content

10 sections · 55 lectures · 20 hands-on labs

The automation that stopped being right 2 lectures
  1. 1.1 The Rule That Worked Once
  2. 1.2 What A Salesforce Developer Is Actually Responsible For
Developer Fundamentals 8 lectures
  1. 2.1 Multi-Tenancy And MVC: Why Your Code Runs With A Governor Beside It
  2. 2.2 Should This Be Nell's Flow, A Formula, A Roll-Up, Or Your Apex?
  3. 2.3H Hands-On: The Developer Console, Anonymous Apex, And Your First Ten Lines Hands-on
  4. 2.4 The Data Model From The Code Side
  5. 2.5 External IDs, And The Identifier Somebody Else Issued
  6. 2.6H Hands-On: Build Larkmead's Objects, And Set The Keys The Feed Depends On Hands-on
  7. 2.7aH Hands-On: Agentforce For Developers, And The Three Things It Gets Wrong Hands-on
  8. 2.7bH Hands-On: What It Is Genuinely Good At, And Section Two Closed Out Hands-on
Speaking Apex 7 lectures
  1. 3.1 Apex Is A Java-Shaped Language With A Governor
  2. 3.2 Lists, Sets, And The Map That Will Save Your Career
  3. 3.3H Hands-On: Build A Map Of Larkmead's Workers, And Watch It Replace A Loop Hands-on
  4. 3.4 Control Flow, And How To Answer A Question That Shows You A Block Of It
  5. 3.5 Classes, Methods, Modifiers, And What Static Really Means Here
  6. 3.6 Interfaces, And The Two Times The Platform Calls You
  7. 3.7H Hands-On: Larkmead's First Service Class, Shaped To Be Tested Hands-on
Data in Apex: SOQL, SOSL and DML 7 lectures
  1. 4.1 SOQL: What It Returns, What It Costs, And The Two Things It Is Not
  2. 4.2 Relationship Queries In Both Directions, And The Join You Will Not Get
  3. 4.3H Hands-On: Bookings, Shifts And Workers In One Round Trip Hands-on
  4. 4.4 SOSL, And The One Question That Decides Between Them
  5. 4.5 DML, And What "Partial Success" Really Means When Half A File Fails
  6. 4.6 Transactions, Savepoints, And What Is Actually True When Something Throws
  7. 4.7H Hands-On: Upsert The Feed, Run It Twice, And Prove Nothing Duplicated Hands-on
Triggers, bulk, and the order of execution 9 lectures
  1. 5.1 What A Trigger Is, When It Runs, And How To Tell Which "When" You Are In
  2. 5.2 The One-Record Habit, And The Shape That Fixes It
  3. 5.3H Hands-On: Rewrite The Rule That Worked Once Hands-on
  4. 5.4 The Save Order Of Execution, Read As A Debugging Tool
  5. 5.5 Recursion, Cascading, And The Guard That Actually Holds
  6. 5.6 One Trigger Per Object, And Why The Handler Is About Testability
  7. 5.7H Hands-On: The Rolling Seven-Day Calculation No Roll-Up Can Express Hands-on
  8. 5.8aH Hands-On: Find The Ceiling, And Work Out How Much Of It Is Yours Hands-on
  9. 5.8bH Hands-On: Design Underneath The Ceiling, And Section Five Closed Out Hands-on
Failing well 3 lectures
  1. 6.1 Exceptions, And The Difference Between Catching One And Hiding One
  2. 6.2 Custom Exceptions, Refusing One Row, And The Two Audiences
  3. 6.3H Hands-On: Make The Nightly Feed Fail Loudly, In One Place, Naming The Row Hands-on
Apex and the rest of the platform 7 lectures
  1. 7.1 Invocable Apex: Giving Nell's Flow The One Thing It Cannot Do
  2. 7.2H Hands-On: An Invocable Method, Built Bulk-Safe From Its First Line Hands-on
  3. 7.3 Apex Behind A Screen, And Where This Course Hands Over
  4. 7.4H Hands-On: A Method A Component Can Call, And The Contract It Makes Hands-on
  5. 7.5 Security In Apex: Sharing, Permissions, And The Injection You Write By Accident
  6. 7.6H Hands-On: Break Your Own Class's Security, Then Close Every Hole Hands-on
  7. 7.7 Apex As An Agentforce Action, And Where This Course Stops
Proving it: testing 5 lectures
  1. 8.1 Why The Platform Makes You Test, And What Coverage Does Not Prove
  2. 8.2 Test Data: The Setup Method, A Factory You Will Reuse For Years, And One Trap
  3. 8.3H Hands-On: Test The Overtime Calculation, Including The Case That Should Fail Hands-on
  4. 8.4 Testing The Awkward Things: Another User, Two Thousand Records, Async, And A Flow
  5. 8.5H Hands-On: From Untested To Covered, And The Assertion That Would Have Caught It Hands-on
Shipping it: debugging, tooling and deployment 5 lectures
  1. 9.1 Debug Logs: Levels, Filters, And How To Read One Without Drowning
  2. 9.2H Hands-On: Find The Eleven-Day Failure In A Log, And Then In The Job Queue Hands-on
  3. 9.3 The Tools, And What Each One Is Actually For
  4. 9.4 Environments And Deployment: What Travels, And What Gets Left Behind
  5. 9.5H Hands-On: Move The Work Into A Fresh Org, Tests And All Hands-on
The exam, and the code you now own 2 lectures
  1. 10.1 The Exam Run: Four Areas, Your Weakest One, And An Honest Plan
  2. 10.2 The Code You Now Own, And Where You Go Next

Requirements

  • CORE-110 Platform Administrator
  • Some programming experience in any language helps but is not required
  • A free Developer Edition org

Description

Almost every Apex course teaches the language as though the platform were incidental — variables, loops, collections, classes, and then, forty minutes from the end, governor limits as an annoyance. That produces developers whose code works in the Developer Console and fails in production.

This course inverts it. The limit is the design constraint, so bulk patterns, SOQL and DML discipline, the order of execution, testing and failure are taught as the subject rather than the epilogue. It covers the Salesforce Certified Platform Developer blueprint, and eight other courses on this shelf name it as their prerequisite — nothing else here carries that much weight behind it.

Who this course is for

  • Administrators becoming developers, and programmers new to the Salesforce platform.

Skills you'll practise

ApexSOQLGovernor limitsTriggersBulk patternsApex testingDeployment

Related reading