Backbone.js is a JavaScript library that provides structure to RESTful web applications.
0
votes
0answers
2 views
i18next - brunch and backbone setup
After searching for a while and trying different options I decided to use i18next 1 to internationalize a brunch and backbone based web application. However I'm struggling a bit with where to ...
0
votes
1answer
8 views
Backbone.js Dyanamic Models
I'm going to be creating a Web Application using Backbone.js.
I have a web service that will inform me of what fields I need my model to have, so with that in mind I cannot create a static model, in ...
0
votes
0answers
16 views
backbone making lots of GET requests
I am building a list of names, however my backbone seems to making lots more GET requests that I would expect it too. It makes 59 requests to output 27 items is this correct?
Here is my code,
...
0
votes
2answers
35 views
SEO with “single page” Backbone site [on hold]
So I have to build a website ideally based on Backbone.js. This website will be a sort of complex gallery, lets say hosted at www.example.com, and I need every content which I open from this gallery ...
0
votes
0answers
26 views
Is AngularJS good for a HTML5 mobile app? [on hold]
I know that Zepto + Backbone is a proven technology stack for HTML5 mobile app development. But now AngularJS is here and does most things OOTB so you don't have to combine a lot of frameworks and ...
0
votes
2answers
27 views
How to construct template for Composite view Dynamically
Desired output :
<script id="table-template" type="text/html">
<table>
<thead>
ADD THE HEADER NAMES HERE DYNAMICALLY,
</thead>
...
0
votes
0answers
9 views
Django Tastypie: “error_message”: “'bool' object has no attribute 'read'”
I am using Backbone.js + Tastypie + Django and am trying to save a model using patch = true to update the points on a model, like
this.save({
points: newPoints
}, {
patch: true
});
This issues ...
0
votes
0answers
20 views
model.save in backbone view takes nearly 10 seconds to complete
I am working on a web app at the moment, when I save a model or edit one, it can take up to 10 seconds or more to reflect those changes on the front-end of my app, I am not sure why my app would be ...
0
votes
0answers
22 views
Backbone create does not wait for json to be passed (Guid is undefined)
In a project i recently changed from using myVar[0].Key; to using myVar.WhatEver;
This messed up something, because now my .create does not wait for the request to be responded by the webservice, ...
0
votes
2answers
17 views
Using External Views with Backbone.js
So I have seen other posts pertaining to this question but regardless of my efforts to incorporate their suggestions, I don't seem to be able to solve the issue. So here is the code:
What am I doing ...
0
votes
0answers
5 views
passportjs and backbone: authenticating users
Currently I been using a chrome app called Postman to test my services from nodejs/express/passportjs.
Currently I'm having trouble wrapping my head around how I should grab the user info and ...
0
votes
2answers
23 views
Backbone and Marionette convention for representing an itemview that is an object and a collection
So I have an object that looks something like this
{
first_name: 'Matt',
last_name: 'Damon',
movies: [{name: 'mov_name1', director: 'Sven'}, {name:'mov_name2', director: 'Joe'}]
}
There is an ...
0
votes
0answers
14 views
Rails Does not convert unix timestamp to a datetime in params hash
In my backbone app, I've decided to have my API return dates as unix timestamps (integers). When I call save on a backbone model, it will send those integers to rails, however rails seems to skip it ...
2
votes
0answers
11 views
Where does related logic go on model creation when working with REST api with Django, Backbone, and Tastypie?
We are trying to move some of our app to use backbone and tastypie. I have the REST api set up and it is working on some basic examples. However, there are a few issues where currently we post an ajax ...
0
votes
1answer
26 views
jQuery Mobile CSS not styling JS-inserted HTML
I'm making a mobile web app with Backbone.js and jQuery Mobile but I'm having some styling issues. Just to test things out I wanted to style my Logout button. Before styling, I had:
...