Node.js Guidebook
US$ 19.95
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Description
Contents
Reviews
Language
English
ISBN
9789387284432
Cover
Node.js Guidebook
Copyright
Preface
Acknowledgement
Table of Contents
Chapter 1: Introduction to Node.js
1.1 Introduction
1.1.1 Features and Benefits of Node.js.10
1.1.2 Types of Applications that can be Developed Using Node.js12
1.1.3 Asynchronous Programming with Node.js
1.2 Set up the Node.js Environment
1.2.1 REPL Terminal
1.2.2 Creating a Node File with JavaScript
1.2.3 Accessing Node.js File Through the Command Line Interface
1.2.4 Using Node.js in NetBeans 1DE
1.3 Comparison Between Node.js and Other JavaScript-based Technologies
1.3.1 Node.js vs. JavaScript
1.3.2 Node.js vs. AJAX30
1.3.3 Node.js vs. JQuery30
1.3.4 Node.js vs. AngularJS
1.3.5 Node.js vs. React.31
1.3.6 Node.js vs. Express.31
1.3.7 Node.js vs. Redux
Chapter 2: Modules in Node.js
2.1 Modules
2.1.1 Built-in Node.js Modules
2.2 Using Modules in a Node.js File
2.3 Using the Built-in HTTP Module.39
2.3.1 Reading the Query String from an HTTP Request
2.4 Using the Built-in HTTPS Module41
2.5 Using the Built-in URL Module
2.5.1 Splitting the Query String from an HTTP Request
2.6 Using the Built-in Query String Module
2.7 Creating a Custom Module.48
Chapter 3: File System Module
3.1 File System Module
3.2 Read Files
3.3 Create Files
3.4 Open Files 58
3.5 Write Files
3.6 Append Text to Files
3.7 Delete Files
3.8 Rename Files
3.9 Truncate Files
3.10 File System Module With URL Module
3.11 Create a Directory
3.12 Read a Directory
3.13 Remove a Directory
Chapter 4: NPM in Node.js
4.1 Introduction to NPM
4.2 The package.json File
4.3 Work with Modules/Packages
4.4 Publish a Module and Install from NPM
4.5 Popular NPM Packages
Chapter 5: Event Handling in Node.js
5.1 Events in Node.js
5.2 Normal Working of a Node.js Application
5.3 Methods and Events of EventEmitter Class
5.4 Passing arguments and ‘this’ to listeners
5.5 Asynchronous vs. Synchronous Call
5.6 Handle Events Only Once
5.7 Error Events
5.8 Other Properties and Methods
5.9 Patterns for EventEmitters
5.10 Examples of Events Module and EventEmitter Class
Chapter 6: More on Modules
6.1 Util Module
6.2 Path Module
6.3 OS Module
6.4 Readline Module
6.5 Stream Module
6.6 Buffer Module
6.7 String Decoder Module
6.8 Timers Module
6.9 Formidable Module
6.10 Zlib Module
6.11 Nodemailer Module
Chapter 7: Node.js with MySQL
7.1 Relational Database Management System (RDBMS)
7.2 MySQL with Node.js
7.3 Create Database and Tables
7.4 Insert Data using Node.js
7.5 View Data using Node.js
7.6 Pass Values during Query Execution
7.7 Ordered Result Set
7.8 Apply Limit and Offset to SELECT Records
7.9 Join Query with Node.js
7.10 Update Records
7.11 Delete Records
7.12 Drop Table
Chapter 8: Express and Node.js
8.1 Introduction to Express Framework
8.2 Express Server Request - Response
8.3 Routes
8.4 Route Parameters
8.5 Multiple Route Callback/Handler Functions
8.6 Methods of Response Object
8.7 Chaining Route Handlers
8.8 Send Static Files
8.9 Accept User Input
8.10 File Upload with Express
8.11 Manage Cookies
8.12 Send file as a Response
8.13 Templates and Express
8.14 MySQL and Express
Loading...