Tagged Questions

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

learn more… | top users | synonyms

1
vote
0answers
50 views

Localizing templates using require.js, backbone and underscore

This question is about templating and localizing, using require.js and underscore templates through backbone.js. The application will need to be localised on the fly. Before embarking down a path ...
4
votes
0answers
94 views

Discussing jQuery Mobile and Backbone.js integration with a simple FAQ App

Discussing jQuery Mobile and Backbone.js integration with a simple FAQ App This project is hosted on github here: http://github.com/tdurand/faq-app-client-mobile-comparison I can't post more than 2 ...
2
votes
0answers
54 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
49 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
487 views

Handling user authentication in a Rails/Backbone app [closed]

This is my first time writing a rails app, using Backbone.js in a non-trivial implementation, and creating an app with user authentication. As such, I decided to try my hand at writing my own solution ...
1
vote
0answers
81 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
351 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
134 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 ...
3
votes
1answer
60 views

CoffeeScript method refactoring

This method is from Backbone-View. I'd like to refactor it but I don't have much experience with Coffee or JavaScript. linkStyle: -> if @model.get('published') 'published' else ...
0
votes
0answers
382 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
453 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 [closed]

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
482 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
339 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 ...