Tagged Questions
0
votes
1answer
55 views
how stable is AirBnB node.js rendr?
I wanted to know if anyone has been using AirBnB Rendr and is it stable and ok to use in commercial projects or is it still changing a lot?
I'm developing a website which can run both client and ...
0
votes
0answers
29 views
How to implement Twitter oAuth in Backbonejs and Nodejs
I am implementing Twitter oAuth in Backbonejs and Nodejs. I have Node api calls
app.get('/api/auth/twitter', function(req, res){});
app.get('/api/auth/twitter/callback', function(req, res, next){});
...
0
votes
1answer
26 views
this.model.destroy doesn't do anything
I am trying to remove a view once the user clicks on something and then also delete the model thats associated with that view. I am successfully remove the model however this.model.destroy method ...
0
votes
0answers
36 views
requirejs optimizer window is not defined error
I am making an app which is using node, backbone and requirejs together. I need to optimize the js but I am running into the error Reference Error: Window is not defined when I try to run the ...
0
votes
1answer
33 views
Why a jade template is rendered by express from an action form and not from an Ajax request?
I've been searching to try to understand this, but I got a mixed and unclear understanding. The thing is when I make a get request to app.get:
app.get('/youarein', function(req, res) {
...
0
votes
1answer
32 views
Rendering with Backbone
I am trying to learn backbone and I was following along the code school backbone.js course to build my own backbone app. So far I have this code but I am having problems with rendering anything.
var ...
1
vote
1answer
22 views
Fetching Models to a Collection
I am pretty new to Backbone and just came across this confusing issue. I am trying to fetch models in to my collection in a Express node.js server with the following code :
app.get('/tweet', ...
0
votes
2answers
49 views
backbonejs node file upload
None of the answers I have found anywhere have worked. I am trying to extend the example in "Developing Backbone.js Applications" to upload files. Although the form has enctype="multipart/form-data," ...
0
votes
0answers
37 views
Backbone / Express POST Routing
I'm currently working on a project that uses Rendr and am having some issues with routing POST requests. Below is my routes.js file - how can I make it detect POST requests as per GET requests?
...
0
votes
0answers
55 views
backbone.js sending “OPTIONS” as a restful request
Backbone talking to node/express running locally os x 10.6.8. Trying to populate a clientside backbone model with fetch. Thinking I have fetch wrong. Most of app_stuff.js is cut-and-paste. Curious why ...
0
votes
1answer
42 views
Using Backbone.js framework how to make ajax call to express route
I'm new to Backbone.js framework,in my application i need to call node to js express route from Backbone using Ajax.How can i do that.In jquery i'm doing ajax call to express route using below ...
0
votes
0answers
23 views
unable to send post request on the server using backbone.js [duplicate]
I am making post request on the server with an id the request looks like this:
app.post('campaign/update/:_id', campaign.update);
the save method is this which calls post request:
...
0
votes
2answers
31 views
Unable to make an update on the server with an id
I am updating a form and i want to make an update request on the serverwith an id
my model is:
var CampaignEditModel = Backbone.Model.extend({
...
0
votes
1answer
76 views
How to handle the express router method result in BackBone.js using ajax
I'm new to Backbone.js now i need to handle the express router method result in BackBone.js using ajax i know how to do it with jquery.But without using jquery how to do it with Backbone.I have ...
0
votes
0answers
34 views
mongoose: send data back without saving
I just started using node, backbone and mongoose not so long ago to create my first web app.
At the very beginning, I followed tutorials, and used backbone client side to define models. Those models ...