3
votes
2answers
219 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 ...
2
votes
1answer
141 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 ...
0
votes
0answers
105 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 ...
1
vote
0answers
138 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 ...
1
vote
1answer
818 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 ...
0
votes
0answers
304 views

Combating phantom views in Backbone apps using 'Manager' views

I'm looking for a sanity check on my method of combating zombie views in Backbone.js. I did some reading, and added some solutions I found online to my own ideas. First, I add a 'close' method to ...
0
votes
0answers
870 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 ...
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 ...
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, ...
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 ...
2
votes
1answer
715 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 ...