The Salesforce Casts Blog
Hands-on Salesforce tutorials and long-form guides — LWC, Apex, Aura, integration and interview prep, plus study plans, cost breakdowns and honest comparisons.
Apex
Database.getQueryLocator vs Iterable in Batch Apex
Database.getQueryLocator vs Iterable in Batch Apex: record limits, when each fits, working start methods, getQueryLocatorWithBinds and the errors to avoid.
Nov 26, 2026 · 4 min read
Salesforce CPQ
Guided Selling in Salesforce CPQ: Step-by-Step Setup
Set up guided selling in Salesforce CPQ: mirror fields, a quote process, process inputs and conditions, with a worked example and the mistakes that break it.
Nov 26, 2026 · 4 min read
LWC
LWC js-meta.xml: Targets, targetConfigs and Properties Explained
Every LWC js-meta.xml target and targetConfig explained: record pages, Flow screens, Experience Cloud (lightningCommunity__Page), properties and common errors.
Nov 26, 2026 · 5 min read
Blog
Apex Callout Tutorial: Call an External REST API from Apex
Build a working REST callout in Apex: HttpRequest, JSON.deserialize, status codes, Named Credentials, async from triggers, and HttpCalloutMock tests.
Nov 24, 2026 · 10 min read
Apex
Apex Test Data Factory: A Reusable Pattern for Test Classes
How to build a test data factory in Salesforce: Apex code for Accounts, Contacts and Opportunities, field overrides, @TestSetup and bulk tests.
Nov 24, 2026 · 8 min read
Blog
Apex Trigger Handler Pattern: A Step-by-Step Example
How the Apex trigger handler pattern works: a one-line trigger, a handler class routed by context, a static recursion guard and unit tests you can copy.
Nov 24, 2026 · 8 min read
Apex
Apex Trigger Interview Questions and Answers for Salesforce Developers
Apex trigger interview questions with model answers and code: before vs after, bulkification, recursion, handler patterns and testing.
Nov 24, 2026 · 9 min read
Apex
Governor Limits in Salesforce: What They Are and How to Stay Under Them
Governor limits in Salesforce cap SOQL, DML, CPU time and heap per transaction. See the numbers, the code that breaks them, and how to fix each.
Nov 24, 2026 · 10 min read
LWC
How Much JavaScript Do You Need for Lightning Web Components?
You need core modern JavaScript for LWC: functions, arrow functions, destructuring, promises, async/await and modules. No Node or React needed.
Nov 24, 2026 · 10 min read
Blog
How to Bulkify an Apex Trigger (With Before and After Examples)
Bulkify an Apex trigger by moving SOQL and DML out of loops. Before and after code, a Map-based fix, and a 250-record test class.
Nov 24, 2026 · 9 min read
Apex
Named Credentials in Salesforce: Setup and Use in Apex
Named credentials in Salesforce store an endpoint URL and its authentication. Set one up with an External Credential and call it from Apex.
Nov 24, 2026 · 9 min read
Blog
Platform Developer II Study Guide: What to Know Beyond PD1
What to study for Platform Developer II beyond PD1: Apex sharing, async, integration, testing, LWC and performance, organized as a study plan.
Nov 24, 2026 · 11 min read
Career
Salesforce Admin vs Developer: Which Should You Learn First?
Salesforce admin vs developer: which to learn first? Compare daily work, skills, learning curve and careers, plus a simple framework to choose.
Nov 24, 2026 · 10 min read
Salesforce DX
Salesforce CLI Commands Every Developer Should Know (SF CLI Guide)
The sf CLI commands for daily Salesforce work: org login, retrieve, deploy, Apex tests and scratch orgs, with flags and sfdx-to-sf equivalents.
Nov 24, 2026 · 9 min read
Career
YouTube Salesforce Tutorials vs a Paid Course: Which Is Worth It?
Free YouTube Salesforce tutorials are fine for sampling topics. Here is when a paid course is worth it, what to check before buying, and what it costs.
Nov 24, 2026 · 10 min read
Apex
Apex Bulkification: Fix 'Too Many SOQL Queries: 101'
Apex bulkification explained: why triggers get 200 records, the loop anti-patterns behind 'Too many SOQL queries: 101', maps, sets, a full refactor and Flows.
Oct 6, 2026 · 7 min read
Apex testing
Apex Test Classes: Stop Chasing 75% Coverage
Write Apex test classes that catch bugs, not just hit 75%: test data factories, @TestSetup, the Assert class, bulk tests, runAs, async and callout mocks.
Oct 6, 2026 · 8 min read
JavaScript for LWC
Learn JavaScript Before LWC: The 12 Concepts That Matter
The 12 modern JavaScript concepts Lightning Web Components rely on, each with a tiny example and the exact place it shows up in LWC. Learn these, skip the rest.
Oct 6, 2026 · 7 min read
Lightning Web Components
Why LWC Templates Block Expressions and How Getters Fix It
Why Lightning Web Components templates reject expressions like ternaries and method calls, and how JavaScript getters handle labels, classes, lwc:if and lists.
Oct 6, 2026 · 8 min read
Interview preparation
How to Crack a Salesforce Developer Interview: A 30-Day Plan
A week-by-week, 30-day Salesforce developer interview plan: daily practice blocks, questions to drill, STAR answers for projects and live-coding strategy.
Oct 6, 2026 · 8 min read
Salesforce integration
Salesforce Integration Patterns Explained (With When to Use Each)
The six Salesforce integration patterns, the tools behind each (callouts, Platform Events, CDC, Bulk API 2.0, Apex REST, Connect) and a table for choosing.
Oct 6, 2026 · 10 min read
For engineering managers
Onboarding Salesforce Developers Without Burning Your Seniors' Time
A practical Salesforce developer onboarding plan for managers and consultancies: the hidden cost of shadowing, a 30/60/90 curriculum, and team licences.
Oct 6, 2026 · 7 min read
Pricing, honestly
Subscription vs Buying Salesforce Courses One by One: The Real Maths
Subscription or individual Salesforce courses? A worked cost comparison, the break-even point, which plan fits whom, and when buying one course is smarter.
Oct 6, 2026 · 8 min read
How I teach
What Hands-On Salesforce Training Means and How to Spot Fakes
What real hands-on Salesforce training looks like: typed code, real errors, debug logs, 200-record tests and security. A fair checklist to evaluate any course.
Oct 6, 2026 · 9 min read
Learn it by building it
Every course, every code repository, the discussion group and certificates of completion — one subscription.