-
A Better Task Dispatch Integration
I spent some time re-building the abstractions for background tasks in PHPNomad, but this time it’s through the lens of a Redis integration.
-
Refactor WordPress integration to remove TaskScheduler in favor of new task system
Summary The phpnomad/tasks package has been rewritten in v2.0.0 to introduce a modern, dependency-injection-friendly, platform-agnostic task system. This update deprecates the legacy TaskScheduler and CanScheduleTasks model and replaces it with a new, unified architecture centered around: This issue proposes refactoring the WordPress integration to fully adopt the new task system. Why The current WordPress integration […]
-
PHPNomad As A Static Site Generator
PHPNomad’s documentation site is now being built using…PHPNomad!
-
Change Datastore Methods to Use Generators
The current datastore interface returns arrays for collection methods which leads to memory and performance issues in REST implementations where N+1 queries are sometimes unavoidable. By changing these methods to use generators, we can process items as they arrive and maintain constant memory usage regardless of collection size, creating a more efficient implementation without sacrificing usability.
-
Restructuring Datastore Events in PHPNomad
We’re moving datastore events out of the database layer and into the datastore layer while also splitting operation traits into paired versions (with and without events) to give developers more control over event emission. This change breaks backward compatibility but creates a more flexible, truly nomadic system where developers can choose exactly which operations should emit events rather than being forced into a one-size-fits-all approach.
-
Remove Concrete Container Solution and Create Integrations With DI Libraries
I have come to realize it’s likely time to pivot away from PHPNomad’s simple container system, and embrace integrating with existing solutions, instead.
-
Portable Kite Tail Winder
I needed a better way to wind up my kite tail, so I designed something to help me. You can download the file and print your own.
-
Feature Request: Make it possible to provide a class instance to binding transformers
Currently, event bindings are supported using a callback. Ready::class => [ [‘action’ => ‘init’, ‘transformer’ => function () { $ready = null; if (!self::$initRan) { $ready = new Ready(); self::$initRan = true; } return $ready; }] ], This tends to be overly terse, and require calls like this in cases where you want to encapsulate […]
-
Archive The Mutator Package
Why We’re Saying Goodbye to Mutators The Mutator package, while well-intentioned, has become a source of unnecessary complexity in our development workflow. What started as an attempt to create a flexible data transformation system has instead created a maze of interfaces, adapters, and callbacks that obscure the true intent of our code. The Problem with […]
-
Pitch: Remove Core Package Completely
The heart of the nomadic approach is that your code should be free to travel and adapt, like a digital nomad who can work from anywhere. The existence of a core package actually contradicts this fundamental principle. Here’s why: The solution is to break down the core package into focused, independent tools that developers can […]