Blue-green Laravel deployment to Pivotal Cloudfoundry

This post shows how I do blue-green deployment of my Laravel project, that has a queue runner, through GitLab CI onto Pivotal Cloudfoundry. You’ll need to know some basics of GitLab CI, Laravel and Pivotal Cloudfoundry to better understand this…

PHP 7.3 will have improved performance

The latest PHP 7.3 has introduced several core changes and deprecation of functionalities. One of the most important change is that the cyclic Garbage Collector has been enhanced. This may result in considerable performance improvements for your average PHP site.…

Prioritizing atomicity over consistency of CRUD

Today, I learnt about balancing and managing yet another engineering trade-off about APIs. To achieve a glory of REST, we would need to take a look at Richardson’s Maturity Model.

Richardson’s Maturity Model

Essentially, to achieve the glory of REST,…

Acceptance/integration tests only…?

I came into this thinking initially when I read the late Pieter Hintjenā€™s books. He was against numbers/coverage percentage and said that testing should be focused on APIs. This ensures that the components that works and ignores how individual components…

HOW TO: Laravel testing on Gitlab CI with Docker

This is just a quick mini-post sharing some of the nice stuff that I’ve done with my co-worker, Kheng Hui, while I was working on an A*STAR project. The project used Laravel 5.3 with PHP 7 and MySQL, and needed…

#PHPConfAsia It’s a wrap

PHPConfAsia Thoughts And More

The conference was just over and I’m already missing the fun times I had there. It was three days of fun and excitement; learning tons of things from the speakers – their experience, knowledge and most…