Apex
Topic

Apex

The platform's language: classes, triggers, tests and limits.

Write the test class for this Apex

Write the test class for this Apex

Not coverage — assertions. This prompt produces tests that would actually catch the bug you will write next month.

1 min read
Apex Hours

Apex Hours

Community-run sessions on everything platform — the archive alone is a curriculum.

Advanced Apex Programming

Advanced Apex Programming

Dan Appleman's book is still the deepest treatment of Apex patterns in print — read it after your first triggers, not before.

apex-test-factory
Apex

apex-test-factory

Builder-pattern test data factory for Apex: sensible defaults, relationship wiring, bulk builders — tests that read like specifications.

1 min read
sf-trigger-framework
Featured
Apex

sf-trigger-framework

Minimal trigger framework for Salesforce: one trigger per object, handler interface, per-object bypass, recursion guard. No dependencies.

1 min read
The Apex mistakes I still see in every org

The Apex mistakes I still see in every org

Fifteen years of the same five mistakes: queries in loops, tests without assertions, triggers with opinions, hardcoded Ids, and empty catch blocks.

1 min read