Real-time web applications with Node.js and Express.js

Rating:
1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5
Loading...
Please Log in or register to rate

Real-time web applications with Node.js and Express.js

WEB-201

Node.js is a software system designed for writing highly scalable Internet applications, notably web servers. Programs are written in JavaScript, using event-driven, asynchronous I/O to minimize overhead and maximize scalability. Unlike most JavaScript programs, it is not executed in a web browser, but is instead a server-side JavaScript application. Node.js consists of Google’s V8 JavaScript engine plus several built-in libraries.

In this seminar you’ll learn the fundamentals of Node.js and how to use Node.js to build lightweight, real-time full stack web-applications with Node and the Express framework. Participants will also learn how to interface Node.js with back-end databases and discover how to use several of the leading external modules for Node.js

Why should you learn Node.js
  • Node.js is fast & scalable
  • Node.js adoption by the world web development community is exponential and extended with over 160,000 code libraries to get any job done
  • Node.js is used in production by leading brands: PayPal, Linkedin, Apple, ebay, Amazon, Sony, Yahoo, Yammer, intel, salesforce, IBM, Siemens, General Motors, Walmart, Goldman Sachs, Citigroup, B.M.W, The New York Times, Geeklist, Ghost, GoDaddy, Trello, Uber, Modulus, Zendesk, HBO, redhat, AirBnb, Netflix, Oracle, Mastercard and many many more…
  • Ideal for creating API’s on the fly, rapid web application development with many available web frameworks
  • IoT – Node.js plays well with the internet of things – increasing exponentially the number of connected devices like health monitors, sensors, tags, bots, thermostats, cars and all variety of “smart” devices that need to talk to disparate data and services both in real-time and offline
  • Demand for Node.js developers is sky-rocketing
Audience

Target Audience:
This seminar is for web developers with basic knowledge of JavaScript, who wish to develop cross-platform JavaScript applications with Node JS.

Prerequisites:
• Programming experience in any OOP language
• JavaScript knowledge

Course Topics

Introduction to Node.js

What is Node and what it is not
Node.js Features and internals
Project setup: Hello World
Blocking vs. non-blocking I/O
Spawning a web server in 5 lines of code
Debugging node applications

Modular JavaScript with Node.js

Node.js Core Modules
Installing external code libraries
npm popular packages
Writing Modular JavaScript with Node.js
Publishing packages

Avoiding common pitfalls with Async.js

Asynchronicity and callbacks
Introducing the Async problem (callback hell)
Async.js Library to the rescue
Collections & Flow Controllers
Another alternative – Working with Promises

Working with the file system

Files & folders manipulations
fs-extra package
Challenge project- file-system & Async.js summery

Data Access 01 – mySql

mySql node package
Hello DB – Simple DB connection
CRUD examples
Challenge project- Async with mySql operations

Command-line interfaces

The built-in REPL
Custom REPL
Build command-line tools

Unit-Testing Node Applications

Testing with Mocha and Should
Testing Synchronous & Asynchronous code
Overview of complementary tools

The Express Web Framework

Introduction to Express, installation and basic setup
Application configuration
Routing
Views and Templating options
Persistence with Cookies, In-Memory Sessions and session-stores
Authentication with Passport.js
Exception handling

Data Access 02 – mongoDB

Tooling up – installing mongo, clients and drivers
Mongoose Schemas
CRUD operations
Single Page Applications with Express, Mongoose and Angular.js

Real-time communication

Introduction to real-time communication
Web Sockets & sockets libraries
Streams – streaming chunked data
Build a chat application

Real-world

Hosting node.js applications
Deployment & monitoring with PM2 & keymetrics
Scaling Node.js

Detailed Course Outline
© Copyright - Skilit - Site by Dweb