Course Outline
Introduction to Node.js
- RAM versus I/O latency
- Blocking versus Non-blocking operations
- Event-driven Programming
- The Event Loop
- Blocking the Event Loop
- The Node.js Philosophy
Setting up the Node.js Platform
- Download and Installation
- Node REPL
- Creating a First Hello World Application
Modules and npm
- Anatomy of a Module
- Private Code
- Accessing and Utilizing Modules
- npm Commands
- package.json
The Callback Pattern
- Understanding Callbacks
- Callback-last Convention
- Error-first Convention
Events
- When to Utilize Event Emitters
- Binding Functions to Events
- Event Requests
- Event Listening
Error Handling
- Callbacks: Error-first Approach
- Errors in Event Emitters
- Uncaught Exceptions
- Using Domains
Buffers
- The Purpose of Buffers
- Creating Buffers
- Reading and Writing Buffers
- Manipulating Buffers
Streams
- Understanding Streams
- Read and Write Stream API
- Flow Control
- Piping
- Duplex Stream
- Transform Stream
Express.js
- Introduction and Installation of Express.js
- Building a Hello Express Application
- Creating Routes
- Rendering Layouts
- Using Templates
- Adding Partials
- Using Locals and Conditional Templates
- Modularizing Routes
Socket.io
- Listening for Events
- Broadcasting
- Answering Questions
Connecting to Databases
- No SQL and Document Stores
- Relational Databases
- Configuration and Platform Setup
- CRUD Operations
Requirements
Participants should possess prior experience in JavaScript programming.
Testimonials (7)
I enjoyed the interesting topics and touching on the various nuances of javascript/typescript/nodejs/
John - BMW SA
Course - Node.js for JavaScript Developers
The platform
Shaun Mbhiza - BMW SA
Course - Node.js for JavaScript Developers
Hands on exercises
Daniel - BMW SA
Course - Node.js for JavaScript Developers
I was not aware that is would be so interactive and code heavy, which I loved and thought it made the learning more fun and effective.
Ryan - BMW SA
Course - Node.js for JavaScript Developers
His Humour & Personailty
Karabo Mphahlele - BMW SA
Course - Node.js for JavaScript Developers
The practical examples
Werner - BMW SA
Course - Node.js for JavaScript Developers
I was benefit from doing the exercises to understand nodejs concepts.