Introduction to Node.js
In this course we provide an overview of Node.js, including writing asynchronous code with callbacks and streams, and modularizing your application with NPM and require(). We also look at built-in API's for building and scaling web applications as well as a few key third party modules.
Authored by:
Paul O'Fallon
Duration: 2h 48m
Level: Intermediate
Released: 12/20/2012
Features:
Duration: 2h 48m
Level: Intermediate
Released: 12/20/2012
Features:
Course Rating:
You are currently not signed in. Please sign in to access subscriber-only content.
Currently using: {{getCurrentPlayerName()}} [Change]
| expand all | collapse all | Progress | Duration | |
|---|---|---|---|
Getting Started with Node.js |
|
00:36:14 | |
|
Introduction
|
|
00:38 | |
|
Node.js Background
|
|
01:51 | |
|
Getting Node.js
|
|
01:31 | |
|
Demo: Installing Node on Linux with NVM
|
|
06:55 | |
|
Demo: Developing for Node with Cloud9 IDE
|
|
07:41 | |
|
Node's Event Loop
|
|
02:51 | |
|
Node Conventions for Writing Asychronous Code
|
|
04:45 | |
|
Demo: Writing Asychronous Code in Node.js
|
|
08:18 | |
|
The "Christmas Tree" Problem, Conclusion
|
|
01:44 | |
Modules, require() and NPM |
|
00:17:43 | |
|
Introduction, Accessing Built-in Modules
|
|
02:42 | |
|
Demo: Accessing Built-in Modules
|
|
01:42 | |
|
Using require() to Modularize Your Application
|
|
02:22 | |
|
Demo: Accessing Application Files with require()
|
|
03:00 | |
|
Finding 3rd Party Modules via NPM
|
|
02:17 | |
|
Demo: Installing and Using 3rd Party Modules
|
|
03:07 | |
|
Publishing Your Own Module, Conclusion
|
|
02:33 | |
Events and Streams |
|
00:26:35 | |
|
Introduction
|
|
00:34 | |
|
Events and the EventEmitter class
|
|
04:41 | |
|
Demo: Returning an EventEmitter from a function
|
|
03:39 | |
|
Demo: Inheriting from EventEmitter
|
|
03:23 | |
|
Readable and Writable Streams, the Pipe function
|
|
03:30 | |
|
Demo: Readable and Writable Streams
|
|
03:21 | |
|
Demo: Piping Between Streams
|
|
06:54 | |
|
Conclusion
|
|
00:33 | |
Accessing the Local System |
|
00:17:20 | |
|
Introduction, The Process Object
|
|
02:17 | |
|
Demo: The Process object
|
|
05:21 | |
|
Interacting with the File System
|
|
01:07 | |
|
Demo: Interacting with the File System
|
|
03:59 | |
|
What is a Buffer?
|
|
01:04 | |
|
Demo: Buffers
|
|
02:17 | |
|
The OS Module, Conclusion
|
|
01:15 | |
Interacting with the Web |
|
00:21:40 | |
|
Introduction, Making Web Requests in Node
|
|
02:36 | |
|
Demo: Making Web Requests in Node
|
|
04:01 | |
|
Building a Web Server in Node
|
|
01:58 | |
|
Demo: Building a Web Server in Node
|
|
03:00 | |
|
Realtime Interaction with Socket.IO
|
|
02:38 | |
|
Demo: Socket.IO
|
|
06:38 | |
|
Conclusion
|
|
00:49 | |
Testing and Debugging |
|
00:27:38 | |
|
Introduction, The Assert Module
|
|
02:33 | |
|
Demo: The Assert Module
|
|
04:18 | |
|
Testing with Mocha and Should.js
|
|
03:36 | |
|
Demo: Mocha and Should.js
|
|
09:14 | |
|
Debugging with the Cloud9 IDE
|
|
01:17 | |
|
Demo: Debugging with the Cloud9 IDE and Chrome
|
|
05:40 | |
|
Conclusion
|
|
01:00 | |
Scaling Your Node Application |
|
00:20:57 | |
|
Introduction, The Child Process Module
|
|
04:11 | |
|
Demo: The "exec" function
|
|
02:26 | |
|
Demo: The "spawn" function
|
|
02:01 | |
|
Demo: The "fork" function
|
|
02:51 | |
|
Scaling with Node's Cluster Module
|
|
02:35 | |
|
Demo: Building a Clustered Web Server
|
|
06:25 | |
|
Conclusion
|
|
00:28 |
Getting Started with Node.js