Archive for the ‘Scripting’ Category

Backbone.js by example – Part 1

Backbone.js is a Javascript MVC (model-view-controller) library that provides complete support for building clean and easy to maintain client side code. What I like in Backbone.js is its light weight (~4.5kb) and that it doesn’t get in my way by imposing how my application should be architected or organised. Backbone.js is not even restricted to […]

A Ruby command-line option parsing template

Even utility scripts should be robust and well documented. It’s a pain to have to read a script source to figure out what it is doing and what are the possible parameters and how they are used. In this post I share a script template I use for my Ruby scripts.