Categories

HTML 5 Canvas game

I’ve been busy for the last month, working with a couple of friends to put together an online version of Ninja Pirate Zombie Robot. This was initially going to be an iPhone app, written in Objective C, but after further consideration, we decided to write it using HTML 5 canvas.

The libraries we are using [...]

Scala JSON Generator

I am working with Scala more and more at the moment. I find it a really powerful and fun language to work in. One of the recent tasks has been to translate various tab delimited data files into a common JSON format. In java land, I’ve used Jackson to great effect, but [...]

Stubserver 0.1 released

I’ve released a python stub webserver, described in an earlier blog post, on pypi. The features include support for any method (i.e. PUT, POST, DELETE, GET, RHUBARB …), handles chunked encoding, and supports capturing data passed for later assertions.

Because it’s on pypi, you can install using:-

pip install stubserver

or

easy_install stubserver

The verification model is [...]

Testing against a Stub Web Server

I wrote recently about improving the way I usually create a stub web server for testing my applications that call out to external web services. This is a particularly common occurrence where I work (Point2) because we have separated out our core services which are interacted with through REST apis. As I’ve mentioned [...]

Why I write Python

Why do you write Python? Because it’s [...]

Writing Scala code in IntelliJ IDEA

Just read that IntelliJ IDEA 9 will be split into a Community Edition, and an Ultimate Edition. The Community Edition will be open sourced, and allows the Scala plugin. I’ve been writing Scala code for a few months now, and using IDEA in the office, and TextMate at home. I’m really hoping [...]

Stubbing a REST api in Python

For the last few jobs I’ve had, Service Oriented Architecture has been a strong theme. Having services presenting REST apis that consume and produce XML has been the regular approach. When it comes to testing consumers of those services, I have found Python to be an extremely useful and convenient tool. It’s [...]

Django REST models

We wrote an xml_models library, which allowed us to map our models to the XML data, using a declarative style similar to the Django DB models. The library has been open sourced and can be found on