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
- Using the Node REPL
- First Hello World program
Modules and npm
- Module anatomy
- Encapsulating private code
- Accessing and utilizing modules
- npm commands
- package.json
The Callback Pattern
- Defining callbacks
- Callback-last convention
- Error-first convention
Events
- Use cases for Event Emitters
- Binding functions to events
- Issuing event requests
- Listening to events
Error Handling
- Callbacks: Error-first approach
- Managing errors in Event Emitters
- Handling Uncaught Exceptions
- Utilizing Domains
Buffers
- Purpose of Buffers
- Creating Buffers
- Reading from and writing to Buffers
- Manipulating Buffers
Streams
- Concept of 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
- Defining 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
- NoSQL and Document Stores
- Relational Databases
- Configuration and platform setup
- CRUD Operations
Requirements
Participants enrolling in this course 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.