Course Outline
Introduction to Node.js
- RAM vs. I/O latency
- Blocking vs. Non-Blocking operations
- Event-driven Programming
- The Event Loop
- Blocking the Event Loop
- Node.js Philosophy
Node.js Platform Setup
- Download and Installation
- Node REPL
- First Hello World application
Modules and npm
- Structure 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
- Appropriate use of Event Emitters
- Binding Functions to Events
- Event Requests
- Event Listening
Error Handling
- Callbacks: Error-first approach
- Errors in Event Emitters
- Uncaught Exceptions
- Utilizing 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
- Utilizing templates
- Adding partials
- Using locals and conditional templates
- Modularizing routes
Socket.io
- Listening for events
- Broadcasting messages
- Answering questions
Connecting to Databases
- No SQL and Document Stores
- Relational DBs
- 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.