Download - Node.js Jump Start
Node.js Jump Start
Haim MichaelMay 23th, 2014
All logos, trade marks and brand names used in this presentation, such as the node.js logo, belong to their respective owners. Haim Michael and LifeMichaelare not related, associated or connected neither with the development of Node.jsor with any of the companies and the technologies related to Node.js.
You can watch the video clip at http://youtu.be/HWWggL1cRWY.
Li fe M
ic hae l .c o
m
Table of ContentLi fe M
ic hae l .c o
m● What is Node.js? ● Asynchronous Programming ● The Module Architecture● Centralized Modules Repository● Popular Modules● Learning Resources● Questions & Answers
What is Node.js?
● The node.js platform allows us to develop web
applications excellent in their performance.
● The node.js platform is based on JavaScript v8. We use
the JavaScript language.
Li fe M
ic hae l .c o
m
Asynchronous Programming
● The functions in node.js are asynchronous. As a result of
that everything is executed in the background
Li fe M
ic hae l .c o
m
var http = require('http');
var server = http.createServer(function (req, res) { res.writeHead(200, {'Content-Type':'text/plain'}); res.end('Hello World!\n');});
server.listen(1400,'127.0.0.1');
The Module Architecture
● The node.js platform uses the module architecture. It
simplifies the creation of complex applications.
● Each module contains a set of related functions.
● We use the require() function in order to include a
module we want to use.
Li fe M
ic hae l .c o
m
The Module Architecture
● The Node Package Manager, AKA as NPM, allows us to
manage the packages installed on our computer.
● NPM provides us with an online public registry service
that contains all the packages programmers publish
using the NPM.
● The NPM provides us with the npm tool we can use for
downloading, installing the managing those packages
Li fe M
ic hae l .c o
m
Centralized Modules Repository
● The centralized repository of public modules maintained
by the NPM is available at https://www.npmjs.org/.
Li fe M
ic hae l .c o
m
Popular Modules
● The https://nodejsmodules.org website tracks the
popular modules been used together with node.js.
● Some of the more interesting modules I recommend to
check include the following:
socket.io
mongoosejs.com
Li fe M
ic hae l .c o
m
Learning Resources● You can find a node.js Jump Start course as well as other
related courses at http://abelski.lifemichael.com.
Li fe M
ic hae l .c o
m
Learning Resources● You can find detailed documentation in node.js official
website at http://nodejs.org.
Li fe M
ic hae l .c o
m
Questions & Answers● Three courses you might find interesting include
Software Engineering in PHP
more info
Android 4.4 Java Applications Development
more info
HTML5 Cross Platform Mobile Applications
more info
● If you enjoyed my lecture please leave me a comment
at http://speakerpedia.com/speakers/life-michael.
Thanks for your time!
Haim.
Li fe M
ic hae l .c o
m
Node.js Jump Start
Haim MichaelMay 23th, 2014
All logos, trade marks and brand names used in this presentation, such as the node.js logo, belong to their respective owners. Haim Michael and LifeMichaelare not related, associated or connected neither with the development of Node.jsor with any of the companies and the technologies related to Node.js.
You can watch the video clip at http://youtu.be/HWWggL1cRWY.
LifeMic hael.c o
m
Table of Content
LifeMic hael.c o
m● What is Node.js? ● Asynchronous Programming ● The Module Architecture● Centralized Modules Repository● Popular Modules● Learning Resources● Questions & Answers
What is Node.js?
● The node.js platform allows us to develop web
applications excellent in their performance.
● The node.js platform is based on JavaScript v8. We use
the JavaScript language.
LifeMic hael.c o
m
Asynchronous Programming
● The functions in node.js are asynchronous. As a result of
that everything is executed in the background
LifeMic hael.c o
mvar http = require('http');
var server = http.createServer(function (req, res) { res.writeHead(200, {'Content-Type':'text/plain'}); res.end('Hello World!\n');});
server.listen(1400,'127.0.0.1');
The Module Architecture
● The node.js platform uses the module architecture. It
simplifies the creation of complex applications.
● Each module contains a set of related functions.
● We use the require() function in order to include a
module we want to use.
LifeMic hael.c o
m
The Module Architecture
● The Node Package Manager, AKA as NPM, allows us to
manage the packages installed on our computer.
● NPM provides us with an online public registry service
that contains all the packages programmers publish
using the NPM.
● The NPM provides us with the npm tool we can use for
downloading, installing the managing those packages
LifeMic hael.c o
m
Centralized Modules Repository
● The centralized repository of public modules maintained
by the NPM is available at https://www.npmjs.org/.
LifeMic hael.c o
m
Popular Modules
● The https://nodejsmodules.org website tracks the
popular modules been used together with node.js.
● Some of the more interesting modules I recommend to
check include the following:
socket.io
mongoosejs.com
LifeMic hael.c o
m
Learning Resources● You can find a node.js Jump Start course as well as other
related courses at http://abelski.lifemichael.com.
LifeMic hael.c o
m
Learning Resources● You can find detailed documentation in node.js official
website at http://nodejs.org.
LifeMic hael.c o
m
Questions & Answers● Three courses you might find interesting include
Software Engineering in PHP
more info
Android 4.4 Java Applications Development
more info
HTML5 Cross Platform Mobile Applications
more info
● If you enjoyed my lecture please leave me a comment
at http://speakerpedia.com/speakers/life-michael.
Thanks for your time!
Haim.
LifeMic hael.c o
m