I've been a Scout Leader for a few years now and the District I work within have very little by way of internet presence. As a bit of a pet project I started building a simple Scout based website for them to use. Its nothing too fancy, I created a simple module and theme for … Continue reading Free Open Source Website for Scouts
Author: Matt Cockayne
Its time for a change
So... Its been a long time since I posted anything of any relevance. This is due to having been super busy with my previous company Zucchi. However that has all changed now! After three and a half years of running my own company I have decided that its not for me. I gave it my … Continue reading Its time for a change
Flexbox cross browser
Despite having been around for a while and having been through a couple of revisions, its support across browsers can vary greatly. From "Candidate Recommendation" on Chrome/Opera, "legacy flexbox" on Firefox and no support at all on IE9 and earlier. Making flexbox work consistently across browsers was a challenge for us on a recent project, … Continue reading Flexbox cross browser
Disabling Cache in Silverstripe 3.1
While working with Silverstripe we found ourselves having to run "?flush=1" a lot to clear the Cache. To switch it off, while you work, add the following to your mysite/_config.php: SS_Cache::set_cache_lifetime('default', -1, 100);
Creating Custom Routes in Silverstripe 3.1
We wanted to create a Route to our custom Products Controller in our products module for SilverStripe 3.1, such as: "http://www.examplesite.com/products/<product-slug>" However looking at the Controller Documentation it was not clear how to create a route without an Action being supplied. In our example above the action is not specified, as we just want to … Continue reading Creating Custom Routes in Silverstripe 3.1
Set up SilverStripe 3.1 using only Git (No Composer)
We recently tried to use composer to set up SilverStripe 3.1, but ended up with a dependency nightmare. In order to work around this we decided to make use of Git submodules. First set up your Git repository and run: git init Next set up a site directory for the code inside your Git repository. … Continue reading Set up SilverStripe 3.1 using only Git (No Composer)
Enabling MYSQL_CLIENT_INTERACTIVE with Doctrine 2 on Rackspace Cloud Database
We recently ran into problem using Doctrine 2 connecting to a Rackspace Cloud Database using the MySqli Driver. Problem: We have a long running PHP script that can sometimes run for hours at a time whilst processing information. This script requires a connection to a database, but has long periods of inactivity where there is no … Continue reading Enabling MYSQL_CLIENT_INTERACTIVE with Doctrine 2 on Rackspace Cloud Database
Installing PECL extensions for Zend Server 6
Recently we have revisited using Zend Server for some of our projects and decided to give the new version 6 a chance to prove itself. Overall its a big improvement over version 5. There are still some things that are extremely annoying but we have decided that we can overlook them. However there is one … Continue reading Installing PECL extensions for Zend Server 6
Better Output for MySQL Select Command Using \G
If you ever find yourself using MySQL via command line and end up with something like this: And thought there must be another way, well here it is: Use \G instead of ; at the end of your select command. For example: select * from CHARACTER_SETS\G Below is an image of the output from this … Continue reading Better Output for MySQL Select Command Using \G
Introducing ZuQ – A Simple ZeroMQ Queuing Daemon
We recently had the need to create a queuing system to replace an implementation of RabbitMQ that was being used on a previous project. The reasoning behind this is that the requirements of the project required a very custom implementation of a queuing system that would drastically alter in architecture as the project grew and RabbitMQ just wasn't going … Continue reading Introducing ZuQ – A Simple ZeroMQ Queuing Daemon