Tagged Questions
3
votes
2answers
386 views
Backbone.js Dependency Injection API Design
I'm writing a dependency injection plugin for the Backbone javascript framework, and I'm not sure what the API for constructor argument injection should look like.
Just for reference, Backbone ...
3
votes
0answers
19 views
Backbone: how to parse a collection of objects [duplicate]
Possible Duplicate:
Backbone: how to parse a collection of objects
In my Backbone.Collection I need to parse the response before to render it in Backbone.View.
The following code (*) works, ...
2
votes
1answer
788 views
Backbone.js: Will this code get cleaned up by the garbage collector
I have been working on a Backbone.js application, and I am starting to think I am making a huge mistake.
I never fully understand garbage collecting, and how exactly some closures prevent it. I just ...
2
votes
1answer
2k views
Backbone: how to parse a collection of objects
In my Backbone.Collection I need to parse the response before to render it in Backbone.View.
The following code (*) works, but it will be great having some suggestion:
(*)
// response is array ...
2
votes
1answer
156 views
First attempt incorporating backbone.js in my code
I have a feeling I might be doing it wrong, what major things would you improve in this code?
The code is basically handling a tour on first login, showing it only for first login users (activated ...
1
vote
1answer
849 views
Backbone.js App approach not very scalable - nested views
I'm creating a Backbone App, and although everything seems to work i'm afraid i might need to refactor very soon if I keep adding functionalities and views with this approach. I'm using Parse in the ...
1
vote
1answer
35 views
Layout manager: decouple DOM insertion from construction and rendering?
I'm refactoring a responsive report builder in JavaScript. Here's what it looks like:
This started as a small set of objects that transformed data, rendered the graphs with D3.js, and managed the ...
1
vote
0answers
147 views
Need feedback of my forray into backbone
I've written a short piece of code to get myself familiar with backbone.js. I'm filtering 100 results from the Twitter API. Once those are in, I use a time picker and a hash tag selector to filter my ...
0
votes
1answer
1k views
backbone and google maps with markers [closed]
I am fairly new to backbone and javascript, so I am not sure if I am on the right path...
Basically I have an API that returns posts that have coordinates associated with them. I want, for now, to ...
0
votes
0answers
110 views
Testing Backbone Model using Jasmine
It is the first time I write a javascript test for a Backbone Model.
Looking in the web resource there are not so many items about this subject.
I found this one, Testing Backbone applications with ...
0
votes
0answers
937 views
Using Backbone.js with Raphael and handling nested views
I'm trying to create an application similar to a floor plan editor in Backbone.js and Raphael. I'm not sure if what I'm doing is structured correctly or not.
I'm not using the Backbone routing, just ...