Top "Backbone.js" questions

Backbone.

backbone.js structuring nested views and models

Using backbone.js: I have a top level ModelA that contains 2 attributes and 2 nested models, ModelB and ModelC. ModelB and …

javascript backbone.js
Marionette ItemView how to re-render model on change

I'm using Handlebars template engine. so, I have Model: Backbone.Model.extend({ urlRoot: Config.urls.getClient, defaults: { contract:"", contractDate:"", companyTitle:"", …

backbone.js marionette
Rails - How to add CSRF Protection to forms created in javascript?

I'm using backbone.js and it works great. but the forms I'm creating as a javascript template lacks the rails …

javascript ruby-on-rails ruby-on-rails-3 backbone.js csrf
"Single-page" JS websites and SEO

There are a lot of cool tools for making powerful "single-page" JavaScript websites nowadays. In my opinion, this is done …

javascript seo backbone.js pushstate singlepage
Sinon JS "Attempted to wrap ajax which is already wrapped"

I got the above error message when I ran my test. Below is my code (I'm using Backbone JS and …

testing backbone.js jasmine sinon
Backbone.js : repopulate or recreate the view?

In my web application, I have a user list in a table on the left, and a user detail pane …

javascript templates backbone.js
What is the difference between $el and el in Backbone.js views?

Can you please tell the difference between $el and el in Backbone.js views?

javascript backbone.js backbone-views
How to empty a Backbone.js collection

I was surprised to discover that this doesn't work: coll = new Backbone.Collection for i in [1..1000] coll.add new Backbone.…

backbone.js coffeescript
new Backbone.Model() vs Backbone.Model.extend()

I'm new to JS and Backbone What's the difference between these two? TestModel = new Backbone.Model({ title: "test title" }) TestModel = …

javascript backbone.js constructor instance
backbone.js - handling if a user is logged in or not

Firstly, should the static page that is served for the app be the login page? Secondly, my server side code …

javascript jquery backbone.js underscore.js