backbone.js
How do you append your sub-views in Backbone?
I have a Backbone app that renders several related views on each page they you navigate to. For example, one page renders the following views:[详细]
2023-04-10 06:46 分类:问答Best pattern to have models listen to nested models and collections?
Using Backbone.js what is the best pattern to have models listen to all of their nested models and collections all the way down?[详细]
2023-04-10 03:31 分类:问答How to use backbone js with some legacy plugins?
I\'ve working on a project and I\'m using some jquery plugins, right now I\'m trying to update my code to use backboje js but it\'s not clear how to put together those old plugins with backbone js.[详细]
2023-04-10 02:57 分类:问答Backbone.js detecting scroll event
I have a following view var FullWindow = Backbone.View.extend({ initialize: function() { _.bindAll(this, \'detect_scroll\');[详细]
2023-04-09 23:21 分类:问答Relationship between view and model in Backbone.js
In Backbone.js, how does a view know what model it represents? Is it necessary for the view to be named Model_NameView? Because I can\'t find any other View property or function for settin开发者_如何[详细]
2023-04-09 19:20 分类:问答What is the Current State of the Art in AJAX + Rails?
I was quite surprised to read about RJS in Rails 3. Is this the way most rails sites work with AJAX? And if I\'m working with Backbone (and this is a good example), won\'t it have conflicts with开发者[详细]
2023-04-09 16:33 分类:问答backbone.js model.save doesn't set the id
I\'ve inherited a backbone js based app. I really like backbone and i\'m just starting to get my head around it. From my understanding when model.save is called on a new entity it should post that to[详细]
2023-04-09 14:51 分类:问答Will a client side MVC framework suit building UI controls
Lately i have been thinking of developing UI controls suite similar to Extjs or YUI but using a MVC framework like Backbone or Spine. Am i wrong in taking this decision? Will a mvc framework suit the[详细]
2023-04-09 10:37 分类:问答backbone.js nested model's object not unique to instance
I have a parent Model that has by default and nested Model. The nested Model itself has propertyA, which is an object with defaultValue and userValue. The idea is that every instance of parent Model c[详细]
2023-04-09 09:40 分类:问答Private and public variables to a backbone view
In a backbone view where would you put your private variables and your public. Right now I have something like this:[详细]
2023-04-09 09:07 分类:问答