Ripped off a bandaid today. Finally got around to properly tagging all PHPNomad packages, and setting all of them up in Packagist. Currently at 40 repositories, so I needed to get ahead of this before it got out of hand.
-
-
Proposed New Facade Pattern That Supports Multiple Containers
Current Implementation PHPNomad currently uses a Facade pattern implemented through abstract classes to provide static access to services. Facades serve two primary purposes: The current implementation requires: Challenges Architectural Limitations Impact on PHPNomad’s Core Philosophy The current Facade implementation conflicts with PHPNomad’s goal of writing truly portable code. By relying on global state and single container context, we limit the ability for code to be truly “nomadic” and run anywhere. Proposed Solution New Facade Pattern Instead of using abstract classes and global state, we propose a new pattern that: Implementation Details class LoggerFacade { use WithFacadeCapability; protected static function getRequiredType():…
-
PHPNomad As An MVC Framework
So PHPNomad can run as an MVC framework now. That’s neat. I needed a way to make Siren run outside of WordPress. After careful consideration, I decided the best route to take was to set up the last couple of packages needed to just make PHPNomad capable of running as its own MVC framework. I spent a weekend creating the strategies that WordPress handles for Siren using various Symfony packages and other dependencies. After that, I structured it so that the app runs PHPNomad, registers the routes embedded in the application properly, and allows you to create views specific to…
-
Introducing Blueprint – A PHP Library for Replacing Placeholders
Wanted to share a small PHP library that I put together this morning. This makes it a bit easier to build and replace template strings in PHP.
-
The Nomadic Approach: How to Write Code Once and Run It Everywhere
Learn how the nomadic approach simplifies your development workflow, reduces context switching, and makes your code more adaptable to any platform.
-
I Participated In a WordPress Marketing Discussion at WCUS
I participated in a marketing meeting with other WordPress contributors where we discussed the challenges we see, and discussed how we can approach marketing WordPress to ensure its future remains in good standing.
-
Feature Request: Enable Filtering by Post Format
Nick, the creator of the Block Visibility plugin asked me to submit a feature request with some information about post formats.
-
I Contributed To Discussion: Bring post formats to block themes for Gutenberg
Original I know this is a long conversation, but want to add into this that the entire reason why I’m using post formats is because it is the only way to create different types of content on a website using the mobile app. I use my entire site as a central hub, and that means that I’m posting everything through that first. Tweets, videos, blog posts, all of it. This means that I’m frequently using the mobile app to publish. If it were possible to make custom post types display in the app, I’d probably be more open to using…
-
I Released A WordPress Plugin Template Using PHPNomad
This is a template for building WordPress plugins using PHPNomad for structured setup and PHPScoper to safely compile and isolate dependencies. This template allows for the creation of plugins that can be used alongside other plugins using the same libraries without causing conflicts.
-
A Litany of Potential Improvements.
After importing over a decade of tweets into my site, I had several improvements to offer to the import utility I used. I compiled my changes to the code, and submitted it as a pull request, detailing what I needed, and why.