Blast from the past – Links from my bookmarks – part 10

This set covers Laravel authorization patterns, modern PHP practices, real-time progress tracking, the value of blogging, string manipulation, legacy code strategies, and mindset shifts.

Laravel Authorization

Laravel Gates: A Graphical Introduction for Beginners by Anis Uddin Ahmad

Laravel’s authorization system can be confusing at first, especially distinguishing between Gates and Policies. This visual guide breaks down how Gates work with clear diagrams and examples. I’ve found the graphical approach particularly helpful when explaining authorization concepts to team members new to Laravel.

Modern PHP Architecture

Beyond Abstract by Larry Garfield

Larry challenges common assumptions about abstract classes in PHP and when they’re actually appropriate. His deep dive into object-oriented design patterns goes beyond surface-level advice, exploring the trade-offs between different approaches. This kind of thoughtful analysis helps write more maintainable PHP code.

Real-Time Progress in Laravel

Laravel Batches and Real-Time Progress with Livewire by Philo Hermans

Showing real-time progress for long-running batch operations significantly improves user experience. This tutorial demonstrates how to combine Laravel’s batch functionality with Livewire to create responsive progress indicators. I’ve used this pattern for import operations and background processing where users need visibility into what’s happening.

The Value of Writing

Blogs, More Than Ever by Sebastian De Deyne

Sebastian makes a compelling case for personal blogging in an age dominated by social media platforms. Owning your content and building a personal archive of knowledge has value beyond metrics and algorithms. This resonated with me, some of my most useful writing has been simple documentation that helps my future self as much as anyone else.

String Manipulation Utilities

Replace Accented Characters with Plain English by Amit Merchant

Handling international characters properly is a common need in web applications. Amit shows practical approaches to normalizing accented characters for URLs, searches, and other contexts where ASCII equivalents are needed. It’s a small utility that comes up more often than you’d think.

Legacy Code Modernization

Two Kinds of Legacy Code Upgrade by Tomas Votruba

Not all legacy code upgrades are the same. Tomas distinguishes between gradual modernization and big-bang rewrites, explaining when each approach makes sense. Understanding these different strategies has helped me make better decisions about how to approach aging codebases without getting overwhelmed.

Building Resilience

Proof You Can Do Hard Things by Nat Eliason

This isn’t strictly technical, but it addresses something every developer faces: tackling difficult challenges and pushing through when things get hard. Nat’s perspective on building evidence of capability through completing challenging projects is motivating. It’s a good reminder that growth happens outside comfort zones.

Testing Utilities

Mock JSON API Endpoints for Testing by Amit Merchant

Testing code that depends on external APIs can be fragile and slow. This article explores approaches to mocking JSON API responses for more reliable and faster tests. Having solid strategies for API mocking makes test suites more maintainable and less dependent on external services.