How to set up an Apache virtual host on Linux

Published: Wednesday, January 28th, 2015 by Chris Taylor

This is a quick and easy post to show you how to set up a virtual host on your local machine for web development. So let’s say that you’ve got fancy new-age web app using AngularJS or the like, and you want to set up a proper development environment on your local machine. For this […]

Our favourite way to structure AngularJS project

Published: Monday, January 26th, 2015 by James Martin

I touched on this in my previous blog post, but I thought it might be worth while explaining a few of the common ways to structure AngularJS applications, and the explain why we like the one we do. Simple If you’re coming from, say, a PHP background, you may decide to organise your files by […]

What’s awesome about cg-angular

Published: Friday, January 23rd, 2015 by James Martin

For our most recent AngularJS project, we’re using Yo to generate the files. This is really common practice for Angular apps, and Yo is a fantastic tool for helping to keep your code organised. We tried a few generators before we settled on cg-angular. The standard angulat-generator was alright, but it doesn’t support ui-router, which […]

Speeding up coding with Live Templates in WebStorm

Published: Tuesday, January 20th, 2015 by Tyler Crammond

There’s a feature commonly called “snippets” or “templates” in most modern IDEs or text editors that allows you to save a small block of frequently used code and type a shortcut to insert it into a file. I use the Jetbrains WebStorm IDE for coding in Javascript and recently started using an increasing number of […]

Simulating an iPad using grunt-phonegap

Published: Monday, January 19th, 2015 by James Martin

How to test MongoDB Repositories using PHPUnit & Mongounit

Published: Friday, January 16th, 2015 by Chris Taylor

A repository is a way of making a standard interface into your database from your application. In MVC terms, it’s the Model. They should all extend a base repository which defines how they should interact with the DB. In this example it will be MongoDB. They should also all implement an interface which declares functions […]

Creating a logo.

Published: Monday, January 12th, 2015 by Joe Bradnum

Whats the best way to create a logo? well there isn’t a ‘best’ way, It’s all personal preference. When I design a logo I split the process into 8 different phases, 1st off & most importantly is to research other similar brand logo’s, doing this will help you gain a significant understanding of your target […]

Write simple but expressive functions

Published: Thursday, January 8th, 2015 by Chris Taylor

This is a quick demonstration of the trade-off of readability and efficiency of coding. Currently I have a function that is well written and commented (in my opinion) that looks something like this: public function constructPayLoad(array $template, array $report, $companyId) { //format the payload to contact the service $payLoad = [ ‘objectName’ => $template[‘objectName’], ‘reportName’ […]

Getting started with Cordova

Published: Wednesday, January 7th, 2015 by Tyler Crammond

Cordova is a great tool for building your HTML/JS project into a mobile app, but can be tricky to set up correctly. This walkthrough assumes we’re creating a new project, but the same principles can be applied to an existing project. We will be building for Android using vanilla Cordova (there are many frameworks and […]

How to set environment variables on Windows

Published: Wednesday, January 7th, 2015 by Tyler Crammond

I find that it’s always less than simple to get developer stuff set up on Windows. So let’s get straight to the point – here’s how you set environment variables on Windows.