Category Archives: jQuery

A Simple Example For Backbone.ModelBinding

I received a question via Github, asking if I had any simple, functional examples of my Backbone.ModelBinding plugin. After looking back through my blog posts and the documentation for it, I realized I did not. So, I whipped one up … Continue reading 


Run QUnit tests under Continuous Integration with NQUnit

Almost three years ago, I wrote about Running jQuery QUnit tests under Continuous Integration. As you can imagine, a lot has changed in three years. You would now have a lot of trouble following my post if you use the … Continue reading 

Also posted in .Net, agile, CC.Net, OSS, testing, Tools | Comments Off

Testing Out Embedding Of JSFiddle

This is mostly just a test to see if I can get a JSFiddle embedded into my blog post. The fiddle is a small backbone app that I’ve been playing with, to try out some different architectural ideas. It’s nothing … Continue reading 


Stop Using Backbone As If It Were A Stateless Web Server

In the web development world with MVC based back-end servers, nearly everything is kicked off with routes. Look at rails for example. If you want a list of items, you hit /items and the router executes the index method on … Continue reading 


Awesome Model Binding For Backbone.js

A few weeks ago, Brandon Satrom introduced me to Knockout.js by pointing me to a video by Steve Sanderson. I haven’t had a chance to try KO, yet, but I have to say I was blown away by the data-binding … Continue reading 


Rendering A Rails Partial As A jQuery Template

A question was asked on twitter: Here’s one of the answers that I sent to rob, in the form of a gist: I’m using this solution in my current rails app and it’s a very elegant way to use an … Continue reading 


Rendering jQuery Templates With Backbone Views

In my previous examples of using views with Backbone.js, I showed a simple login form that was built directly in to the page’s html markup. In a more complex app, you are likely going to load content from a server … Continue reading 


Solving Backbone’s “this.model.view” Problem With Underscore.js

In my last post, I briefly touched on a small problem in the relationship between the view and the model. Here’s the relevant code, again:   This is some awful code, honestly. I didn’t like it when I first wrote … Continue reading 


Intro To Backbone.js: How A Winforms Developer is At Home In Javascript

Today, I was introduced to Backbone.js and I almost immediately fell in love with it. It’s powerful. It’s elegant. But most of all, it’s a set of design and interaction patterns that I have a lot of experience using.   … Continue reading 


Using HAML, SASS, JQuery And JQuery-Templates To Build An ASync Search

In my previous post, I talked about setting up an API that let’s me search for insurance companies. My initial use of this is to create a search box on another page in the site and have JQuery call back … Continue reading 

| Comments Off