Architecture notes
A Salesforce baseline you can read in one sitting.
One owned framework instead of folklore: a one-line trigger contract, metadata-driven bypass, a deliberate recursion rule, and data access that is secure by default. Written down, tested, and small enough to review.
Writing
Rebuilding the Salesforce trigger framework as a baseline
A working Apex baseline with one-line triggers, metadata-driven bypass, a deliberate recursion contract, and user-mode data access — plus what the validation actually caught.
Read the article →What the baseline covers
One entry point
Dispatchers and handlers keep ordering, context and recursion out of trigger files.
Secure by default
Every query and DML call runs in user mode, so missing access fails visibly.
Bypass without a deployment
A metadata kill switch and a permission-based bypass for controlled data loads.
Observable failures
Record-based logging that is still there after the debug log is gone.