JSFoo 2013

All about being creative with JavaScript

Potential gotchas in making a Backbone app

Submitted by Vignesh Nandha Kumar (@vikynandha) on Monday, 22 July 2013

videocam_off

Technical level

Intermediate

Section

Crisp Talk

Status

Confirmed

Vote on this proposal

Login to vote

Total votes:  +33

Objective

Backbone.js, which gives you a robust framework for making javascript-heavy apps, is very minimal when compared to its counterparts like Angular js. It gives the developer much control over the behavior, but with great power comes great responsibility :)

Many things are left to the developer's choice, including wiring up of data and views, handling DOM events, etc. Having worked on backbone since it's early stages, I've tasted quite a lot of such issues.

So, I would like to talk about the most common mistakes and about the best practices to avoid that.

Description

The talk would cover 3 broad issues:

  • Zombie views - probably the most popular issue with Backbone.
  • Extending routes: Sub-routing, reversing URLs & sharing routes between client and server
  • Default error handlers for ajax calls

and a few minor hacks to make the most out of Backbone.

Requirements

Good understanding of MVC frameworks, at least some experience with Backbone.

Speaker bio

I've been working with frontend for over 4 years, now working as the only frontend engineer at Recruiterbox.

I started using backbone more than 2 years back, when it was not so mature. Since then, I've fallen in love with it and used it for a variety of use-cases including a sudoku puzzle app and a large business application. In the course of it, I've extended Backbone heavily.

Links

Slides

http://www.slideshare.net/vikynandha/potential-gotchas-in-making-a-backbone-app-26416350

Comments

  • 1
    Dheeraj Kumar (@codepodu) 5 years ago

    Hey Vignesh, nice proposal :)

    I'm covering these 3 issues in mine https://funnel.hasgeek.com/jsfoo2013/771-all-you-ever-wanted-to-know-about-client-side-frameworks where I compare the three big ones with respect to several potential pitfalls & niceties.

    I'd suggest either covering more ground or delving deep into these issues. Since your target audience is intermediate, you can afford to :)

  • 1
    Vignesh Nandha Kumar (@vikynandha) Proposer 5 years ago

    Thanks Dheeraj, for the feedback. I'd focus more on how to approach these issues and possible solutions to them. As yours would be more of a comparative picture of the 3 frameworks, I guess there won't be much overlap.

  • 1
    Vignesh Nandha Kumar (@vikynandha) Proposer 5 years ago

Login with Twitter or Google to leave a comment