Top "Backbone.js" questions

Backbone.

Backbone.js - using trigger to trigger event and pass data

I'm writing a tab menu component using backbone.js as an MVC framework. When a user clicks on a tab, …

javascript backbone.js backbone-events
Easiest way to reset Backbone's model to initial defaults?

My models already have a defaults hash. When parts of the view/page are reset, I wish to reset the …

javascript backbone.js backbone-model
How to find a model from a collection according to some attribute other than the ID?

I have a model with several object: //Model Friend = Backbone.Model.extend({ //Create a model to hold friend attribute name: …

javascript backbone.js backbone.js-collections
Securing my Node.js app's REST API?

I could do with some help on my REST API. I'm writing a Node.js app which is using Express, …

javascript rest node.js backbone.js restful-authentication
Accessing parent class in Backbone

I need to call the initialize method of the parent class, from inside the inherited MyModel-class, instead of completely overwriting …

javascript oop class inheritance backbone.js
Backbone.js collection options

I have written a model/view/collection using Backbone.js. My collection uses the fetch method to load the models …

javascript backbone.js backbone.js-collections
Disposing of view and model objects in Backbone.js

Which is the most efficient way to dispose model/view instances when not needed? Usually, I put all the logic …

javascript backbone.js
Is it possible to nest helpers inside the options hash with handlebars?

For instance, is there a way to nest my "i18n" helper inside another helper's hash variable? {{view "SearchView" placeholder="{{…

templates backbone.js handlebars.js helpers
Backbone model.destroy(): Is explicit removal from collection necessary?

I have a simple question. I am looking at a function with 2 lines of code: deleteTask: function() { this.parent.collection.…

backbone.js backbone-events
Backbone fetch callback the proper way

My Backbone application has a view called schedule, I am a bit confused about the difference of calling the proper …

javascript backbone.js amd