Backbone.js provides a light-weight, extensible API which focuses primarily on general structure, and the utility of that structure, without requiring a rigid adherence to specific patterns or prescribing certain design philosophies. This focused approach affords developers a significant level of flexibility which can prove to be essential to the success of many modern client side web applications – especially when… Continue Reading
Preprocessing Modules with RequireJS Optimizer
Saturday, March 24th, 2012RequireJS provides an effective means of bundling an application for production deployment by way of the RequireJS Optimizer; which allows for optimizing, concatenating and minifying modules via Node or Rhino. The Optimizer is quite powerful insofar that fine-grained control over various aspects of the optimization process can be implemented with relative ease. One such example is the ability to specify… Continue Reading
Testing Handlebars Helpers with Jasmine
Tuesday, March 13th, 2012
For some time now, I have primarily been using logic-less templating solutions as they allow for a greater separation of concerns in comparison to many of their logic-based counterparts. By design, the decoupling of logic-less templates imparts greater overall maintainability in that templates become considerably less complex, and therefore, considerably easier to maintain and test. Handlebars, my preferred logic-less templating… Continue Reading
Jasmine matchers for Sinon.JS
Wednesday, March 7th, 2012Lately I have been finding myself writing custom Jasmine matchers which wrap the Sinon.JS API as a convenience. After repeating this process quite a few times I took a step back to see if there was a similar solution already available. After a brief search, I quickly came across jasmine-sinon which, to my surprise, provides a very similar matcher API… Continue Reading
Aptana JavaScript Outline View
Saturday, February 11th, 2012Aptana Studio is a great IDE for developing Web Applications. The fact that it is built on Eclipse and completely free leaves little to be desired. That being said, there is one feature I have always found to be lacking, which is, the Outline View for JavaScript. Or, more precisely, the fact that it dosent provide an Outline View when… Continue Reading