close
Learning Programming NodeJS From Code School! Level 1
Node.JS : Allows you to build scalable network applications using JavaScript on the server-side.
You can use Node.JS to build Websocket Server • Fast File Upload Client • Ad Server • Any Real-Time Data Apps etc
Node.JS is not A Web Framework not • For Beginners not • Multi-threaded
<<Hello Dog>>
var http = require('http');
http.createServer(function(request, response){
response.writeHead(200);
response.write("Hello, this is dog");
response.end();
}).listen(8088,function(){
console.log('Listening on port 8088');
});
$ node hello.js
$ curl http://localhost:8088
文章標籤
全站熱搜
留言列表