January 2016 articles

Using the revealing prototype pattern in JavaScript

Posted: Saturday 30th January, 2016 - 6:28pm
Author: James Griffiths

When developing applications with JavaScript you quickly realise the need to architect and structure your code in a way that's modular, scalable and efficient.

Due to JavaScript's flexibility there are many ways this could be achieved; some better than others.

In this article we're going to take a look at how this could be achieved using the revealing prototype pattern and discuss the benefits and drawbacks of this particular design pattern...


5 Ways to keep your Mac laptop from overheating

Posted: Wednesday 13th January, 2016 - 6:26pm
Author: James Griffiths

Mac laptops are generally quite reliable but, like any equipment, they can develop faults and, if not properly maintained, are likely to become prone to frequent problems later on.

One of those problems may involve overheating.

Here are 5 steps you can take to minimise and reduce overheating on your Mac laptop...


Updating a range of records with MySQL

Posted: Friday 8th January, 2016 - 10:44pm
Author: James Griffiths

Updating a single record entry in a MySQL database table is fairly simple, but what if you need to update a batch of records with one single query?

It's not as difficult as you might think...