Offshore node.js-development- Hire node.js Developers- Outsource Node.JS Development India
Sfd hanoi2012 nguyen ha duong yang node.js-intro
-
Upload
vu-hung-nguyen -
Category
Technology
-
view
559 -
download
1
Transcript of Sfd hanoi2012 nguyen ha duong yang node.js-intro
Node.js Introduction
Duong Yang H. Nguyen, @cmpitgFedora Ambassador, Certified MozillianHanoi Community Spacecmpitg [at] gmail dot com
This document is licensed under the terms ofCreative Commons Non-commercial Share-Like 3.0 Unported
Agenda
What Node.js is and is not?
Why Node.js?
How to use? (with demo)
As a scripting engine
Best uses (briefly)
Frameworks/Tools
Questions
What Node.js is and is not?
Is/doesA framework
Providing evented, non blocking I/O
Built on top of Google's V8
JS environment
Very very fast!
NOTA web framework:Ruby on Rails
Django
Yii
Multi-threaded
Why Node.js?
Is JavaScript!
Event-driven, non-blocking
Fast as hell
Easy to scale
V8 is well supported by Google
And fun!
Why Node.js?
Callback demo:
setInterval(function () { console.log("Hello World")}, 1000);
console.log("Done setting!");
How to use?
Installation:Install Node.js
Install NPM
Install modules
Demos:Simple HTTP server
Simple echo server
As a Scripting Engine
Modules:Processes & Child Process
Filesystem
Utilities
Docs: http://nodejs.org/api/
Best Uses
Writing highly concurrent server applications
Applications which share between server and client
Peer-to-peer web programming using websockets
And of course highly concurrent web programming
Frameworks/Tools
NPM Node Package Manager
Express Minimalistic MVC web framework
TowerJS Rails-like web framework
Jade Template engine
Socket.IO Websocket library
and much more!
Thank you for your attention!
Click to edit the title text formatClick to edit Master title style
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline Level
Seventh Outline LevelClick to edit Master text styles
Second level
Third level
Fourth level
Fifth level
9/15/12