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
Setting Up the Node.js Platform
- Download and Installation
- Node REPL
- First Hello World program
Modules and npm
- Structure of a module
- Private code encapsulation
- Accessing and utilizing modules
- npm commands
- package.json
The Callback Pattern
- Definition of 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
- Handling Errors in Event Emitters
- Uncaught Exceptions
- Utilizing Domains
Buffers
- Purpose of Buffers
- Creating Buffers
- Reading and Writing to Buffers
- Manipulating Buffers
Streams
- Definition of streams
- Read and Write Stream API
- Flow Control
- Piping
- Duplex Streams
- Transform Streams
Express.js
- Introduction to and Installation of Express.js
- Building a Hello Express application
- Defining routes
- Rendering Layouts
- Utilizing templates
- Including partials
- Using locals and conditional templates
- Modularizing routes
Socket.io
- Listening for events
- Broadcasting messages
- Responding to queries
Connecting to Databases
- NoSQL and Document Stores
- Relational Databases
- Configuration and platform setup
- CRUD Operations
Requirements
Participants in this course are expected to 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.