Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine. Node.js is commonly used for heavy client-server JavaScript applications.

learn more… | top users | synonyms (2)

0
votes
0answers
6 views

Nodejs+sockets for a one-on-one connection

I'm very new to nodejs and sockets. And i'm trying to create a small app which will have to work as following: One user initiates the progress and get's a random generated code. This is stored in ...
0
votes
0answers
10 views

ngnix location directive not working

I have a below sample url format http://test.example.com:3000/samp/value?AP=API&SE=AU where value is dynamic Below is my ngnix config file #pid logs/nginx.pid; events { ...
0
votes
1answer
39 views
0
votes
0answers
11 views

How nodejs can maintain a state of persistent connection

I am very new to nodejs and have few doubts regarding it. With nodejs we can maintain a number of parallel connections. So it means multiple clients can simultaneously maintain connections to nodejs ...
0
votes
0answers
7 views

node.js express sessions and socket.io at another server

I found here http://howtonode.org/socket-io-auth a good example of work with sessions for express and socket.io. But I have not found examples of working with sessions when socket.io server running on ...
0
votes
0answers
14 views

Node.JS based ECommerce platform

I know that this question was asked before. But I see the responses are quite dated (at least in comparison to the pace we move). So I am asking same question again. We are about to start a ground ...
0
votes
0answers
20 views

Multiple RESTful Web Service Calls vs. MySQL JOINs

I am currently constructing a RESTful web service using node.js for one of my current iPhone applications. At the moment, the system works as follows: client makes requests to node.js server, ...
0
votes
1answer
29 views

Javascript paints images over top of each other

I am using node.js + socket.io to try and make a multiplier HTML5 canvas game. Unfortunately every time I go to draw all of the players, all the images end up on top of each other. ...
0
votes
0answers
18 views

Express routing returns undefined randomly

I am trying to learn Express with NodeJS and would like to render my views with plain HTML. I hacked together a webserver based on the Express API documentation and several Stack questions, ...
3
votes
0answers
30 views

nodejs HTTP server can't handle large response on high load

Tested on an high load server with approximately 500-600 requests per second. after hours of debugging, I ended up just with a simple HTTP server. I noticed that when the response body was bigger ...
1
vote
2answers
28 views

npm: Why is a version “0.1” invalid?

I had to change the version of my npm app from 0.1 to 0.0.1 in order for npm not to do this. $ npm install npm ERR! install Couldn't read dependencies npm ERR! Error: invalid version: 0.1 npm ERR! ...
0
votes
0answers
10 views

SEC7118: XMLHttpRequest for /socket.io/1/?t=1370206038749 required Cross Origin Resource Sharing (CORS)

I have a nodejs app on one server running on port 443 (apache listening disabled) with the following node.js packages: Express: 3.2.1 Socket.io: 0.9.14 Request: 2.21.0 Node: 0.11.1 I then have a ...
0
votes
0answers
23 views

How do I pass parameters through “use” method in CompoundJS?

I am using CompoundJS (an MVC for Express / NodeJS). To share code between controllers the Doc says that on controller1.js I can share a method by using publish method: /***controller1.js***/ ...
1
vote
0answers
33 views

How to avoid a race condition in Nodejs and Mongoose app?

I have a routine to update a value in the DB and then look for it on a one second timer. Here is a simplistic setup... function checkStatusAndDoWork(){ userMongooseModel.find({'someCondition': { ...
0
votes
0answers
36 views

Return a connection from a function

I just started yesterday with Node.js and I am really enjoying it. Here's my code: function connect(){ var mysql = require('mysql'); var connection = mysql.createConnection({ ...

1 2 3 4 5 1543
15 30 50 per page