Development Best Practices.
All posts.
Deploying Salesforce Metadata with sf CLI: From Sandbox to Production
Deploy Salesforce metadata from your local project back to a sandbox or production org using sf CLI, including check-only deploys, reading results, and what to do when deploy fails.
Git Basics for Salesforce Admins: Track Your Org Changes with Version Control
Learn the six git commands every Salesforce admin needs: init, status, add, commit, log, and diff. Includes a real workflow: retrieve a Flow, commit it, change it, see the diff.
Setting Up Your Environment: Terminal, sf CLI, and Git for Salesforce Admins
Step-by-step guide to setting up your terminal, sf CLI, and git on Windows or macOS: everything a Salesforce admin needs before working with metadata.
What is Version Control and Why Every Salesforce Admin Needs It
Version control for Salesforce admins explained from scratch: what it is, why your org needs it, and what you can do with git that you can't do today.
How to Set Up VS Code as Your Git Merge and Diff Tool: Complete Guide
Configure VS Code as your Git merge and diff tool using the built-in merge editor or external mergetool/difftool. Covers --wait flag, 3-way merge editor, and team setup.
How to Configure Meld as Git Merge and Diff Tool on macOS: Complete Setup Guide
Learn how to install and configure Meld as your Git merge and diff tool on macOS. Covers Homebrew setup, Apple Silicon vs Intel paths, and Gatekeeper fixes.
Git difftool vs mergetool: What's the Difference and When to Use Each
git difftool and git mergetool look similar but solve different problems. Learn which command to run, when to run it, and how to configure each independently.
The Specification Crisis: How Different User Personas Complicate Software Development
Explore how different user personas in software development teams create specification drift, amplified by LLMs, and discover solutions for better collaboration.
How We Reduced Platform Event Delivery Costs by 60% (And You Can Too)
A deep dive into the hidden costs of Salesforce Platform Events and the surprising optimization that saved us 50,000+ delivery allocations per day
Salesforce Org-to-Org Data Migration: Complete Guide with Tools and Best Practices
Learn how to migrate data between Salesforce organizations with proven strategies, tool recommendations, and code solutions. Complete guide covering relationships, attachments, and migration order.
How to Configure Meld as Git Merge and Diff Tool on Windows: Complete Setup Guide
Learn how to set up Meld as your default Git merge and diff tool on Windows. Step-by-step configuration guide with troubleshooting tips and alternative tools comparison.
PowerMock, Testing Private Methods
When refactoring isn't an option, PowerMock's Whitebox.invokeMethod lets you test private Java methods directly. Here's when that's justified and how to do it.
Secure APIs against XEE Attacks (XML Injection Attacks)
Learn how to secure your APIs against XML External Entity (XEE) attacks, including XML Injection and XML Expansion attacks, with practical mitigation steps for Java and RestEasy.
Input Sanitization: Invalid XML Data, Validation
How to sanitize invalid XML 1.0 characters using a precompiled regex in Java, and how to fix validation failures caused by curl request escaping.