8 min read
PHP Type Juggling: Pitfalls and Fixes
How PHP's loose comparison rules cause real bugs, which behaviors changed in PHP 8, and when to use strict types and strict comparisons to avoid them.

Notes on building web applications: Next.js, Laravel, databases, and the automation around them.
8 min read
How PHP's loose comparison rules cause real bugs, which behaviors changed in PHP 8, and when to use strict types and strict comparisons to avoid them.

7 min read
Compare Eloquent upsert, updateOrCreate, and insertOrIgnore on MySQL and PostgreSQL, including race conditions, deadlocks, and safe bulk imports.

8 min read
How Laravel queue retries, backoff, and timeouts actually work, why jobs silently double-run, and how to configure them for idempotent workers.

7 min read
A practical guide to JavaScript async await: how it maps to the event loop, sequential versus parallel execution, error handling, and the mistakes that cause

6 min read
How the JavaScript event loop turns single-threaded code into non-blocking I/O, where microtasks and macrotasks differ, and the exact patterns that still

8 min read
Build a resumable, validated Laravel multi-step form using a state object, one Form Request per step, and a final transactional commit.
