Monthly Archives: August 2011

Don’t Limit Your Backbone Apps To Backbone Constructs

I’ve noticed a pattern in Backbone sample apps, requests for help via StackOverflow and the Google group, etc, where people realize that they have a need for an object that coordinates various parts of the application. This is a great … Continue reading 

Posted in AntiPatterns, AppController, Backbone, Javascript | 7 Comments

Don’t Execute A Backbone.js Route Handler From Your Code

I was working on a sample Backbone.js application and I ran into a scenario that seemed like it should have been simple on the surface, but was causing me a tremendous amount of headache. Here’s the basic functionality that I … Continue reading 

Posted in Analysis and Design, AntiPatterns, Backbone, Javascript, Model-View-Controller, Principles and Patterns | 40 Comments

Enabling And Disabling A Button With Backbone.ModelBinding

This is a follow-up post to my previous post on how to enable and disable a button with backbone. I showed a working solution in that version, but there are a few things about it that I don’t like. After … Continue reading 

Posted in Backbone, Backbone.ModelBinding, Javascript, Semantics | 2 Comments

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 

Posted in Backbone, Backbone.ModelBinding, Javascript, JQuery | 9 Comments

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 

Posted in Backbone, Javascript, JQuery, Model-View-Controller, User Experience | 10 Comments

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 

Posted in AntiPatterns, Backbone, Javascript, JQuery, Model-View-Controller, Pragmatism, Principles and Patterns | 28 Comments