Steven Hall

Blog

Steven Hall

Tech
Backbone.js is interesting because it gives you the basic framework of an MVC application without enforcing patterns on you. However, in larger web application it's always important to ensure your structure promotes code reuse and good organization for future development. One such way is through inheritance of views, and in...
Tech
My colleague Chris Price covered coming up with a "web-less webapp" in part one of this series, and then went on to talk about wrapping an application for iOS in part two. In part three, I'll explain how we wrapped our web-app for the Android platform. Introduction As explained in...
Tech
I've recently been developing a web project using the Struts2 framework. A problem that came up during development was validation. More specifically, the way error messages and page redirects are sent back to the user. In this blog post I'll explain the problems I encountered, and some solutions to those...
Tech
I was recently reading Google's JavaScript Style Guide when I came across the following claim: "Note that since assigning values to an array is faster than using push() you should use assignment where possible." I had always used push to assign a value to the end of an array, so...
Tech
Over the past few months I've been using the Closure Library to create my own JavaScript library that carries out some graphical processing. This is done entirely in JavaScript, using Closure's graphics package. An important factor in the development of this library was compatibility. I wanted assurance that, no matter...
Tech
Apache Maven is a popular build management tool that we use at Scott Logic to handle our internal projects. When I began using the Closure Tools, integrating the Compiler into the Maven build process became an important task. Having the compilation of code in the build process assures that the...
Tech
In November 2009, Google released their previously internal Closure Tools package, consisting of the Closure Library, Compiler and Templates, to the open-source community with the intention of allowing users to create web applications as advanced as their own. Initially considered a "20% project" for a selection of Google employees, the...