Syllabus
NodeJS
Overview:
JavaScript’s rising popularity has brought with it a lot of changes, and the face of web development today is
dramatically different. The things that we can do on the web nowadays with JavaScript running on the server, as
well as in the browser, were hard to imagine just several years ago, or were encapsulated within sandboxed
environments like Flash or Java Applets.
Node.js is a packaged compilation of Google’s V8 JavaScript engine, the libuv platform abstraction layer, and a core
library, which is itself primarily written in JavaScript.” Beyond that, it’s worth noting that Ryan Dahl, the creator of
Node.js, was aiming to create real-time websites with push capability, “inspired by applications like Gmail”. In
Node.js, he gave developers a tool for working in the non-blocking, event-driven I/O paradigm.
Course Objectives
Understand the JavaScript and
technical concepts behind Node JS Use NPM and manage node packages
Structure a Node application in modules Build a web application and API more
Understand and use the Event Emitter easily using Express
Understand Buffers, Streams, and Pipes Connect to a SQL or Mongo database in Node
Build a Web Server in Node and Understand how the MEAN stack works
understand how it really works
Pre-requisite / Target Audience:
Basic Knowledge of JavaScript and OOPS
Knowledge in async programming will be added advantage
Introduction to JavaScript
Basic JavaScript Destructuring
Object Based JavaScript Rest parameters and spread operator
Introduction to ES6 Arrow function
JavaScript Helpers (forEach, filter,map, Default parameter
filter, every, some) Class : Inheritance, constructor
String Literals Promise
DOM, Components, Events
Introduction to Node JS
Introduction Traditional Web Server Model
What is Node JS? Node.js Process Model
Advantages of Node JS
Setup Dev Environment
Installing in mac os
Install Node.js on Windows Working in REPL
Node JS Console
Node JS Modules Buffer
Module
Functions
Module Types
Core Modules
Local Modules
Module.Exports
Node Package Mananger
What is NPM Installing packages globally
Installing Packages Locally Updating packages
Adding dependency in package.json
Creating Web server
Creating web server Sending requests
Handling http requests
File System
Fs.readFile Deleting a file
Writing a File Other IO Operations
Writing a file asynchronously
Opening a file
Events
Event Emitter class Inhering events
Returning event emitter
Express.JS
Working with express
Configuring routes
Serving Static Resources
Working with middle ware
Serving static files
Database connectivity
Connection string Updating records
Configuring Deleting records
Working with select command
Mongo DB Using Mongoose Database connectivity
Connection string Updating records
Configuring Deleting records
Working with select command Live Database
Template Engines
Why Template Engine Minor Project Using EJS
What is EJS Example
GitHub
Real-time environmental setup withGitHub