Topic

Business Basics

The reader knows nothing about business, software or careers. Salesforce is not mentioned until S16. Every term used later in the curriculum is born here, in the order a human brain needs it

05 · Recursion control
Business Basics

05 · Recursion control

Your after-update updates the record, which fires your after-update. Breaking the loop without breaking legitimate re-entry.

1 min read
04 · Bulkification: 200 records or bust
Business Basics

04 · Bulkification: 200 records or bust

Triggers receive up to 200 records at once. Every query and DML statement inside a loop is a countdown to 'Too many SOQL queries: 101'.

1 min read
03 · The handler pattern
Business Basics

03 · The handler pattern

One method per event, a static bypass flag, and constructor-free classes your tests will thank you for.

1 min read
02 · One trigger per object
Business Basics

02 · One trigger per object

Two triggers on one object run in an order Salesforce refuses to promise. The fix is a rule, not a framework.

1 min read
01 · Order of execution, the map
Business Basics

01 · Order of execution, the map

Before triggers, validation, after triggers, assignment rules, flows, roll-ups — what actually runs when you press Save.

1 min read
Business Basics

Apex Triggers

One trigger per object, logic in handlers, bulk-safe by default — the discipline that keeps automation debuggable.

6 min read