PHPNews

Partitioning for concurrency in synchronous business processes.

Written by Frank de Jonge - Published on Frank de Jonge's Blog
Aggregated on Sunday October 1, 2017 - Permalink

WARNING: There will be a total of 3 GIF's in this article. If that's too much for you to handle I invite you to stop reading. The PHP landscape is getting more and more diverse. The typical PHP + MySQL combination is no longer the only way of doing things. Applications in PHP are not just fancy database wrappers anymore. The solutions we build today do far more than just model the solution-s…

Continue reading »


Rendering ReactJS templates server-side.

Written by Frank de Jonge - Published on Frank de Jonge's Blog
Aggregated on Monday May 18, 2015 - Permalink

The last couple of months I've been working with ReactJS quite extensively. It's been a very rewarding and insightful journey. There is, however, one part that kept coming back to me: server-side rendering . How on earth am I going to use ReactJS when I want to render my templates on the server? So, I sat down and looked at the possibilities. After some research, two possible techniques …

Continue reading »


Packages vs. Components: The Dependency Problem.

Written by Frank de Jonge - Published on Frank de Jonge's Blog
Aggregated on Friday June 26, 2015 - Permalink

The PHP landscape has fully transitioned into its Package Age™. Packagist is the main resource for retrieving new PHP packages: most frameworks split out packages from their main distribution to allow re-use outside of the framework. The world is a happy place. DISCLAIMER: Based on the research of this blogpost, I've enclosed details to @seldaek, some of these issues might be resolved …

Continue reading »


Onboarding and Ansible Galaxy.

Written by Frank de Jonge - Published on Frank de Jonge's Blog
Aggregated on Sunday September 27, 2015 - Permalink

When you start working on a new project, there are usually a couple of steps you'll need to follow to get up and running. This process is called on-boarding . One of the steps in this process is getting your local development environment setup. On every team I've worked we've used Vagrant. Any provisioning is done using Ansible, a simple configuration based provisioner. Ansible Galaxy is to …

Continue reading »


Pipelines, immutability and privates.

Written by Frank de Jonge - Published on Frank de Jonge's Blog
Aggregated on Friday December 4, 2015 - Permalink

A recent addition to the PHP League was the pipeline package, which allows you to compose sequential operations. One of the key aspects of the pipeline is that it's immutable. During the development of Pipeline, I learned a few lessons that I'd like to share with you. When I started working on the Pipeline package, I wanted to create a clean implementation of the Pipeline design pattern. …

Continue reading »


"Scaling" Vagrant with NGINX Load Balancing

Written by Frank de Jonge - Published on Frank de Jonge's Blog
Aggregated on Friday March 4, 2016 - Permalink

A load-balanced vagrant setup, because why the hell not! Not all projects require more that one instance of your application to handle the demand. When you do, you want to be prepared. You'll want to know which steps you have to take and which limitations you'll encounter. Let's get our feet wet. Already know why you would use load balancing, skip to the good stuff . The entire setup is …

Continue reading »