0
votes
2answers
35 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
34 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
33 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
27 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
67 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
30 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 ...
0
votes
0answers
25 views

Getting TypeError: d.collection is undefined error while creating collection in Backbone.js

I'm new to Backbone.js.I have tried to create collection in Backbone while creating that i'm getting error as ' d.collection is undefined error'. $(function(){ var MyModel = ...
0
votes
1answer
28 views

Send user/pass from IE8/9 to node.js proxy

We have backbone.js application that is using rest API. With every request user/pass should be send to the API. This is how we send the request: `Backbone.BasicAuth.set(tempUser, tempPass); ...
0
votes
1answer
38 views

model undefined on page reload

I'm trying example from this site. It works fine. But if i separate views,models,routers into separate file it gives me a problem. There is 3 views. WineList view, WineListItemView and winedetails ...
0
votes
0answers
31 views

nodejs backbone and passportjs

i am using nodejs (with express) and backbone. I would like to integrate passport.js for facebook authentication. I have the following route: app.get('/auth/facebook', ...
-7
votes
0answers
104 views

What 20% of Javascript does 80% of the work for your apps? [closed]

I have been learning JS for a few months. I have been through multiple tutorials online, read JS books, and build a few sites locally with Nodejs. My end goal is to be able to build web apps with JS ...
0
votes
0answers
11 views

Delete objects in backbone-relational

let's say I have two HasMany relationships: Playlist: HasMany Clips and ClipsMegaCollection: HasMany Clips The idea is to have a sorted list of Playlists and keep a ClipsMegaCollection ...
1
vote
1answer
44 views

Why doesn't Phantom.js evaluate work with my Backbone app?

page.open(My_url, function(status) { page.evaluate(function() { var html = document.documentElement.outerHTML; return ...

1 2 3 4 5 18
15 30 50 per page