Node JS Online Training

Module – 1 NodeJS Content

The application developer in a BPM context is responsible for assembling application components into a complete solution, and preparing this solution for thorough testing and subsequent deployment. The application developer enables access to a range of data sources for other developers, which may include establishing relational views over federated sources (heterogeneous relational databases, data access layer developer queues, or Web services), writing entity beans to enable correlated access to federated sources, or developing Web services that provide access to federated sources.

Chapter – 1 Node Essentials

  • Node.js
  • What Application you can Create?
  • Node.js is Not
  • After Installation
  • Check Node Install Version
  • Check npm Install Version
  • The Read-Eval-Print-Loop
  • To Start REPL
  • Check Previously Issued Command
  • Terminating any Command
  • Terminate the REPL
  • List All Commands
  • List command Starts with c
  • Multiline Expression
  • Special Variable _ (underscore)
  • REPL Commands

Chapter – 2 Node Package Manager

  • Node Module System
  • NPM
  • Search NPM
  • Installing Packages
  • Installing Specified Version
  • Installing Latest Patch
  • Relational Version Range Descriptors
  • Installing from URL
  • Package Locations
  • Global Packages
  • The require() Function
  • Core Modules
  • The package.json file
  • The package name

Chapter – 3 Asynchronous Programming

  • Blocking Operation
  • Non Blocking Operation
  • Asynchronous Programming
  • Event Loop
  • Immediately Executing Function
  • Anonymous Function
  • First Class Functions
  • Higher-Order Functions
  • Closures
  • Timers & Scheduling
  • The setInterval Function
  • The clearTimeout Function

Chapter – 4 Working with Core Modules

  • What is a Module?
  • Kinds of Modules
  • Node.js Modules
  • Importing a Module
  • Only exports
  • Conditionally Load a Module
  • Blocking
  • Module Cached
  • Shared Data
  • New Object Creation
  • The module.exports
  • Module Best Practices
  • Global Variables
  • Global Variables – __filename and __dirname
  • Command Line Arguments
  • Variable global
  • Core Modules
  • The path Module
  • The path Module – normalize
  • The path Module – names
  • The path Module – separator & delimeter
  • The path Module -parse
  • The console Module – log, info, error, warn
  • The console Module – time & timeEnd
  • The os Module
  • The os Module – Temp Directory
  • The os Module – Endianness
  • The os Module – Hostname, type, platform, arachitecture
  • The os Module – memory
  • The os Module – CPU
  • The util Module
  • The util Module –
  • The util Module – log
  • The util Module – inspect
  • The util Module – format
  • The util Module – isArray, isRegExp, isDate, isError
  • The querystring Module
  • The querystring Module – stringify
  • The querystring Module – parse

Chapter – 5 Working with Events

  • About Node.js Events
  • EventEmitter class
  • Multiple Subscribers
  • Pass Data Between Multiple Subscribers
  • Unsubscribing an Event
  • Unsubscribing an Event using Anonymous Function
  • Unsubscribing an Event using Named Function
  • Unsubscribe Multiple Handlers
  • One-Time Event Listeners
  • Listener Count
  • Retrieve Event Handlers
  • The newListener Event
  • The removeListener Event
  • Remove All Listeners
  • EventEmitter Memory Leaks
  • Set Max Listeners
  • Error Event
  • Error Event – Unhandled
  • Error Event – Handled

Chapter – 6 Working with Command Line

  • The Standard Streams
  • Encoding
  • Standard Input
  • Standard Output
  • stdout.write() vs Console.log
  • Standard Error
  • Console.trace
  • stdout vs stderr
  • The TTY Interface
  • Terminal Size
  • User Environment Variables
  • The process.exit
  • Exit Events
  • The beforeExit Event
  • The uncaughtException
  • The readline Module
  • The createInterface Function
  • The question function
  • The prompt Function
  • The commander Module
  • The parse Function
  • The args Property
  • The option & parse Functions
  • The angle<> and [] Bracket

Chapter – 7 Working with File System

  • The fs Module
  • Asynchronous Form
  • The exists Function
  • The mkdir Function
  • The rename Function
  • File Statistics
  • fs.stats Object Properties
  • ctime vs birthtime
  • Various fs.stats Methods
  • FIFO Special file
  • The stat Function
  • Symbolic Link
  • Creating Symbolic Link
  • The lstat Function
  • The fstat Function
  • Opening a File
  • File Truncate
  • The chown Function
  • The chmode Function
  • Change Access & Modified Time
  • Find Real Path
  • Buffer
  • Reading File Content
  • File Open Flag
  • Reading File Content in various modes
  • Reading File in One Stop
  • Writing in File Asynchronous
  • Writing in File Synchronous
  • Appending a File
  • Reading the Directory
  • The readlink Function
  • Delete Directory
  • Delete File
  • File or Directory Watcher
  • File Watcher Change
  • File Watcher Rename
  • Directory Watcher
  • Sub Directory Watcher
  • FSWatcher Object

Chapter – 8 Working with HTTP

  • About HTTP
  • The http Module
  • Http Methods & its Status Code
  • Create Server
  • Listen for request
  • Request Event
  • Close Event
  • Server Response
  • Buffer Response
  • Write header
  • Modify Header
  • Modify Header Error
  • Trailer Header
  • The end Method
  • Server Request
  • Pipe a File
  • Pipe Output of another Process
  • Get Static File
  • Htp Chucked Response
  • Get Request
  • Get External Webpage Content
  • Get RESTful Server Content
  • Pass Query String to RESTful Service

Chapter – 9 Working with Relational Databases

  • Node.js with mysql
  • Installing node-mysql Package
  • Select Statement
  • Insert Statement
  • Update Statement
  • Delete Statement
  • Order By
  • Group By
  • Conditional Statement

Course Enquiry





Menu