Latest writings
Notes on AI agents, Salesforce, automation, micro-SaaS, and engineering.
Web development with React, Next.js and JavaScript: fundamentals, patterns, performance and the details that matter in production.
SalesforceDay 13/15 — Headless 360 + Agentic AI Architecture
One assistant, a planner with tools, or several agents? Where Agentforce fits, what the beta Headless 360 MCP Server changes, and native React versus Next.js.
SalesforceDay 10/15 — Build Your First AI + Salesforce Workflow
Turn a chat into a workflow: a read-only meeting prep brief built with Next.js, the Claude API's MCP connector and Salesforce hosted MCP servers.

How I Build Applications Faster with Supabase
How Supabase's Postgres APIs, auth, realtime and storage fit together, plus migrations, Row Level Security, Edge Functions, plan limits and the pitfalls to avoid.

Beyond the Tags: Mastering HTML Architecture for Product-Based Roles
Semantic block elements, the accessibility tree, and how link and script tags affect rendering, with async, defer and module compared and a semantic page boilerplate.

From Selectors to BEM: CSS Concepts You Must Know for Professional Projects
Learn how CSS specificity works, why nested selectors cause style fights, and how BEM's block, element and modifier classes keep a stylesheet flat and predictable.

Mastering the Primitives: A Builder's Guide to JavaScript Data Types and Functions
Learn how JavaScript stores primitives and objects, why shared object references cause bugs, and how to write a function that copes with messy input safely.

Overcoming the Daunting Start: A Strategic Roadmap for New Frontend Developers
A five-phase frontend roadmap for beginners: HTML and CSS layout, core JavaScript, Git and npm, React with Vite or a framework, then TypeScript, with a project per phase.

Demystifying Scope and Closure: Key Concepts for Writing Robust JavaScript
Learn how JavaScript decides which variables a function can see, how closures keep them alive, and how to use that for private state, factories and caching.

Beyond Frameworks: Practical DOM Manipulation Techniques for High-Performance UIs
Build a small to-do list in plain JavaScript: cache elements, batch inserts, use one delegated listener, link DOM to state with data attributes, and avoid XSS.

The Frontend Architecture: From Junior Developer to Tech Lead
A practical roadmap for frontend developers: what to learn and how your job changes at each step from junior to mid-level, senior and tech lead.

Architecting Scalable JavaScript: OOP Principles & Design Patterns
Use private class fields, then the Module, Singleton and Observer patterns, in runnable JavaScript, and combine them into a small bot controller for an automation project.

Why TypeScript Matters: Adding Type Safety to Your JavaScript Projects
See what TypeScript catches before your code runs: convert a fragile JavaScript function, handle optional data, avoid the any trap, and add TypeScript to a project.

REST vs. GraphQL: A Frontend Engineer’s Reality Check
Build the same dashboard data layer twice, once with REST and once with GraphQL, in TypeScript, and compare round trips, caching, error handling and typing.

Secure Frontend Auth: The Definitive Guide to JWTs, Cookies, and Storage Strategies
Where should a single page app keep its JWT? Compare localStorage, memory and HttpOnly cookies, then build a refresh flow with Express cookies and Axios interceptors.

Mastering Chrome DevTools: Debugging Techniques That Save Hours of Development Time
Go beyond console.log in Chrome DevTools: live expressions, logpoints, conditional and XHR breakpoints, network throttling and blocking, local overrides and snippets.

Mastering the Metal: Essential Web APIs & Browser Internals for Frontend Engineers
The browser APIs underneath every framework: the DOM and BOM, fetch with AbortController, cookies vs Web Storage vs IndexedDB, microtasks, and Intersection Observer.

Demystifying CORS, HTTP, and Security: A Builder’s Guide
Why the browser blocks your cross-origin fetch, how preflight requests work, how to configure CORS in Express without opening a hole, and what else your API needs.

Mastering Asynchronous Operations with JavaScript Promises: A Builder's Guide
Learn JavaScript Promises by building a multi-city weather dashboard: fetch chains, error handling, Promise.all, Promise.allSettled and timeouts that really cancel.

Understanding the JavaScript Runtime: Event Loop, Call Stack, and Task Queue Explained
See how the call stack, task queue and microtask queue decide the order your JavaScript runs, why setTimeout(fn, 0) waits, and how to keep Node.js responsive.

Modern Async Patterns: Making Asynchronous Code Readable with Async/Await and Generators
Refactor nested promise chains into flat async/await code, run independent work in parallel with Promise.all, and page through an API with an async generator.

From Prototypes to ES6 Classes: Understanding JavaScript's Object-Oriented Nature
See what the class keyword does underneath: constructor functions, the prototype chain, extends rebuilt by hand, and why it explains lost this, polyfills and shared methods.
AWSFrom Development to Production: A Builder's Guide to Frontend Deployment Strategies
Compare three ways to ship a frontend: a managed platform, S3 with CloudFront, and a Docker image with Nginx. Each comes with config, caching rules and a CI step.

Automating Code Quality: The Modern Stack with ESLint, Prettier, and Husky
Set up Prettier, ESLint flat config with TypeScript and eslint-config-prettier, then make Husky and lint-staged check every commit. Tested with ESLint 10.
