Apex Recipes
By Salesforce Trailhead
What It Does
Official Salesforce repository with well-documented Apex code examples covering triggers, async, REST, testing, and security patterns.
Glen's Take
The Apex equivalent of LWC Recipes. Every recipe is well-documented with inline comments explaining why, not just what. The async patterns (Queueable chaining, Platform Events) are especially useful. Deploy to a scratch org and step through each one.
Tags
Need help with your Salesforce tooling stack?
I'll help you pick and configure the right tools for your team.
View Consulting →Enjoyed this? Get more like it.
Glen's Musings — AI, investing, and building things. Occasional. Free.
More Template Tools
LWC Recipes
Official Salesforce repository with dozens of Lightning Web Component examples. Covers data access, navigation, events, composition, and more.
Read moreOpen SourceDreamhouse App
Salesforce's flagship sample application demonstrating LWC, Apex, Platform Events, and modern development practices.
Read moreOpen SourceEasy Spaces
Sample application showcasing Lightning App Builder, dynamic interactions, custom themes, and Flow integration.
Read more