Latest Blog Entries

What Are APIs Anyway?
(Fri, 19 Feb 2010 11:01:30 +0000)

What are APIs anyway? Everyone’s heard of APIs these days.  Facebook has them, Twitter has them, Hotmail has them, Microsoft Office has them, Windows has them, Mac OS has them, pretty much everything has them.  I’m going to try and explain in simple terms, but also, almost by contradiction, in detail, what an API really is.  [...]


C# Access Modifiers Are Type Specific, NOT Instance Specific
(Wed, 17 Feb 2010 10:01:16 +0000)

Here’s an interesting example from a brief discussion I was having on twitter yesterday with @DotNetWill. Did you realize that access modifiers in .NET are type specific rather than instance specific. It’s not a weird edge case, it is exactly how the language spec lays it out, but it’s not how most people think access [...]


ASP.NET MVC View Engine That Supports View Path Inheritance
(Tue, 19 Jan 2010 00:31:50 +0000)

I was working on a small MVC project where we were dealing with Inherited controllers (SomeController was inherited by SomeMoreSpecificController) and we decided that it’d be nice to have a similar hierarchy of sharing and inheritance at the View level. Unfortunately, out of the box, ASP.net MVC looks in two default locations for your views and [...]


I don’t understand Bayonetta
(Sun, 10 Jan 2010 12:11:25 +0000)

I keep seeing glowing reviews of Bayonetta.  You might have seen it advertised, the game with the “witch” that looks like Sarah Palin, who uses her hair as both a weapon and her outfit, has guns on the heels of her shoes and features in a game that has a button for “dance / taunt”.  [...]


Albums of the year… 2009…
(Tue, 15 Dec 2009 21:41:22 +0000)

It’s the time of year when people make lists to fill the internet with content, so for anyone that cares I’m going to talk about music for a few moments. In my eyes (ears?) there are three obvious contenders to album of the year but choosing between them is exceptionally difficult… 1. Alice In Chains – Black [...]


Writing Presentable Code Pt.1 – Properties and Variables
(Wed, 04 Nov 2009 22:19:00 +0000)

At work we’re currently discussing coding standards, specifically to synchronise development in two countries and keep the style consistent across the teams.  You know, the usual stuff.  When people start discussing coding standards, it quickly devolves into a religious debate and honestly, I think a lot of it comes down to personal preference.  Because of [...]


Reusable Editable Fields for ASP.net MVC Using jQuery
(Thu, 08 Oct 2009 16:03:30 +0000)

A friend recently asked me about editing items inline using ASP.net MVC, the kind of thing that was auto magically wired up with post backs in “old fashioned” asp.net so I’ve whipped up a small example showing how you can use jQuery to declaratively set up interactive field editing with a sprinkling of Ajax and [...]


Creating a WCF Proxy to talk to Magento
(Mon, 05 Oct 2009 16:46:07 +0000)

I got a message from a friend who was struggling to do an integration piece with the Magento eCommerce Platform using the SOAP endpoint available at http://yourserver.co.uk/api/v2_soap?wsdl. He brought an interesting problem to me, namely that the WCF svcutil executable (and built in Visual Studio 2008) was failing to generate any proxy code when supplied with [...]


Designing Client Facing APIs – Best Practices
(Wed, 30 Sep 2009 11:47:09 +0000)

With the popularity of service oriented architectures and other buzz phrases related to software as service, good API design has become a significant selling point for any software platform in the past 5-10 years.  People make purchasing decisions based on how easy it is to interoperate with your applications and code and as such the [...]


In defence of current-gen game design
(Sat, 05 Sep 2009 01:27:58 +0000)

I feel frustrated at the moment by the endless cyclical debate on the internet (in this case, a comment on Kotaku) claiming games are creatively plateauxing due to their middle age.  People seem incredibly pent up on the games-as-art debate to the extent that they seem to deride anything that the "it’s just a game" [...]