Backbone.js is a JavaScript framework that provides structure to RESTful web applications.

learn more… | top users | synonyms (1)

3
votes
0answers
340 views

Validating a model and focus to the element if validation fails

I am using Backbone Marionette - I would like to set the user name and password if that passes the model validation method. I am highly confused with that. Please show me a handy approach or correct ...
2
votes
0answers
33 views

Backbone/requireJs and circular dependencies

I'm trying to have a main App view with references of all my views to manage and call transitions between theses views. But, I have circular dependencies. app.js ...
2
votes
0answers
173 views

Different templates for various resource representations in Marionette

I'm making a Backbone-Marionette app with a file structure that matches restful verbs as much as possible. It looks something like this: ...
2
votes
0answers
235 views

Backbone/ChaplinJS view with various template

I have ChaplinJS View, with template which varies according to the condition. I try to avoid switch statements, but I think it's messy at this moment. What can you advise? ...
1
vote
0answers
19 views

Code enhancement for existing npm package

I am trying to improve the code in the npm package. I have looked through the code but don't have any ideas how to write proper code. GitHub ...
1
vote
0answers
361 views

Backbone/Marionette form with list of inputs

Using Backbone/Marionette, I'm building a simple widget that looks like: I'm hoping to get some feedback on my approach because I think I may be doing it wrong. jsfiddle ...
1
vote
0answers
112 views

Paginated Backbone.Collection subclass

This is a subclass of Backbone.Collection with a method fetchNextPage that returns a Q promise. To find out the next page's ...
1
vote
0answers
390 views

Backbone Epoxy js and hierarchies/trees

Can you review my code of hierarchies/trees on Epoxy.js. Maybe there's a better way to solve this problem? From the beginning: Item View: this is to display the element li ...
0
votes
0answers
35 views

Creation of a list of 1000 items with Backbone

I'm really new to web developing and Backbone. I would like some advices for better performance on this program I have written. I tried to write a program similar to these: React vs AngularJS vs ...
0
votes
0answers
39 views

Nesting views in Backbone

I have a parent view with the el say divcontent: ...
0
votes
0answers
61 views

Dynamically create javascript object (Backbone View)

The context here is Backbone but it's a general question about dynamically creating javascript objects. I would like to pass the name of a View ('ViewX') to be created, to a function which can then ...