Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Backbone.js in a real life application

Backbone.js in a real life application

Talk give at MelbJS, Melbourne - December 2011

Sebastiano Armeli

December 14, 2011
Tweet

More Decks by Sebastiano Armeli

Other Decks in Programming

Transcript

  1. AJAX applications Desktop-like applications State vs Page Hash tag /

    pushState Single Page Application Monday, 3 June 13
  2. Source code structure /js application.js models views controllers routers helpers

    lib live $(function){ AC.app_router = new AC.Routers.AppRouter(); Backbone.history.start({root: location.pathname}); }) Monday, 3 June 13
  3. Views Backbone.View el / model / events attributes initialize() /

    render() HTML templating ICanHaz.js Monday, 3 June 13