SlideShare a Scribd company logo
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 of
Creative 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/does
A    framework
Providing    evented, non blocking I/O
Built   on top of Google's V8
JS   environment
                                                      NOT
Very    very fast!
                                          A   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!

More Related Content

PPTX
Introduction to Node.js
KEY
Scripting with NodeJS
KEY
Node.js rulz! JavaScript takes over the full Stack
PPTX
Introduction to NodeJS
PDF
Phantom js quick start
PPTX
Introduction to JavaScript
PDF
Juju, LXC, OpenStack: Fun with Private Clouds
PDF
NodeJS and MEAN stack - II SorocabaJS
Introduction to Node.js
Scripting with NodeJS
Node.js rulz! JavaScript takes over the full Stack
Introduction to NodeJS
Phantom js quick start
Introduction to JavaScript
Juju, LXC, OpenStack: Fun with Private Clouds
NodeJS and MEAN stack - II SorocabaJS

What's hot (19)

PDF
Intro to Node.js
PDF
Node.js primer
PPT
The MEAN Stack: MongoDB, ExpressJS, AngularJS and Node.js
PPTX
Integrating grunt and bower with maven
PPTX
[Blibli Brown Bag] Nodejs - The Other Side of Javascript
PDF
JavaScript History
PPT
Beyond the MEAN Stack: Thinking Small with Node.js for the Enterprise
PPTX
MEAN stack
PDF
Why and How You Should Move from PHP to Node.js
PPT
Nodejs - Building a RESTful API
KEY
An Introduction to Node.js Development with Windows Azure
PPTX
PDF
NodeSummit - MEAN Stack
PDF
WebAssembly in Houdini CSS, is it possible?
PDF
Node.js with Express
PDF
Why NodeJS
PPTX
PHP Indonesia - Nodejs Web Development
PDF
WebAssembly Overview
PPTX
Breaking the eggshell: From .NET to Node.js
Intro to Node.js
Node.js primer
The MEAN Stack: MongoDB, ExpressJS, AngularJS and Node.js
Integrating grunt and bower with maven
[Blibli Brown Bag] Nodejs - The Other Side of Javascript
JavaScript History
Beyond the MEAN Stack: Thinking Small with Node.js for the Enterprise
MEAN stack
Why and How You Should Move from PHP to Node.js
Nodejs - Building a RESTful API
An Introduction to Node.js Development with Windows Azure
NodeSummit - MEAN Stack
WebAssembly in Houdini CSS, is it possible?
Node.js with Express
Why NodeJS
PHP Indonesia - Nodejs Web Development
WebAssembly Overview
Breaking the eggshell: From .NET to Node.js
Ad

Viewers also liked (8)

PPTX
Hands On Intro to Node.js
PDF
Knockout vs. angular
PPTX
JS Frameworks - Angular Vs Backbone
KEY
wwc start-launched
KEY
Node.js
KEY
PTW Rails Bootcamp
PDF
Ruby on the Phone
PDF
Introduction to AngularJS
Hands On Intro to Node.js
Knockout vs. angular
JS Frameworks - Angular Vs Backbone
wwc start-launched
Node.js
PTW Rails Bootcamp
Ruby on the Phone
Introduction to AngularJS
Ad

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

PDF
Developing realtime apps with Drupal and NodeJS
PPTX
Introduction to node.js
PPTX
NodeJS and what is actually does
PPTX
02 Node introduction
PPTX
PPTX
Node js for beginners
PPTX
Introduction to Node.js
KEY
Getting Started with MongoDB and Node.js
PPTX
Beginners Node.js
PDF
An introduction to Node.js
PDF
Node.JS briefly introduced
PDF
Node, express & sails
PPTX
NodeJS Concurrency
PPTX
Introduction to node.js by jiban
PPT
Node js
PPTX
What is Mean Stack Development ?
PPSX
Node.js In The Enterprise - A Primer
PPTX
Quick introduction to nodeJs
PDF
Practical Node js Building Real World Scalable Web Apps 1st Edition Azat Mard...
PDF
Tech io nodejs_20130531_v0.6
Developing realtime apps with Drupal and NodeJS
Introduction to node.js
NodeJS and what is actually does
02 Node introduction
Node js for beginners
Introduction to Node.js
Getting Started with MongoDB and Node.js
Beginners Node.js
An introduction to Node.js
Node.JS briefly introduced
Node, express & sails
NodeJS Concurrency
Introduction to node.js by jiban
Node js
What is Mean Stack Development ?
Node.js In The Enterprise - A Primer
Quick introduction to nodeJs
Practical Node js Building Real World Scalable Web Apps 1st Edition Azat Mard...
Tech io nodejs_20130531_v0.6

More from Vu Hung Nguyen (20)

PPTX
Co ban horenso - Tai lieu training noi bo
PDF
Funix techtalk: Tự học hiệu quả thời 4.0
PDF
Học cờ cùng con - Nguyễn Vỹ Kỳ Anh [U8]
PDF
Japanese for it bridge engineers
PPTX
Basic IT Project Management Terminologies
PDF
2018 Học cờ cùng con - Nguyễn Vũ Kỳ Anh [U7]
PDF
Làm việc hiệu quả với sếp Nhật (2017)
PDF
Problem Solving Skills (for IT Engineers)
PPTX
Using Shader in cocos2d-x
PPTX
Pham Anh Tu - TK Framework
PDF
My idol: Magnus Carlsen vs. Ky Anh 2G1 NGS Newton
PDF
Basic advanced scrum framework
PDF
FPT Univ. Talkshow IT khong chi la lap trinh
PDF
Basic & Advanced Scrum Framework
PDF
Agile Vietnam Conference 2016: Recap
PDF
IT Public Speaking Guidelines
PDF
Kanban: Cơ bản và Nâng cao
PDF
Học cờ vua cùng con Nguyễn Vũ Kỳ Anh (U6)
PPTX
Fuji Technology Workshop: Learning Skills
PDF
Anti patterns in it project management
Co ban horenso - Tai lieu training noi bo
Funix techtalk: Tự học hiệu quả thời 4.0
Học cờ cùng con - Nguyễn Vỹ Kỳ Anh [U8]
Japanese for it bridge engineers
Basic IT Project Management Terminologies
2018 Học cờ cùng con - Nguyễn Vũ Kỳ Anh [U7]
Làm việc hiệu quả với sếp Nhật (2017)
Problem Solving Skills (for IT Engineers)
Using Shader in cocos2d-x
Pham Anh Tu - TK Framework
My idol: Magnus Carlsen vs. Ky Anh 2G1 NGS Newton
Basic advanced scrum framework
FPT Univ. Talkshow IT khong chi la lap trinh
Basic & Advanced Scrum Framework
Agile Vietnam Conference 2016: Recap
IT Public Speaking Guidelines
Kanban: Cơ bản và Nâng cao
Học cờ vua cùng con Nguyễn Vũ Kỳ Anh (U6)
Fuji Technology Workshop: Learning Skills
Anti patterns in it project management

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Machine learning based COVID-19 study performance prediction
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Big Data Technologies - Introduction.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
Unlocking AI with Model Context Protocol (MCP)
Understanding_Digital_Forensics_Presentation.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Reach Out and Touch Someone: Haptics and Empathic Computing
sap open course for s4hana steps from ECC to s4
Machine learning based COVID-19 study performance prediction
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Programs and apps: productivity, graphics, security and other tools
Big Data Technologies - Introduction.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Weekly Chronicles - August'25 Week I

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

  • 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 of Creative Commons Non-commercial Share-Like 3.0 Unported
  • 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. What Node.js is and is not? Is/does A framework Providing evented, non blocking I/O Built on top of Google's V8 JS environment NOT Very very fast! A web framework: –Ruby on Rails – Django – Yii Multi-threaded
  • 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. Why Node.js? Callback demo: setInterval(function () { console.log("Hello World") }, 1000); console.log("Done setting!");
  • 6. How to use? Installation: Install Node.js – – Install NPM – Install modules Demos: – Simple HTTP server – Simple echo server
  • 7. As a Scripting Engine Modules: – Processes & Child Process – Filesystem – Utilities Docs: http://nodejs.org/api/
  • 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. 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. Thank you for your attention!