Learn Node.js framework,installation and execution of scripts using Node.js.
The Node.js framework, Installing Node.js Using Node.js to execute scripts
This chapter teach you the creating a project and package manager of node,installation of global vs local packages,configuration of package.json and the automation tasks with gulp.
The Node Package Manager Creating a project The package.json configuration file Global vs. local package installation Automating tasks with Gulp
What is HTTP Protocol?,how to built an HTTP server,configuring TLS,processing query strings and rendering a response are covered in this module.
The HTTP protocol Building an HTTP server Rendering a response Processing query stringsUsing Representational State Transfer Configuring TLS
This chapter describes the file system functions consist of file I/O and directory I/O functions. All of the file system functions offer both synchronous and asynchronous versions.
Synchronous vs. asynchronous I/O Path and directory operations __dirname and __filenameAsynchronous file reads and writes
Buffers, Streams, And Events
Learn, how to use buffers for binary data,configuring evevt handlers,streaming I/O from files and processing streams asynchronously.
Using buffers for binary data, Flowing vs. non-flowing streams Streaming I/O from files and other sources Processing streams asynchronously Configuring event handlers
Modules And Unit Testing
Know about the modularization,creating a package and different specifications,how to define modules with exports,building unit tests and testing it are covered in this module.
Modularization The CommonJS and RequireJS specifications Defining modules with exportsModules are singletons Creating a package Module scope and construction Unit testing frameworks What to test and how to test it Building unit tests with Mocha
Understanding the model -view-controller pattern,defining different templates and routes,building handlebars helpers and front-end controller and many more are learnt in this chapter.
The model-view-controller pattern Defining Jade and Handlebars templates Building a front-end controller Defining routes Creating actions Configuring Express to use Handlebars Using REST and Reading POST data Building Handlebars helpers Adding middleware
How Node.js connects to different databases,performing CRUD operations and building client requests to web services are included in this session.
How Node.js connects to databases RDBMS databases and NoSQL databases Connecting to RDBMS and NoSQL databases Performing CRUD operations Building client requests to web services