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.
1167
votes
3answers
229k views
How do I get started with Node.js [closed]
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 ...
565
votes
7answers
54k 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 ...
503
votes
10answers
81k 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 ...
260
votes
10answers
73k 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 ...
210
votes
15answers
64k 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 ...
205
votes
10answers
69k views
Can I use jQuery with node.js?
Is it possible to use jQuery selectors/dom manipulation server-side using node.js?
203
votes
6answers
52k 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 ...
195
votes
5answers
61k 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 ...
194
votes
4answers
28k 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?
192
votes
5answers
57k 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 ...
175
votes
6answers
57k 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 ...
166
votes
5answers
47k views
IDE 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 ...
163
votes
24answers
56k views
Is there a template engine for Node.js? [closed]
I'm experimenting with building an entire web application using Node.js. Is there a template engine similar to (for example) the Django template engine or the like that at least allows you to extend ...
160
votes
8answers
47k 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?
136
votes
13answers
33k 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, ...