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
- Node.js philosophy
Node.js Platform Setup
- Download and installation
- Node REPL
- Creating a 'Hello World' application
Modules and npm
- Anatomy of a module
- Encapsulated code
- Importing and utilizing modules
- npm commands
- package.json
The Callback Pattern
- Understanding callbacks
- Callback-last convention
- Error-first convention
Events
- When to use Event Emitters
- Binding functions to events
- Event emission
- Event listening
Error Handling
- Callbacks: Error-first approach
- Handling errors in Event Emitters
- Uncaught exceptions
- Utilizing Domains
Buffers
- The purpose of buffers
- Creating buffers
- Reading and writing to buffers
- Manipulating buffers
Streams
- Understanding streams
- Read and Write Stream API
- Flow control
- Piping
- Duplex streams
- Transform streams
Express.js
- Introduction and installation of Express.js
- Developing a 'Hello Express' application
- Defining routes
- Rendering layouts
- Implementing templates
- Integrating partials
- Using locals and conditional templates
- Modularizing routes
Socket.io
- Listening for events
- Broadcasting
- Responding to events
Connecting to Databases
- NoSQL and document stores
- Relational databases
- Configuration and platform setup
- CRUD operations
Requirements
Participants are expected to have prior programming experience with JavaScript.
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.