🪔 is live. Lifetime & Yearly plans on festive offer.

Get the Diwali deal

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

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

Apex

How to debug failures in Platform Events?

Having a robust debugging failures mechanism in platform events in a mandate when working with large amount of data.

Feb 19, 2024 · 2 min read

LWC

How to use Optional Chaining in LWC

Optional Chaining in LWC is considered one of the best practices. It is a lot more verbose, and easy on the eyes.

Feb 12, 2024 · 1 min read

Admin

What Is the Order of Execution in Salesforce? A Comprehensive Guide

Unlock the intricacies of Salesforce's execution order with our comprehensive guide. Dive into the sequential steps when a DML is performed.

Aug 10, 2023 · 2 min read

Admin

Understanding Relationships in Salesforce: A Comprehensive Guide

Dive deep into Salesforce relationships! Discover their types, importance, and best practices to structure and access your data seamlessly.

Aug 9, 2023 · 2 min read

Admin

Record Types in Salesforce made easy to understand

Often folks find it hard to understand the purpose of Record Types in Salesforce, let me make it easy and super simple for you.

Aug 8, 2023 · 1 min read

LWC

Preventing Memory Leaks in JavaScript: Best Practices with Code Examples

Write better LWC code by handling memory leaks in Javascript.

May 26, 2023 · 1 min read

Apex

Retrying Failed Callouts in Salesforce Apex: Best Practices with Code Snippet

Learn how to retry failed callouts in Salesforce Apex with best practices and code snippet for improved reliability and error handling.

Apr 12, 2023 · 2 min read

Interview questions

Platform Events Interview Questions

Platform Events Interview Questions will help you perform better in your up coming Interviews. Brush up your skill set on Salesforce Platform Events.

Mar 29, 2023 · 5 min read

LWC

How to use if .. else if in LWC?

Earlier we had to execute if:true a lot of times to conditional render the markup in LWC. With Spring 23 we can use if .. else if in the LWC template files and it becomes a lot easier to render markup conditionally.

Mar 16, 2023 · 1 min read

LWC

How to create multiple records using the createRecord method in LDS?

Though LDS is typically used to interact with the single record we can use LDS methods to perform DML on multiple records.

Mar 15, 2023 · 1 min read

Apex

How to create REST API in Apex

Let's look at how to create REST API in Apex. We would need this when we have a bit more customized requirements than performing basic DML on the sObject.

Feb 16, 2023 · 1 min read

Apex

How to fetch records from an object where field 1 = field 2 only using soql?

Have you ever wondered how we can fetch records from an object where field 1 = field 2 only using soql?

Aug 5, 2022 · 1 min read

Apex

Using regular expressions in Apex

Using regex in Apex is one of the most frequently encountered requirements when we work on string manipulation a lot.

Jul 20, 2022 · 1 min read

LWC

Copy to Clipboard functionality in LWC

Let's look at how to implement the copy to clipboard functionality in LWC

Apr 14, 2022 · 1 min read

Interview questions

Get the list of profiles having access to a specific object - SOQL Interview Question

This interview question on SOQL is going to make you aware of how can use SOQL and get all the profile names having access to a specific object.

Mar 22, 2022 · 1 min read

Learn it by building it

Every course, every code repository, the discussion group and certificates of completion — one subscription.

Keep me in the loop!

Email me when a new episode is published (promise, I will not spam you)

You're signing up to receive emails from Salesforce Casts