Category Archives: Backbone

Interview With Upfront Podcast: Backbone And Marionette

I was fortunate enough to be the first guest on the Upfront Podcast this week. It’s a new podcast hosted by Jack Franklin and Ben Howdle, focused on all things front-end web development. You’re going to want to add this … Continue reading 

Also posted in Community, Javascript, Marionette, Open Source, Podcast | Leave a comment

Warm Crocodile Conference: Copenhagen, Denmark

UPDATE: the slides from this talk are available here: https://speakerdeck.com/derickbailey/scaling-backbone-dot-js-applications-with-marionette-dot-js — If you’ll be in the Copenhagen, Denmark area during the week of January 16 – 17, 2013, you should check out the Warm Crocodile Conference. I’m signed up to give a … Continue reading 

Also posted in Community, Javascript, Marionette, Presentations, Principles and Patterns | 4 Comments

Backbone.EventBinder: Better Event Management For Your Backbone Apps

One of my most popular blog posts in recent history is my Zombies! RUN! post where I outline the possibility and problem of memory leaks and “zombie” views and other objects in Backbone applications. There’s a good chance, in fact, … Continue reading 

Also posted in Backbone.EventBinder, Javascript, Marionette | 8 Comments

Backbone Fundamentals, Intro To Marionette, TodoMVC, And More

I’m very happy to announce that this week’s addition to Addy Osmani’s Backbone Fundamentals book is a chapter on Marionette! I was lucky enough to be able to contribute a large portion of the chapter to the book, including a … Continue reading 

Also posted in Books, Community, Javascript, Marionette | 2 Comments

Hands-on Backbone.js Screencasts

I’ve been talking about this for what seems like an eternity in Internet time: earlier this week my 4 part screencast series on Backbone.js was released through PragProg! It’s a hands-on, no-fluff walk through of all the major parts of … Continue reading 

Also posted in Javascript, Screencast, WatchMeCode | 4 Comments

I’m Wring A Book On Building Backbone Plugins

A few weeks ago I published a screencast on building Backbone plugins (paid). In this screencast, I walk and talk through the steps that I take to build, test, package and deploy some of the plugins and projects that I build … Continue reading 

Also posted in Books, Jasmine, WatchMeCode | 8 Comments

Why Should I Use Backbone.Marionette Instead Of … ?

There’s a question on StackOverflow from someone that wants to know what the real differences are between the various Backbone-based application frameworks. While I can’t really answer the question in terms of what the differences are, I can provide more … Continue reading 

Also posted in Analysis and Design, Javascript, Marionette, Messaging, Open Source, Philosophy of Software, Tools and Vendors | 19 Comments

$(function(){…}) vs (function($){…})($) or DOMReady vs The Module Pattern

This was originally a StackOverflow question. I’m re-posting here because I think the question is fairly common, and I like the answer that I provided.  Why define anonymous function and pass it jQuery as the argument? This is the original … Continue reading 

Also posted in DOM, Javascript, JQuery, Principles and Patterns | 7 Comments

Backbone.Syphon: Serialize Form Inputs To JavaScript Objects

Working with form elements in a Backbone view can become very tedious very quickly. You will either end up writing a lot of repetitive code to read values from the form, or end up using a key-value-observer or data-binding solution … Continue reading 

Also posted in Backbone.Syphon, Javascript, JQuery, JSON | 25 Comments

Workflow In Backbone Apps: Triggering View Events From DOM Events

In my previous blog post, I talked about modeling an explicit workflow in JavaScript and Backbone application. The last code sample I showed had the implementation of the workflow object itself, but omitted all of the details of the views … Continue reading 

Also posted in Javascript, Workflow | 10 Comments