PHP Recommendations: PSR-6 vs. PSR-16

The PHP Framework Interop Group (PHP-FIG) features two accepted recommendations related to caching: PSR-6 (Caching Interface) and PSR-16 (Simple Cache). We are going to take a look at both PSR’s to find out what distinguishes them from one another. PSR-6 PSR-6 provides a common interface for caching systems. It was accepted by PHP-FIG on December 8, […]

Moving Your Continuous Integration to the Cloud

This article describes how an on-premises continuous integration solution was replaced by a cloud-based approach. The toolchain includes Travis CI for build management, TestingBot for browser testing and Scrutinizer CI for static code analysis. Humble Beginnings When I started my current position, our company had one main product. A monolithic PHP application built on Zend Framework 1. The […]

Integrating Kaleidoscope 2 with Git

What is Kaleidoscope? I assume you already know what Git is, so let’s have a look at what Kaleidoscope is. Kaleidoscope is a file comparison app by Black Pixel for OS X. Just like any other file comparison tool worth its salt, it lets you view file differences and merge those differences in case of conflicts. What sets […]

JavaScript Inheritance

A Word About JavaScript Inheritance There are several approaches to implementing JavaScript inheritance. Some follow JavaScript’s object-based nature, while others achieve a “classical” inheritance closer to what many people may be familiar with from languages like Java or C++. Some JavaScript libraries provide class-like behaviour, like MooTools‘ “Class” construct or Ext JS with Ext.Base/Ext.ClassManager. However, […]

Database Diagnosis and Profiling with mysqlslap

If you’re chasing bottlenecks in your application or you just feel like you could squeeze a bit of performance out of your database, you’ll probably be measuring query times at one point or another. If you’re using MySQL, you’re in luck: Starting with version 5.1.4, MySQL comes with a command line tool called mysqlslap. There are many […]