Skip to content
Carlo Fontanos
Carlo Fontanos

Carlo Fontanos

Software Engineer

I build web applications and share what I learn along the way.

© 2026

JavaScript

55 tutorials

Step-by-step programming tutorials on PHP, JavaScript, Laravel, WordPress and more.

JavaScript Advanced

A 15-Line Proxy That Tells You Exactly What Changed

Dirty checking, undo history, "unsaved changes" warnings - all reduce to knowing when an object changed. Proxy intercepts the writes themselves, no framework needed.

2 min 1,617
JavaScript Advanced

for await...of: Paginated APIs as a Simple Loop

Async generators hide the pagination bookkeeping - cursors, hasMore flags, page counters - behind a clean loop that fetches pages only as you consume them.

2 min 1,640
PHP Intermediate

A Real Upload Progress Bar with XMLHttpRequest and PHP

fetch() still cannot report upload progress reliably - but XMLHttpRequest has done it for fifteen years. The full pattern: progress events, a PHP receiver, and the config limits that silently break big uploads.

2 min 2,906
PHP Advanced

Real-Time Updates with Plain PHP: Server-Sent Events

WebSockets need infrastructure. Polling hammers your server. SSE streams live updates over normal HTTP with a PHP file and the built-in EventSource API - reconnection included.

2 min 1,843