Archive

Everything else

Standalone posts that live outside the blog, courses and training.

04 · Middleware or point-to-point?
Integration Patterns

04 · Middleware or point-to-point?

Two systems talking directly is simple right up until it is three systems, then five. Where the line actually sits.

1 min read
03 · Batch sync without tears
Integration Patterns

03 · Batch sync without tears

Nightly loads still run the world. Upsert on external IDs, order parents before children, and make reruns safe.

1 min read
02 · Fire-and-forget with platform events
Integration Patterns

02 · Fire-and-forget with platform events

When the caller does not need an answer, publish an event and move on — decoupling, replay, and the delivery guarantees you actually get.

1 min read
01 · Request-reply with named credentials
Integration Patterns

01 · Request-reply with named credentials

The synchronous callout, done properly: named credentials for auth, a timeout you chose on purpose, and a mock for the test.

1 min read
05 · Recursion control
Business Basics

05 · Recursion control

Your after-update updates the record, which fires your after-update. Breaking the loop without breaking legitimate re-entry.

1 min read
04 · Bulkification: 200 records or bust
Business Basics

04 · Bulkification: 200 records or bust

Triggers receive up to 200 records at once. Every query and DML statement inside a loop is a countdown to 'Too many SOQL queries: 101'.

1 min read
03 · The handler pattern
Business Basics

03 · The handler pattern

One method per event, a static bypass flag, and constructor-free classes your tests will thank you for.

1 min read
02 · One trigger per object
Business Basics

02 · One trigger per object

Two triggers on one object run in an order Salesforce refuses to promise. The fix is a rule, not a framework.

1 min read
05 · Junction objects in practice
Data Model Basics

05 · Junction objects in practice

Many-to-many done properly: two master-details, sharing inherited from both sides, and a real example built end to end.

1 min read