Tagged Questions
1
vote
1answer
20 views
Render Backbone.js application on the server AND the client
Supposed I have a web application that is built using Backbone.js and Handlebars. As server I am using Node.js. Now I want to do rendering on both ends, i.e. on the server and the client.
When a ...
0
votes
0answers
21 views
Authentication (sessions) in a node app reverse proxied by nginx
I have a app that uses a node.js in backend reverse proxied by a nginx server. I have a simple login form in the front end (yes, its HTML) that is served by nginx on the / location.
Now i am bit ...
-1
votes
0answers
49 views
how code to create select?
i have code in main.js
window.kelasView = Backbone.View.extend({
initialize: function () {
this.render();
},
render: function () {
var kelas = this.model.models;
...
0
votes
1answer
23 views
nodejs ExpressJs BackboneJs pushstate
I've got problemas with Backbone.history.start({pushState: true}); when is actived
I use the backbone router 'example/:id':'test' and the browser returns me an error
GET ...
0
votes
1answer
23 views
sharing settings/config between client and backend
I have an application using node.js backend and require.js/backbone frontend.
My backend has a config/settings system, which depending on the environment (dev, production, beta) can do different ...
0
votes
1answer
39 views
Backbone larger collection when loading only once - will there be big problems?
I have task to do where there is about 15000 items. I do it with backbone and node.js socket.io.js.
I load those items only initially, calling fetch. The script freezes for few seconds, but the ...
-1
votes
0answers
62 views
Forgot password scenario using Backbone.js at client side and node.js at server side
Can any one provide an example of forgot password scenario using backbone.js at client side and node.js at server side and mongoDB as Db.The updated password should be updated in DB.
Thanks for ...
2
votes
1answer
62 views
Implementing multi-parameters GET with Backbone.js fetching Node.js/Express.js REST API
I am currently developing an application with Node.js, Express.js, Backbone.js and MongoDB. I am facing design questions regarding how I should handle situations where a model needs to fetch (GET) ...
1
vote
1answer
40 views
Property '$' of object #<Object> is not a function at _.extend._ensureElement
i am trying to output some dafault values of a backbone Model via creating a View but the node is showing the error "Property '$' of object # is not a function at _.extend._ensureElement". I can show ...
0
votes
1answer
42 views
Expecting a function in instanceof check, but got body - Trying to create view in Backbone
I am trying to create a view in Backbone and trying to load libs via node require. i am able to output to console from Model/Collection but when i start to create view i am getting error "Expecting a ...
4
votes
1answer
157 views
Upvote and Downvote with Backbone, Express and Mongoose
I am trying to implement a voting system similar to stackoverflow or reddit where a user would only be allowed to vote once on a given post.
After following the advice given here
storing ...
0
votes
1answer
21 views
Backbone pushState is returning raw JSON data
I am attempting to implement pushstate for my Backbone/NodeJS application. If I go to the following route /testRoute/123 within the browser itself, from another view, the associated views to ...
0
votes
1answer
49 views
Socket.io and Backbone
I am trying to learn socket.io and I decided to add socket.io to a backbone application that I have built before.
so using require.js I have the following in my main app.js file:
require(
...
1
vote
1answer
59 views
express & backbone integration
ok, I am new to web dev and here's a stupid question. I have been through a few tutorials for node,express and backbone individually, but I can't seem to wrap my head around how they are integrated. ...
0
votes
1answer
38 views
How do I validate a form being filled out in Backbone?
So I have a new form set up it saves temporarily and all but I want it to only be able to update when it is validated otherwise show some errors. This is during the view section for the saveEdits ...