Backbone.js is a JavaScript framework that provides structure to RESTful web applications.
1
vote
0answers
17 views
Code review for MVC Design using backbone.js
I am a backbone.js newbie. I have created a color picker application using backbone.js. I am trying to fiure out if I have nailed the MVC concept. Please review my code and let me know if I can do ...
3
votes
2answers
216 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 ...
0
votes
0answers
52 views
Backbone show/edit with same model
This is my first attempt of backbone.
I need to allow user to edit/show its inputs.
The dial list is fixed.
We can choose from a list of 0 to 9 dials for each of item.
I am currently using a ...
1
vote
0answers
103 views
Express app single page web application – client and server-side templates for before and after login
I am building a single page web application with Express.js on the back-end. However, I want to keep the login/register/homepage to the application (before you login) separate from the single page ...
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 ...
1
vote
0answers
2k 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 ...
6
votes
0answers
978 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 ...
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
137 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
816 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
301 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
81 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
868 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, ...