Node Js

Node.js is a powerful event-driven Javascript platform based on V8 engine and NPM modules.

Tough Node.js shown us a new possibility to develop powerful event-driven server application, it's not suitable for normal CRUD application.
why-we-moved-from-Node.JS-to-ror

Example:

console.log("hello world!")
var http = require ('http');
http.createServer (function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('hello net world\r\n');
}).listen(8000, '127.0.0.1');
var http = require ('http'),
    mysql = require('mysql');
/* for 0.92 or lower version
var client = mysql.createClient({
    user: 'root',
    password: '',
});
client.userDatabase('nodetest');
*/
 
var connection = mysql.createConnection({ 
user: "root", 
password: "", 
database: "nodetest"
}); 
 
http.createServer(function(req,res) {
    if (req.url == '/')    {
        connection.query(
            "SELECT * FROM t_node LIMIT 5",
            function(err, results, fields) {
                if (err) throw err;
                var output = '<html><head></head><body>'
                    + '<h1>Result List</h1>'
                    + '<ul>';
                for (var index in results) {
                    output += '<li>' + results[index].name + '</li>';
                }
                output += '</ul></body></html>';
                res.writeHead(200, {'Content-Type': 'text/html'});
                res.end(output);
            }
        );
    }
}).listen(8000, '127.0.0.1');

Reference:
http://www.infoq.com/cn/articles/nodejs-npm-install-config (zh)
http://www.widu.cn/show.asp?id=709 (zh)
http://blog.justoneplanet.info/2012/11/02/node-js%E3%81%A7mysql%E3%81%AB%E6%8E%A5%E7%B6%9A%E3%81%99%E3%82%8B/ (ja)