← All articles

Tag

Architecture

17 articles

How AI Changes the Salesforce Consulting Model

·8 min read

The economic shifts AI is bringing to Salesforce consulting — what's getting cheaper, what's getting more valuable, and what the agency model looks like now.

The Real Cost of Salesforce Technical Debt

·9 min read

Technical debt on Salesforce has a real interest rate, and it compounds where you don't look. How I measure it, cost it, and decide what's worth paying down.

When Salesforce Is the Wrong Choice (Yes, Really)

·9 min read

I sell Salesforce architecture for a living, and sometimes the advice is to walk away from the platform. Here's how I decide when Salesforce is the wrong tool.

15 Years on Salesforce: What I'd Tell My Day-1 Self

·8 min read

Fifteen years of Salesforce, ten orgs, three major platforms shifts, and a long list of mistakes. The lessons I'd pass back to the version of me who started in 2010.

SOQL Patterns That Won't Kill Your Governor Limits

·9 min read

The SOQL antipatterns I keep finding in code review, the patterns that replace them, and the trade-offs nobody explains — from years of production Salesforce.

Async Apex Patterns: Queueable vs Batch vs Future — The Decision Tree

·9 min read

Choosing between Queueable, Batch Apex, and Future methods is the asynchronous decision most Salesforce devs get wrong. Here's the framework I use, and the cases where the obvious choice is wrong.

Building a 2GP Managed Package from Scratch

·8 min read

What it actually takes to ship a Second-Generation managed package on Salesforce — the namespace, the version pipeline, the gotchas, and the trade-offs.

Data Migration to Salesforce: The Honest Playbook

·9 min read

What actually goes into a clean Salesforce data migration — from field mapping through cutover — and the gotchas that turn one-week migrations into one-month projects.

REST API Integration Patterns for Salesforce

·9 min read

The REST integration patterns I actually use in production Salesforce orgs: named credentials, async callouts, idempotency, and when to skip REST entirely.

Flow Performance Optimisation: 5 Things Slowing Your Flows Down

·7 min read

The Flow patterns that quietly destroy performance — and the fixes that have worked for me on government and financial services orgs.

Apex Test Patterns: How to Write Tests That Actually Catch Bugs

·9 min read

Most Apex tests pass coverage and catch nothing. The patterns that actually catch bugs — test data factories, behaviour assertions, governor limit checks, and the bulk cases everyone skips.

A Trigger Framework That Actually Scales

·5 min read

Most Salesforce orgs start with a handful of triggers and end up with a mess. Here's the framework I've used across government, financial services, and ISV orgs — and why the boring parts matter most.

Record-Triggered Flows vs Apex Triggers: The Decision Framework

·9 min read

Record-triggered flows or Apex? I've built both in production for years. Here's the exact framework I use to decide, and where each one quietly falls apart.

Custom Metadata Types: The Swiss Army Knife You're Underusing

·9 min read

Most admins use custom metadata for one lookup table and stop. Here's how I use it to kill hardcoded config, dodge governor limits, and keep rules in source.

Moving from Profiles to Permission Sets (Without Losing Your Mind)

·6 min read

Salesforce has been nudging us toward permission sets for years. Here's how I actually did the migration on a large government org — the strategy, the gotchas, and what I'd do differently.

When to Use Platform Events vs Change Data Capture

·9 min read

Platform Events and Change Data Capture look similar but solve different problems. Here's how I decide between them on real Salesforce integration work.

Domain Layer Patterns in Apex That Survive Real Projects

·9 min read

The domain layer patterns I actually use in production Apex — how fflib domain classes plug into triggers, where validation belongs, and when it's overkill.