Overview for 'mwop'
Written by Matthew Weier o'Phinney
/ Original link
on May. 1, 2019
Last week, I did some system updates, and then decided to compile the most recent PHP releases. I've used phpbrew to manage multiple PHP releases for a number of years, and having it install a new version is fairly routine. Except this time, it wasn't. Due to updates I installed, I was getting erro…
Written by Matthew Weier o'Phinney
/ Original link
on Apr. 17, 2019
Ten years ago this month, I was involved in a couple of huge changes for Zend Framework. First, I helped spearhead integration of the JavaScript library Dojo Toolkit into Zend Framework, and finalized the work that month. I'd worked closely with the two developers who had been leading that project…
Written by Matthew Weier o'Phinney
/ Original link
on Apr. 2, 2019
I am a long-time gnome-shell user. I appreciate the simplicity and elegance it provides, as I prefer having a minimalist environment that still provides me easy access to the applications I use. That said, just as with any desktop environment, I've still run into problems now and again. One that's…
Written by Matthew Weier o'Phinney
/ Original link
on Jan. 24, 2019
In Expressive, we have standardized on a file named config/routes.php to contain all your route registrations. A typical file might look something like this: declare(strict_types=1); use Zend\Expressive\Csrf\CsrfMiddleware; use Zend\Expressive\Session\SessionMiddleware; return function ( \Zend\Expr…
Written by Matthew Weier o'Phinney
/ Original link
on Dec. 5, 2018
We pioneered a pattern for exception handling for Zend Framework back as we initially began development on version 2 around seven years ago. The pattern looks like this: We would create a marker ExceptionInterface for each package. We would extend SPL exceptions and implement the package marker int…
Written by Matthew Weier o'Phinney
/ Original link
on Nov. 4, 2018
I've been running redis in Docker for a number of sites, to perform things such as storing session data, hubot settings, and more. I recently ran into a problem on one of my systems where it was reporting: Can't save in background: fork: Out of memory A quick google search showed this is a common…