Node.js
Node.js is a platform for easily building fast, scalable network applications. This course teaches the participant how to use the event-driven, non-blocking I/O models to build data-intensive real-time applications that run across distributed devices. The attendees will also explore the design choices that make Node.js unique. This class will teach how to create modular code that’s robust, expressive and clear.
Course taught by an expert Computer Coding Instructor.
2 days - $1,295.00
Prerequisites:
Basic knowledge of computer coding is essential.
Course Outline
Introduction to Node.js
RAM vs. I/O latency
Blocking vs. Non-Blocking
Event-driven Programming
Event Loop
Blocking The Event Loop
Node.js Philosophy
Node.js Platform Setup
Download and Install
Node REPL
First Hello World
Modules and npm
Anatomy of a module
Private code
Accessing and using modules
npm commands
package.json
The Callback Pattern
What are callbacks
Callback-last
Error-first
Events
When to use Event Emitters
Binding Functions to Events
Event Requests
Event Listening
Error Handling
Callbacks: Error-first
Errors in Event Emitters
Uncaught Exceptions
Using Domains
Buffers
Why Buffers exist
Creating Buffers
Reading and Writing Buffers
Manipulating Buffers
Streams
What are streams
Read and Write Stream API
Flow Control
Piping
Duplex Stream
Transform Stream
Express.js
Intro and Installing Express.js
Building a Hello Express application
Creating routes
Rendering Layouts
Using templates
Adding partials
Using locals and conditional templates
Modularizing routes
Socket.io
No SQL and Document Stores
Relational DBs
Configuration and platform setup
CRUD Operations