I create a new model (msg) and save it like below:开发者_如何学Go msg.save({}, {success: this.createSuccess, error: function(model, response){
I am separating my views and router into separate files with require. I then have a main.js file that instantiates the router, and also renders my default view.
Im starting to build a new app and I would like to use Backbone as my framework.Below is a basic workflow that this (and most apps) follow.
I\'ve been playing around with Backbone to see if this framework is a good choice to build on from now on and forward in our application. One requirement is that we must support Internet Explorer 7+ a
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
Is it acceptable to \"dependency-inject\" more than one models into a View on initialized() in Backbone?
I\'m currently adding Backbone.js to an existing Ruby on Rails application. The objective is todisplay, filter and manipulate some data purely on the client side. I am currently struggling in not dupl
I am using Backbone in a project and I am trying to get the events functionality of Backbone Views to work correctly. I have the following code (it is extracted out of my current application):
I have a view: class FancyView extends Backbone.View template: #fancytemplate initialize: () -> @add()
I know of https://github.com/andyet/Capsule开发者_StackOverflow and https://github.com/codeparty/racer