fstoerkle has a great step by step conversion I’ve seen many struggle when they first meet Backbone.js. In this blog post I will gradually refactor a bit of code from how I used to write JavaScript before, into proper Backbone.js code using models, collections, views and events. Hopefully this process will give you a firm [...]
Tag Archives: backbone.js
LinkedIn For iPad: using local storage for snappy mobile apps
Write up by Akhilesh Gupta We’ve found HTML 5 local storage to be an effective way to improve an application’s performance, both in terms of time and space requirements: Temporarily storing recently fetched data results in a tremendous improvement in application responsiveness. It provides the user the ability to move around the application quickly without [...]
backbone.offline
backbone.offline, by Ask11 About Backbone.offline Adds ability to store the data to localStorage and sync data with a server. It is useful when you want to: let your app to work offline in combination with cache manifest not to bootstrap initial data every time you save it to the localStorage. You can refresh your collection [...]
A view’s responsibility
Kim Joar Bekkelund, on a lesson on JavaScript and the DOM My solution: A view is responsible for one HTML element and everything inside it. No frameworks or libraries are needed, just being strict with how you write your code. Good points made. I think with my explorations with Backbone.js seeing how some smart coding [...]
Backbone.js Tutorial
I’ve written about Backbone before but I wanted to give a tutorial a shot. I’m going from the beginning. Final product Available here What is it? Well I’m not going to write it out. I’ll just copy and paste. Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections [...]
User Authentication with Rails and Backbone.js
Tutorial by James R. Bracy Backbone.js is used for almost all JavaScript front end development at 42Floors. One of the first problems that most web apps will encounter is creating and authenticating users. The following is our solution to this problem and is used with several of our internal tools.
Backbone Tutorials
By Thomas Davis, available here. It’s a lot more thorough than the Backbone.js documentation and examples. I’d recommend reading this if you’re thinking of starting as it’ll make a lot more sense than trying to copy one of the examples. What is a model? What is a view? What is a router? What is a [...]