Tech Weekly
A weekly dump of things I learned, bugs I squashed, and tech I’m exploring.
PHP Enums: Beyond Simple Name and Value
When PHP introduced Enums in PHP 8.1, they quickly became a better alternative to constants or string-based flags. Instead of scattering values like “active” or “inactive” across the codebase, developers could define them in a single, strongly typed structure. However, many developers still use enums only for their basic purpose:.
PHP 8.4 introduced several improvements, but one of the most interesting changes to the language’s object-oriented model is Property Hooks. At first glance, many developers focus on the obvious benefit: reducing the need for repetitive getters and setters. However, there is a less talked-about feature hidden inside this addition that.
For a long time, I believed web development was simple. There was the frontend and there was the backend. Once you understood both sides, the rest felt like implementation details. On the frontend side, we worked with HTML, CSS, and JavaScript to build interfaces that users could see and interact.
Developers love debating which backend framework is “best.” Scroll through any tech forum and you’ll find strong opinions, benchmarks, and passionate defenses. But after years of building real systems, I’ve come to a simpler conclusion: there is no universal best backend framework. There is only the right tool for the.
Using Claude Code Hooks to Keep My Mac Awake
Getting Back Into Writing (And AI Experiments) It’s been a while since I last posted here, but this feels like a good time to pick it up again. Lately, like most developers in 2025, I’ve been experimenting heavily with LLMs and AI agents. I’ve tried Cursor, GitHub Copilot, Cline, Roo.