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)

1058
votes
3answers
202k views

How do I get started with Node.js

Are there any good resources to get started with Node.JS? Any good tutorials, blogs or books? Of course, I have visited its official website http://nodejs.org/, but I didn't think the documentation ...
511
votes
4answers
49k views

How to decide when to use NodeJS?

I am a n00b in this kind of stuff but lately I've been hearing a lot about how good NodeJS is. Considering how much I love working with jQuery and Javascript in general, I can't help but wonder how to ...
477
votes
10answers
78k views

What is node.js? [closed]

I don't fully get what node.js is all about. Maybe it's because I am mainly a web based business app developer. Can someone please explain what it is and the use of it? Thanks. My understanding so ...
232
votes
8answers
66k views

How to debug node.js applications

How do I debug a node.js server application? Right now I'm mostly using alert debugging with print statements like this: sys.puts(sys.inspect(someVariable)); There must be a better way to debug. I ...
205
votes
15answers
60k views

Choosing a web application framework (using Node.js)

I've recently "discovered" Node.js, and after I was finished having my mind blown, I started looking for a web application framework like Django or Codeigniter that uses Node.js. The main reasons I ...
197
votes
10answers
66k views

Can I use jQuery with node.js?

Is it possible to use jQuery selectors/dom manipulation server-side using node.js?
185
votes
5answers
47k views

node.js + nginx - And now?

I've set up node.js and nginx on my server. Now I want to use it, but, before I start there are 2 questions: How should they work together? How should I handle the requests? There are 2 concepts for ...
177
votes
3answers
26k views

What is Node.js' Connect, Express and “middleware”?

Despite knowing JavaScript quite well, I'm confused what exactly these three projects in Node.js ecosystem do. Is it something like Rails' Rack? Can someone please explain?
176
votes
5answers
54k views

How to pass command line arguments to node.js?

This is probably just a javascript question. I have a web server written in node that I would like to launch with a specific folder. I'm not sure how to access arguments in javascript. I'm running ...
172
votes
5answers
51k views

What is the purpose of NodeJS module.exports and how do you use it?

I cant seem to find any info on this but it appears to be a rather important part of NodeJS as I often see it in source code. According to the node docs : module A reference to the ...
170
votes
6answers
54k views

user authentication libraries for node.js?

Are there any existing user authentication libraries for node.js? In particular I'm looking for something that can do password authentication for a user (using a custom backend auth DB), and associate ...
161
votes
24answers
53k views

Is there a template engine for Node.js? [closed]

I'm kind of falling in love with Node.js not because you write app code in javascript but because of its performance. I really don't care a lot about how beautiful a server side language might be ...
151
votes
5answers
43k views

What IDE to use for Node.js / Javascript? [closed]

What is your preference when it comes to editing/debugging large JavaScript projects, containing number of relatively big JS files? Please list your choice, why do you like it compared to others; If ...
141
votes
8answers
44k views

Node.js REST framework? [closed]

Just got node.js running on an ubuntu server instance. Got a couple of simple server apps running. Does anyone know of any REST frameworks that have been built or are in development?
126
votes
13answers
31k views

node.js on multi-core machines

node.js looks interesting BUT... I must miss something - isn't node.js tuned only to run on a single process & thread? Then how does it scale for multi-core CPUs and multi-CPU servers? After all, ...

1 2 3 4 5 1460
15 30 50 per page