Adding model validation to the Sequelize ORM library for node.js

I’ve been using the Sequelize ORM library for node.js lately and it’s a really nicely done piece of work by Sascha Depold. It’s still got some way to go before one can consider it to be mature framework. One thing I miss having is a nice easy way ...

How to write a custom widget for jQuery Mobile

I needed to write a custom widget for the jQuery Mobile library but couldn’t find any step-by-step documentation on how to do it in the official docs. A search on Google didn’t result in any better luck. In the end it turned out to be quite easy t...

Comparison of RequireJS and Hem for JS minification

As I’ve hinted at in previous posts</a> I’ve been using RequireJS for a while now to help “modularize” my client-side Javascript code and make it easy to package it into minified and compressed script files at deployment time. And ditto for ...

Notes on using RequireJS with Backbone and/or Spine

For a project I’m currently working on I’ve decided to jump on the Javascript bandwagon with full weight. I intend to code in CoffeeScript, use either Spine or Backbone to give me a light-weight MVC architecture, and then deploy it all together in...