Suche senden
Hochladen
Node js quick tour v2
•
0 gefällt mir
•
1,092 views
Wyatt Fang
Folgen
Technologie
Melden
Teilen
Melden
Teilen
1 von 42
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Server-Side JavaScript Developement - Node.JS Quick Tour
Server-Side JavaScript Developement - Node.JS Quick Tour
q3boy
GeekCampSG - Nodejs , Websockets and Realtime Web
GeekCampSG - Nodejs , Websockets and Realtime Web
Bhagaban Behera
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Marcus Frödin
Create Rest API in Nodejs
Create Rest API in Nodejs
Irfan Maulana
Node.js and Ruby
Node.js and Ruby
Michael Bleigh
Introduction to NodeJS with LOLCats
Introduction to NodeJS with LOLCats
Derek Anderson
Introduction to Node.js: What, why and how?
Introduction to Node.js: What, why and how?
Christian Joudrey
Getting Started with MongoDB and Node.js
Getting Started with MongoDB and Node.js
Grant Goodale
Empfohlen
Server-Side JavaScript Developement - Node.JS Quick Tour
Server-Side JavaScript Developement - Node.JS Quick Tour
q3boy
GeekCampSG - Nodejs , Websockets and Realtime Web
GeekCampSG - Nodejs , Websockets and Realtime Web
Bhagaban Behera
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Marcus Frödin
Create Rest API in Nodejs
Create Rest API in Nodejs
Irfan Maulana
Node.js and Ruby
Node.js and Ruby
Michael Bleigh
Introduction to NodeJS with LOLCats
Introduction to NodeJS with LOLCats
Derek Anderson
Introduction to Node.js: What, why and how?
Introduction to Node.js: What, why and how?
Christian Joudrey
Getting Started with MongoDB and Node.js
Getting Started with MongoDB and Node.js
Grant Goodale
Node.js - The New, New Hotness
Node.js - The New, New Hotness
Daniel Shaw
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Codemotion
Complete MVC on NodeJS
Complete MVC on NodeJS
Hüseyin BABAL
Future of NodeJS
Future of NodeJS
Sébastien Pertus
Node.js - A practical introduction (v2)
Node.js - A practical introduction (v2)
Felix Geisendörfer
Presentation of JSConf.eu
Presentation of JSConf.eu
Fredrik Wendt
Node.js - A Quick Tour II
Node.js - A Quick Tour II
Felix Geisendörfer
Introduction to node.js aka NodeJS
Introduction to node.js aka NodeJS
JITENDRA KUMAR PATEL
Node.js - As a networking tool
Node.js - As a networking tool
Felix Geisendörfer
Introduction to node.js GDD
Introduction to node.js GDD
Sudar Muthu
Java script at backend nodejs
Java script at backend nodejs
Amit Thakkar
Server side scripting smack down - Node.js vs PHP
Server side scripting smack down - Node.js vs PHP
Marc Gear
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
Tom Croucher
Nodejs - A-quick-tour-v3
Nodejs - A-quick-tour-v3
Felix Geisendörfer
Dirty - How simple is your database?
Dirty - How simple is your database?
Felix Geisendörfer
NodeJS Concurrency
NodeJS Concurrency
pgriess
Node.js and How JavaScript is Changing Server Programming
Node.js and How JavaScript is Changing Server Programming
Tom Croucher
Building GUI App with Electron and Lisp
Building GUI App with Electron and Lisp
fukamachi
Nodejs - A quick tour (v4)
Nodejs - A quick tour (v4)
Felix Geisendörfer
Wii briefing
Wii briefing
ariel wang
Sus Ppt April 2009 10
Sus Ppt April 2009 10
ChadDurbin
Crowdsourcing
Crowdsourcing
Wissam El-Kik
Weitere ähnliche Inhalte
Was ist angesagt?
Node.js - The New, New Hotness
Node.js - The New, New Hotness
Daniel Shaw
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Codemotion
Complete MVC on NodeJS
Complete MVC on NodeJS
Hüseyin BABAL
Future of NodeJS
Future of NodeJS
Sébastien Pertus
Node.js - A practical introduction (v2)
Node.js - A practical introduction (v2)
Felix Geisendörfer
Presentation of JSConf.eu
Presentation of JSConf.eu
Fredrik Wendt
Node.js - A Quick Tour II
Node.js - A Quick Tour II
Felix Geisendörfer
Introduction to node.js aka NodeJS
Introduction to node.js aka NodeJS
JITENDRA KUMAR PATEL
Node.js - As a networking tool
Node.js - As a networking tool
Felix Geisendörfer
Introduction to node.js GDD
Introduction to node.js GDD
Sudar Muthu
Java script at backend nodejs
Java script at backend nodejs
Amit Thakkar
Server side scripting smack down - Node.js vs PHP
Server side scripting smack down - Node.js vs PHP
Marc Gear
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
Tom Croucher
Nodejs - A-quick-tour-v3
Nodejs - A-quick-tour-v3
Felix Geisendörfer
Dirty - How simple is your database?
Dirty - How simple is your database?
Felix Geisendörfer
NodeJS Concurrency
NodeJS Concurrency
pgriess
Node.js and How JavaScript is Changing Server Programming
Node.js and How JavaScript is Changing Server Programming
Tom Croucher
Building GUI App with Electron and Lisp
Building GUI App with Electron and Lisp
fukamachi
Nodejs - A quick tour (v4)
Nodejs - A quick tour (v4)
Felix Geisendörfer
Was ist angesagt?
(19)
Node.js - The New, New Hotness
Node.js - The New, New Hotness
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Complete MVC on NodeJS
Complete MVC on NodeJS
Future of NodeJS
Future of NodeJS
Node.js - A practical introduction (v2)
Node.js - A practical introduction (v2)
Presentation of JSConf.eu
Presentation of JSConf.eu
Node.js - A Quick Tour II
Node.js - A Quick Tour II
Introduction to node.js aka NodeJS
Introduction to node.js aka NodeJS
Node.js - As a networking tool
Node.js - As a networking tool
Introduction to node.js GDD
Introduction to node.js GDD
Java script at backend nodejs
Java script at backend nodejs
Server side scripting smack down - Node.js vs PHP
Server side scripting smack down - Node.js vs PHP
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
Nodejs - A-quick-tour-v3
Nodejs - A-quick-tour-v3
Dirty - How simple is your database?
Dirty - How simple is your database?
NodeJS Concurrency
NodeJS Concurrency
Node.js and How JavaScript is Changing Server Programming
Node.js and How JavaScript is Changing Server Programming
Building GUI App with Electron and Lisp
Building GUI App with Electron and Lisp
Nodejs - A quick tour (v4)
Nodejs - A quick tour (v4)
Andere mochten auch
Wii briefing
Wii briefing
ariel wang
Sus Ppt April 2009 10
Sus Ppt April 2009 10
ChadDurbin
Crowdsourcing
Crowdsourcing
Wissam El-Kik
Blueprint Design Consultants, Inc
Blueprint Design Consultants, Inc
jdego
I Think Of You
I Think Of You
jabalimuni
20150213関東地区セミナー公開版(鈴木)
20150213関東地区セミナー公開版(鈴木)
Masako Suzuki
Orlando2004
Orlando2004
Eric Camus
Mobitune investment appraisal
Mobitune investment appraisal
nabeelhaiderkhan
Mobilink Infinity
Mobilink Infinity
nabeelhaiderkhan
What I Eat
What I Eat
ariel wang
Christmas2009 Pilar
Christmas2009 Pilar
pilarca
Oracle Self Service Webcenter Soa Telco V 5
Oracle Self Service Webcenter Soa Telco V 5
Angel Ortíz Pérez
百度分布式数据库平台
百度分布式数据库平台
Wyatt Fang
Defrag 2010 Collaborative Analytics
Defrag 2010 Collaborative Analytics
ehuddleston
Geo Vs Express
Geo Vs Express
nabeelhaiderkhan
Micro and Macro Economics
Micro and Macro Economics
nabeelhaiderkhan
Negative Messages
Negative Messages
nabeelhaiderkhan
Problemas Y Retos Educativos
Problemas Y Retos Educativos
behiala
fotografie
fotografie
filipmaes
Andere mochten auch
(19)
Wii briefing
Wii briefing
Sus Ppt April 2009 10
Sus Ppt April 2009 10
Crowdsourcing
Crowdsourcing
Blueprint Design Consultants, Inc
Blueprint Design Consultants, Inc
I Think Of You
I Think Of You
20150213関東地区セミナー公開版(鈴木)
20150213関東地区セミナー公開版(鈴木)
Orlando2004
Orlando2004
Mobitune investment appraisal
Mobitune investment appraisal
Mobilink Infinity
Mobilink Infinity
What I Eat
What I Eat
Christmas2009 Pilar
Christmas2009 Pilar
Oracle Self Service Webcenter Soa Telco V 5
Oracle Self Service Webcenter Soa Telco V 5
百度分布式数据库平台
百度分布式数据库平台
Defrag 2010 Collaborative Analytics
Defrag 2010 Collaborative Analytics
Geo Vs Express
Geo Vs Express
Micro and Macro Economics
Micro and Macro Economics
Negative Messages
Negative Messages
Problemas Y Retos Educativos
Problemas Y Retos Educativos
fotografie
fotografie
Ähnlich wie Node js quick tour v2
Practical Use of MongoDB for Node.js
Practical Use of MongoDB for Node.js
async_io
Developing realtime apps with Drupal and NodeJS
Developing realtime apps with Drupal and NodeJS
drupalcampest
Node azure
Node azure
Emanuele DelBono
introduction to node.js
introduction to node.js
orkaplan
Node.JS and WebSockets with Faye
Node.JS and WebSockets with Faye
Matjaž Lipuš
Dcjq node.js presentation
Dcjq node.js presentation
async_io
Node js实践
Node js实践
jay li
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Tom Croucher
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18
Pierre Joye
T4T Training day - NodeJS
T4T Training day - NodeJS
Tim Sommer
nodecalgary1
nodecalgary1
Eric Kryski
Laug Mootools And Common Js
Laug Mootools And Common Js
Skills Matter
Nodejs - A quick tour (v6)
Nodejs - A quick tour (v6)
Felix Geisendörfer
Introduction to node.js
Introduction to node.js
Arun Kumar Arjunan
Introduction to node.js by jiban
Introduction to node.js by jiban
Jibanananda Sana
Rack
Rack
shaokun
What is Node.js
What is Node.js
mohamed hadrich
Nodejs - Should Ruby Developers Care?
Nodejs - Should Ruby Developers Care?
Felix Geisendörfer
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
Tech in Asia ID
Nodejs - A quick tour (v5)
Nodejs - A quick tour (v5)
Felix Geisendörfer
Ähnlich wie Node js quick tour v2
(20)
Practical Use of MongoDB for Node.js
Practical Use of MongoDB for Node.js
Developing realtime apps with Drupal and NodeJS
Developing realtime apps with Drupal and NodeJS
Node azure
Node azure
introduction to node.js
introduction to node.js
Node.JS and WebSockets with Faye
Node.JS and WebSockets with Faye
Dcjq node.js presentation
Dcjq node.js presentation
Node js实践
Node js实践
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18
T4T Training day - NodeJS
T4T Training day - NodeJS
nodecalgary1
nodecalgary1
Laug Mootools And Common Js
Laug Mootools And Common Js
Nodejs - A quick tour (v6)
Nodejs - A quick tour (v6)
Introduction to node.js
Introduction to node.js
Introduction to node.js by jiban
Introduction to node.js by jiban
Rack
Rack
What is Node.js
What is Node.js
Nodejs - Should Ruby Developers Care?
Nodejs - Should Ruby Developers Care?
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
Nodejs - A quick tour (v5)
Nodejs - A quick tour (v5)
Kürzlich hochgeladen
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
hans926745
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Pixlogix Infotech
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
The Digital Insurer
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Kürzlich hochgeladen
(20)
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Node js quick tour v2
1.
Server-Side JavaScript
Developement Node.JS Quick Tour q3boy <q3boy1@gmail.com> from http://cnodejs.org/
2.
Server-Side JavaScript
Development
3.
Aptana Jaxer (SpiderMonkey)
Helma (Rhino)
4.
• •
5.
Revelutions in 2009 •
CommonJS (ServerJS), by Dangoor • JSConf, by Chris Williams & Iterative Designs • Node, by Ray Dahl.
6.
Node's goal is
to provide an easy way to build scalable network programs -- nodejs.org
7.
Ray Dahl
8.
• 1/5/2009 Ryah
Dahl • 2/15/2009 • 5/31/2009 • ...... • 11/16/2010 v0.3.1
9.
•
wiki 600 module • 20 •
10.
• libev (event
loop) • libeio (nonblocked posix, thread pool) • v8 (javascript engine by google)
11.
• • •
12.
io io
13.
io io
14.
- • • •
15.
- •
cpu •
16.
- Web Worker
17.
• AMD Opteron
2200 , 4G RAM • socket client 20,000+ qps • socket server 17,000 qps • http server 4,400 qps • 30~40m • see more. <http://nodejs.kongwu.net/blog/? p=8>
18.
• SSL • Windows •
1G (by v8)
19.
• Web • • Spider
20.
Digg in the
node
21.
$ git clone
git://github.com/ry/node.git $ cd node $ ./configure --prefix=$HOME/node $ make install
22.
Hello World! Familiar &
Simple
23.
$ node singleThread.js 1 2 3 4
24.
CommonJS $ node CommonJS.js foobar
25.
io $ node nonblocking.js Reading
my.txt ... my.txt Here is contents in "my.txt".
26.
HTTP
27.
TCP
$ node tcpServer.js & $ telnet locahost 1234 Welcome! > Node is so Cooool. Node is so Cooool. >
28.
$ node watchFile.js
& $ sleep 3; touch my.txt the current mtime is: 1292594780000 the previous mtime was: 1292594752000
29.
$ node childProcess.js hello world
30.
String vs Buffer
String • • node v8 String , socket memcopy • v8 gc
31.
String vs Buffer
With String
32.
String vs Buffer
With Buffer
33.
With String
34.
With Buffer
35.
Want to see
more?
36.
• PHP: pear •
Python: PyPI, setuptools • Ruby: Gems • Node:
37.
$ cat >>~/.npmrc
<<NPMRC root = ~/.node_libraries binroot = ~/bin manroot = ~/share/man NPMRC $ curl http://npmjs.org/install.sh | sh $ npm ls $ npm install package_name $ npm update
38.
IDE base on
node http://www.cloud9ide.com/
39.
Links • http://www.commonjs.org/ • http://nodejs.org/ •
http://howtonode.org/ • https://github.com/ry/node/wiki • https://github.com/ry/node/wiki/modules • https://github.com/isaacs/npm
40.
41.
Node in Taobao •
UED • nodejs-kissy by <bachi@taobao.com> • EDP • http://cnodejs.org/ ( node , coming soon) • node-reverse-proxy ( , , coming soon) • node-myfox (mysql 2011 Q1) • node-glider ( 2011 Q2) • node-kvproxy (key-value 2011 Q2)
Jetzt herunterladen