Engineering Perspectives & Logic
Effective development is about more than just syntax; it's about choosing the right architecture for the challenge at hand. Whether I'm optimizing Salesforce execution orders or building headless React applications with PHP backends, my focus remains on scalability and performance. This space is a collection of technical deep-dives, pattern analyses, and myth-busting across the Salesforce ecosystem and the modern web — designed to turn complex requirements into clean, maintainable code.
-
Consuming REST APIs with Apex: Building Secure, Typed, Testable Integrations
August 9, 2026
A complete architectural guide to consuming REST APIs in Salesforce Apex. Learn how to secure credentials with Named Credentials, deserialize JSON into typed wrapper classes, validate HTTP response status codes, and achieve robust test coverage using HttpCalloutMock.
-
Before-Save vs. After-Save Flows: Choosing the Right Salesforce Automation Strategy
July 26, 2026
A comprehensive architectural guide comparing Salesforce before-save (Fast Field Updates) and after-save (Actions and Related Records) record-triggered Flows. Learn how each fits into the execution order, impacts performance and governor limits, and helps prevent unnecessary recursion.
-
Testing Apex in Salesforce: Beyond Code Coverage
July 12, 2026
Explore why high Apex code coverage doesn't guarantee software quality. Learn practical patterns for writing meaningful assertions, verifying database persistence, executing negative and bulk tests, and conducting thorough code reviews that ensure business logic is truly protected.
-
Balancing Decision, Assignment, and Formula Elements in Salesforce Flow
June 28, 2026
A practical guide to architectural trade-offs in Salesforce Flow. Explore when to represent business logic visually using Decision and Assignment elements versus centralizing calculations in Formula resources, and learn a hybrid design pattern that balances maintainability and clear business intent.
-
PHP 8.2 Readonly Classes: Protecting Data After It Is Created
June 14, 2026
Explore how PHP 8.2 readonly classes enforce data immutability across object properties. Learn how to combine class-level readonly declarations with DTOs and boundary mapping to safely ingest external API data, prevent unintended mutations, and maintain clean application layers.
-
Building a Customizable Multi-Step Form Modal in Vanilla JavaScript
May 31, 2026
A practical guide to building an adaptable, multi-step form modal using Vanilla JavaScript. Covers DOM reference caching, O(1) Map lookups, accessibility considerations, step validation, and FormData handling without relying on frontend frameworks or external dependencies.
-
Event Bubbling in JavaScript: Understanding Event Propagation and Delegation
May 17, 2026
A comprehensive guide to DOM event propagation covering event bubbling, event capturing, and event.stopPropagation(). Learn how event delegation uses bubbling to handle dynamic elements with a single parent listener, complete with a practical CodePen demonstration.
-
Flexible Architectures: Leveraging Inheritance with Traits in PHP
May 3, 2026
A deep dive into the synergy between vertical inheritance and horizontal traits in PHP. Using biological models like Mammals and Dolphins, this article explains how to avoid "fat" base classes by delegating specific behaviors to reusable Traits, complete with a production-ready code blueprint.
-
Bridging the Gap: Mastering Invocable Apex in Salesforce Flows
April 19, 2026
Master the bridge between Salesforce Flow and Apex. Learn to use Invocable Methods and Wrapper Classes to handle complex logic, bulkification, and API integrations. This guide showcases an event-driven architecture using Platform Events for scalable, enterprise-ready automation.