← Back to Upcase

Backbone.js Collections and Connecting to the Rails API


(Upcase ) #1
Backbone.js Collections and Connecting to the Rails API If we didn't have Backbone in order to retrieve our list of notes we would have to use some code similar to the following var notes notesPromise = $.ajax('/notes.json') noteFactory = funct...
This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/backbone-js-collections-and-connecting-to-the-rails-api