Author: alister

Thus far, I’ve not done anything serious with much more with database like Mysql, some Postgres and on the NoSql side MongoDB (with a frisson of some use of Redis for some barely-more-than basic things), but I saw some mention …

Investigating RedisGraph Read More »

Tagged with: ,

Slow running tests are a bug – they stop you from doing as much as you can with your code, & its quality. Spend a little time working on making your tests better, clearer, and faster – and you’ll reap …

Speeding up your tests, and also your code coverage! Read More »

In early 2016, I suggested an addition to the SncRedis-bundle. The project itself is an fully-featured add-on (‘bundle’) for Symfony framework projects to easily do a number of very useful interface functions between Symfony and the Redis database/cache.  It can, …

SncRedis and tagged services Read More »

A recent post showed how to setup Code Tombstones – but there are other , even more insidious pieces of code in a project. The code you know you aren’t using now, but you wrote ahead of time – because  you …

Improve your code coverage percentage – delete code! Read More »

While Twitter can be really annoying, sometimes it can help to promote some wonderfully simple ideas. One of these came from Andrew Woods (@awoods) – a github repo called php-in-seattle.  It’s a simple idea – just a list of companies around a …

PHP-in-London list Read More »

Version 0.9 of scheb/tombstone autoloads a file with a tombstone() function. See the bottom of the post for a fix to override that in your own code. In a large project – particularly one in a dynamic language like PHP, …

Code Tombstones Read More »

One of the advantages of a side-project is that you can be a little extra passionate about getting things just right. If you want to increase code coverage because you think that it’s good, you can – after all, it’s …

Replacing @expectedException with $this->expectException() Read More »

Having just watched Sebastian Bergmann’s “The State of PHPUnit” presentation from Fosdem 2015, I was inspired to install and test a project of mine with the latest stable PHPUnit – v4.7. It was easily installed on the command line. composer …

Upgrading PHPunit – fixing PHPUnit_Util_DeprecatedFeature_Logger Read More »

Tagged with: ,

Just a quick note to point out a couple of presentations on Queuing. I’ve recently shown the second (which admittedly has some significant things in common with the original, and not just the web-based slides). Either way, you are welcome …

Presentations, May 2010 and July 2012, on Queueing Read More »

Tagged with:

It’s been one of those quiet spots around here for a while, so here’s the catch-up on what has been happening while I was not posting. I’ve recently finished a short contract working with an agency, Transform (part of the …

Recently…. Read More »

Tagged with: , , ,