About this course
You have never written code, or never written Apex. Eight lessons later you will have a tested trigger running in your own org.
What this course covers
Classes, variables and collections, SOQL and DML from Apex, your first trigger done safely, governor limits, and the test class that proves it all works.
Who it is for
Admins ready to cross the line, and developers from other stacks who keep tripping on the platform's rules. We assume zero Apex and explain every line.
Curriculum
- 01 · Hello, Apex: your first class Open the Developer Console, write ten lines, run them anonymously — and understand every one of them. 20m
- 02 · Variables, types and collections Lists, Sets and Maps do ninety percent of the work in real Apex. Learn the three of them properly and the rest is syntax. 25m
- 03 · SOQL: asking the database questions SELECT is not SQL — no joins, no wildcards, relationship dots instead. Write your first twenty queries in the Query Editor. 25m
- 04 · DML and the database insert, update, upsert, delete — and what happens to the transaction when one record out of two hundred fails. 20m
- 05 · Triggers, the safe way Watch a before-insert trigger written live: one trigger per object, logic in a handler class, bulk-safe from the first line. 30m
- 06 · Governor limits explained 100 queries, 150 DML statements, 10 seconds of CPU — the limits are not obstacles, they are the platform's design language. 25m
- 07 · Testing: proving it works 75% coverage is the law, but coverage is not the point — assertions are. Write a test that would actually catch a bug. 30m
- 08 · Quiz: are you ready for production? Twelve questions covering the whole course. Pass this and your first real trigger is next week's problem. 15m