课程介绍:
Course Prerequisites: Knowledge of JavaScript equivalent to attending the JavaScript Programming course. Attendees should also have familiarity with a Windows, Linux, or OS X command line interface as well as a basic understanding of network protocols such as HTTP.
课程大纲:
Day1 – About Node.js
Server Side JavaScript
The Event Loop
Asynchronous Execution
npm
Node.js Architecture
Node.js Core Modules
Node.js Projects and Applications
Node.js Command Line Arguments
Node.js Global Environment
Timers
Global Objects
The process Object
Buffers and Buffer Manipulation
Day2 – – ES6 Enhancements
Arrow Functions
let and const Keywords
Enhanced Object Literals
Map and Set Collections
WeakMap and WeakSet Collections
String Template Literals
Day3 — Installation and Configuration
Node.js
npm
Express
MongoDB
Mongoose
Day4– Programming Fundamentals with Node
Using Modules to Organize Code
Creating and Reusing Code with Modules
Asynchronous Programming Fundamentals
Using Callbacks to Handle Events
Using EventEmitters to Handle
Repeating Events
Type Testing with the util Module
The Node.js Module Loading System
Module Caching
Day5 – Unit Testing and Debugging with Node.js
Implementing Unit Tests with the Assert
Module
Test Driven Development with Nodeunit
Behavioral Testing with Mocha
Facilitating Debugging with the Console
Module
Working with the Node.js Debug Utility
Day6 – System and Data Interaction with Node
Day7 – Data Persistence with Node.js
Day8 – Web Application and Network Programming