Coding with PHP 8.0: Attributes and the Nullsafe Operator
PHP 8.0 is out. I share how I've been using attributes and the nullsafe operator in real projects, and what they've actually delivered.
Blog
My hands-on development journal: PHP and Laravel, Go, JavaScript and TypeScript, developer tools and career. Architecture writing lives in Engineering. (Page 11/17)
PHP 8.0 is out. I share how I've been using attributes and the nullsafe operator in real projects, and what they've actually delivered.
PHP 8.0 isn't out yet, but the RFCs and beta releases are already readable. Here are my notes on three key features worth understanding before release.
The practical case for moving repetitive transformation tasks to Python rather than PHP, with real script examples and what to watch for as a script grows.
How Inertia.js delivers a single-page-app feel without a separate API, how it integrates with Laravel, and when it's the right choice.
A deep dive into Laravel 8's class-based factory system and new directory layout, focused on generating test and seed data.
I discuss what the Composition API brings over Options API in Vue 3, and when you should prefer it, with concrete examples.
A practical guide to PHP exceptions and error handling: try-catch-finally blocks, multiple catch clauses, custom exception classes, and global handlers.
I explore what you get — and what you don't — when building a small HTTP service with Go's net/http package, and where the framework threshold sits.
I explain the gap Python fills in my polyglot practice, my learning journey, and a PHP developer's perspective on Python.
When should you reach for Alpine.js, and when should you not? I discuss the right scale for UI needs that don't require a full framework.
How Laravel Sanctum solves SPA authentication, and why its cookie-based approach is cleaner than token-based alternatives.
A look at Livewire's server-driven model for Laravel: how it works, when it is the right choice, where its limits lie and how it compares to SPAs.