Overview for 'mwop'
Written by Matthew Weier o'Phinney
/ Original link
on Nov. 1, 2018
I've been working on building PHP Docker images for the purposes of testing, as well as to potentially provide images containing the Swoole extension. This is generally straight-forward, as the official PHP images are well-documented. This week, I decided to see if I could build Alpine-based images…
Written by Matthew Weier o'Phinney
/ Original link
on Oct. 18, 2018
For the past thirteen years, I've been either consuming Zend Framework or directly contributing to it. Since 2009, I've operated as project lead, and, since then, shepherded the version 2 and 3 releases, added Apigility to the ZF ecosystem, and helped bring middleware paradigms to the mainstream by…
Written by Matthew Weier o'Phinney
/ Original link
on Oct. 17, 2018
Have you used Node.js? For those of my readers unfamiliar with Node.js, it's a server-side JavaScript framework that provides the ability to create, among other things, network services. To do so, it provides an event loop, which allows for such things as asynchronous processing. In the PHP ecosyst…
Written by Matthew Weier o'Phinney
/ Original link
on Jul. 18, 2018
The last week has been my first foray into GraphQL, using the GitHub GraphQL API endpoints. I now have OpinionsTM. The promise is fantastic: query for everything you need, but nothing more. Get it all in one go. But the reality is somewhat... different. What I found was that you end up with a lot…
Written by Matthew Weier o'Phinney
/ Original link
on Jan. 23, 2018
Yesterday, following a unanimous vote from its Core Committee, PHP-FIG formally accepted the proposed PSR-15, HTTP Server Handlers standard. This new standard defines interfaces for request handlers and middleware. These have enormous potential impact on the PHP ecosystem, as they provide standard…
Written by Matthew Weier o'Phinney
/ Original link
on Mar. 30, 2017
I faced an interesting question recently with regards to middleware: What happens when we go from a convention-based to a contract-based approach when programming? Convention-based approaches usually allow for duck-typing; with middleware, it means you can write PHP callables — usually closures —…