Blog

Testing defines in PHPUnit

This one tripped me up recently. Say you are wanting to test a bit of code using PHPunit that relies on a defined constant. You don’t want the define() to affect your other tests, you only want it to apply for this specific test. Something like this: class MyTest extends PHPUnit_Framework_TestCase { public function testExample()…

Watching Our Words

Apparently your tongue only makes up 0.4% of your total body weight, yet it has the power to crush or empower people around you. I don’t think anyone would argue that our words have a strong impact on those we converse with each day, and yet how long do we take to consider what it…

My Mac OS X Bash Profile

For a while now I’ve been beefing up my .bash_profile script with useful aliases. If you don’t know what .bash_profile is then read this great article which explains what it is and contains loads of useful info for getting started. I figured it might be helpful to share my .bash_profile to give others some inspiration, and to get…

WordCamp Miami 2015 Review

Last week I attended my fist WordCamp in Miami. As I said before it really was a week of firsts. It was my first time in the USA (and my first time in Miami obviously), my first long haul flight, my first WordCamp and the first time meeting the Delicious Brains team. It was a…

State of the Web 2015 (IMO)

For posterity’s sake I thought it would be an interesting experiment to record my opinions on the state of the web as it currently exists. The plan being in a few years time I can look back and reflect on how things have developed. The Most Powerful Rendering Engine At the moment I don’t know…

The Accounting Software I Want

I’ve spent the last while looking at different accounting software (web apps) that I can use for my small online business. I have been using FreeAgent for a few years, but recently discovered Xero and its powerful reconciliation features. However the more I’ve delved into what apps provide which features, I’ve realised none of them…

I’m Changing My Job

For the last 3.5 years I’ve been working as a web developer over at ZillaMedia. In my time there I have worked on some awesome projects including building Snippi, working on PremiumPixels and building WordPress themes for ThemeZilla. However by far the biggest and most interesting project that I’ve worked on for the last 2…

Structuring Sass for Web Apps & Larger Projects

I’ve been using Sass (specifically Scss) as my preprocesser of choice for some time now and it’s invaluable for taming your CSS when building larger projects (such as web apps). On a smaller project you can get away with maybe a couple of .scss files, however once your codebase grows things can get messy fast. But…

2014 Year in Review

It’s that time of year again to look back, take stock and reflect on what a year has brought. At the end of last year I resolved to be working smarter, not harder. While I may have achieved this goal to a certain extent there have been certain unforseen situations in 2014 which have hindered…