Node.js Introduction                                                 Duong “Yang” H. Nguyen, @cmpitg                    Fe...
AgendaWhat    Node.js is and is not?Why    Node.js?How    to use? (with demo)As   a scripting engineBest   uses (brie...
What Node.js is and is not? Is/doesA    frameworkProviding    evented, non blocking I/OBuilt   on top of Googles V8JS ...
Why Node.js?●   Is JavaScript!●   Event-driven, non-blocking●   Fast as hell●   Easy to scale●   V8 is well supported by G...
Why Node.js? Callback demo:   setInterval(function () {     console.log("Hello World")   }, 1000);   console.log("Done set...
How to use?Installation:      Install Node.js      –    – Install NPM    – Install modulesDemos:      –   Simple HTTP se...
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-pee...
Frameworks/ToolsNPM    – Node Package ManagerExpress   – Minimalistic MVC web frameworkTowerJS    – Rails-like web fram...
Thank you for your attention!
Upcoming SlideShare
Loading in …5
×

Sfd2012Hanoi Nguyễn Hà Dương - Introduction to Node.js

851 views
818 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
851
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Sfd2012Hanoi Nguyễn Hà Dương - Introduction to Node.js

  1. 1. Node.js Introduction Duong “Yang” H. Nguyen, @cmpitg Fedora Ambassador, Certified Mozillian Hanoi Community Space cmpitg [at] gmail dot com This document is licensed under the terms ofCreative Commons Non-commercial Share-Like 3.0 Unported
  2. 2. 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
  3. 3. What Node.js is and is not? Is/doesA frameworkProviding evented, non blocking I/OBuilt on top of Googles V8JS environment NOTVery very fast! A web framework: –Ruby on Rails – Django – Yii Multi-threaded
  4. 4. Why Node.js?● Is JavaScript!● Event-driven, non-blocking● Fast as hell● Easy to scale● V8 is well supported by Google● And fun!
  5. 5. Why Node.js? Callback demo: setInterval(function () { console.log("Hello World") }, 1000); console.log("Done setting!");
  6. 6. How to use?Installation: Install Node.js – – Install NPM – Install modulesDemos: – Simple HTTP server – Simple echo server
  7. 7. As a Scripting EngineModules: – Processes & Child Process – Filesystem – UtilitiesDocs: http://nodejs.org/api/
  8. 8. 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
  9. 9. 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!
  10. 10. Thank you for your attention!

×