Ryan Bolton

The Gingham Dog and the Calico Cat12/09/2012

The Gingham Dog and the Calico Cat I've created my own little MVC framework. The result is Gingham which also incorporates a small JSON template engine of my own creation. 

I'm actually quite pleased with it as it seems to work! I haven't tested it in anger yet but as an exercise in JS betterment I think it has been a success. Next step is to rewrite node.js :p

Gingham on github

Von Ryan's Express31/01/2012

Frank Sinatra I've decided to move away from my bespoke node.js app to build on a more maintainable and modular framework (namely express.js - why reinvent the wheel as they say).

Express.js sports a MVC-like architecture and gets a lot of air-play in the node.js community and seems to be the framework of choice.

At the moment I'm running with jade as my template engine. Not sure how this will pan out as I've only dipped my toes in, as it were, but I'll keep you posted.

Heroku ku ku!10/01/2012

shooting stars So I've just moved the site to heroku.com . After recently installing the Windows version of node.js I wanted a (free) service that had a command-line tool for Windows. Unforunately dotcloud.com didn't, without resorting to cygwin, and as node.js runs so well on Windows now I decided to go with old faithful heroku. So back to evil windows I come.

I should explain my motivation is toexperiment with hosting node.js applications in IIS on Windows not that I love Windows or anything...

Node to joy (part 2)!19/07/2011

node.js new logo So my love affair with node.js continues. Though the relationship has been a bit bumpy lately. duostack.com appears to have finally disappeared (along with my site - thank God for github). So I've hurridly switched to dotcloud.com and (in a very similar deploy process to dotcloud's) I've got the site back up and running. So hopefully some more node.js love coming soon...

Node to joy!12/04/2011

node.js old logo Recently I've been checking out node.js and I've been bowled over by it! So much so, that this site is now a hosted node.js app on duostack.com.

Does it live up to the hype? Development-wise it certainly does. Ok the event driven nature might take a bit of getting used to for some (especially the javascript newb), but the freedom it gives you is amazing. I've even written a small framework, inspired by mvc, something that would have felt like an impossible (or at least arduous) task in any other server-side language. Hopefully I can find some time to tidy it up for public consumption before I'm distracted by more potential node hacking. In any case my new-found node.js love will no doubt mean more frequent updates on here in the near future.

jQuery Ate my Hamster02/05/2010

Picture of cute hamster jQuery is concise and elegant. Its high-level abstraction allows web developers to use intuitive CSS selectors to do dynamic stuff with their pages. However, it has a tendancy to grow and propagate to become monolithic, greedy and darn-right ugly so you’ll quickly be left with huge procedural files which are very difficult to pick up.

But alas, your jQuery can be tamed! One such method is to use the 'Module Pattern'. Douglas Crockford came up with this technique and it allows you to encapsulate public and private methods that operate within their own namespace. Everything is contained so conflicts are kept to a minimum. The link below has a nice little summary of Javascript patterns including the 'Revealing Module Pattern' (created by Chris Heilmann to extend Douglas' pattern) which I now use to structure my scripts.

Javascript programming patterns

Fizz buzz25/02/2010

I've just come across an article (via Twitter) on Jeff Atwood's blog Coding Horror called Why Can't Programmers.. Program?. The basic premis is that the vast majority of programming job applicants can't even write a simple program. They describe a simple programming problem called Fizz-Buzz.

Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".

The whole point of the article was to discuss the state of programming education, but readers interpreted it as a challenge and submitted their own solutions (in the language of their choice - and often as obfuscated as possible). Of course I couldn't resist and posted a solution (search for 'Ryan on February 24, 2010 6:17 AM') using Javascript (one of the only Javascript solutions).

You can also see it here


Photo of little Scarlett Arabella Bolton Have a look at the Javascript powering this website. It uses a little library called jScarlett; a simple Custom Object to emulate jQuery in syntax and function. Certainly not an attempt to supercede Resig's well-regarded abstraction language, but more an exercise in Javascript betterment... a way for me to practice some fundamental Javascript techniques; whilst creating something useful. Don’t be too harsh!

What's this...? A blog?09/12/2009

Not really. Just somewhere I can post some stuff. Stuff about this. Stuff about that. But mostly stuff about web development.

This is the personal website of Ryan Bolton; web developer from Leeds, Yorkshire.

Currently I’m a web developer for a York-based IT firm who build and maintain media platforms for large entertainment companies the world over.