Understanding JavaScript – part II.

We have discussed in the previous article what functions are. Let's continue our discovery and find out the important attributes of functions. As you have seen in the previous article, a function does not necessarily require a name: function () {} (anonymous functions) is ...Read More

Understanding JavaScript – part I.

There are many approaches to learning JavaScript, but only a few of them explain how JavaScript works from the inside. I will demonstrate and highlight the most important features of JavaScript throughout a series of articles about how to use the language properly ...Read More

Developing for IE8: inline-block resize bug

At Caplin we don't need to support the ancient Internet Explorer 6 & 7 browsers, which makes development a lot easier, but IE8 still has some bugs to make life difficult. On a recent project we found an annoying one affecting inline-block elements, ...Read More

Callback hell is a design choice.

Repeated comments and blog posts about the "callback hell" problem in JavaScript on sites such as HN and Reddit have really baffled this JavaScript programmer. Callback hell is where you call an asynchronous function which provides the result of its computation via a ...Read More

Dart: did Google miss the bull's-eye?

The vocal portions of the Web that care about such things seem to have already made up their minds about Dart, the new web programming language from Google. My opinion of it has been flipping between intrigue and tedium. Maybe you don't even ...Read More

What I Learnt at SPA 2011

After weeks of keen anticipation, not to mention many long nights of preparation for my own session, SPA 2011 has now been and gone. Overall it was an excellent conference with a great group of attendees. The numerous inter-session conversations I had with ...Read More

Windows 8 with HTML5/JavaScript apps

Microsoft have previewed Windows 8 at the D9 conference, including a video showing it off. It seems like a slightly crazy mix of backwards compatibility and some quite cool new ideas that are meant to be suitable for keyboard/mouse ...Read More

HTML5 Toolkits for Complex Web Applications

At Caplin, we build very complex web applications for financial trading, and we are often asked for advice about which of the many JavaScript toolkits out there are the best. Embarking on developing a web application can be bewildering: there's no shortage of JavaScript ...Read More