Node.js Web Development : Server-side web development made easy with Node 14 using practical examples, 5/e (Paperback)
暫譯: Node.js 網頁開發:使用 Node 14 透過實用範例輕鬆進行伺服器端網頁開發,第 5 版 (平裝本)

Herron, David

  • 出版商: Packt Publishing
  • 出版日期: 2020-07-31
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 760
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1838987576
  • ISBN-13: 9781838987572
  • 相關分類: Node.js
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Key Features

  • Learn backend web programming with the JavaScript stack
  • Explore best practices, right from configuring and building web servers to deploying them on a production cloud hosting system: AWS using Docker and Terraform
  • Work through the different stages of developing robust and scalable apps using Node.js 14

Book Description

Node.js is the leading choice of server-side web development platform, enabling developers to use the same tools and paradigms for both server-side and client-side software. This updated fifth edition of Node.js Web Development focuses on the new features of Node.js 14, Express 4.x, and ECMAScript, taking you through modern concepts, techniques, and best practices for using Node.js.

The book starts by helping you get to grips with the concepts of building server-side web apps with Node.js. You'll learn how to develop a complete Node.js web app, with a backend database tier to help you explore several databases. You'll deploy the app to real web servers, including a cloud hosting platform built on AWS EC2 using Terraform and Docker Swarm, while integrating other tools such as Redis and NGINX. As you advance, you'll learn about unit and functional testing, along with deploying test infrastructure using Docker. Finally, you'll discover how to harden Node.js app security, use Let's Encrypt to provision the HTTPS service, and implement several forms of app security with the help of expert practices. With each chapter, the book will help you put your knowledge into practice throughout the entire life cycle of developing a web app.

By the end of this Node.js book, you'll have gained practical Node.js web development knowledge and be able to build and deploy your own apps on a public web hosting solution.

What you will learn

  • Install and use Node.js 14 and Express 4.17 for both web development and deployment
  • Implement RESTful web services using the Restify framework
  • Develop, test, and deploy microservices using Docker, Docker Swarm, and Node.js, on AWS EC2 using Terraform
  • Get up to speed with using data storage engines such as MySQL, SQLite3, and MongoDB
  • Test your web applications using unit testing with Mocha, and headless browser testing with Puppeteer
  • Implement HTTPS using Let's Encrypt and enhance application security with Helmet

Who this book is for

If you're looking for an alternative to the �P' languages (Perl, PHP, and Python), or if you want to get started with server-side web development with JavaScript programming, or if you want a deep dive into deploying services to cloud hosting, this Node.js book is for you. A rudimentary understanding of JavaScript and web application development is a must before you get started with this book.

商品描述(中文翻譯)

#### 主要特點

- 學習使用 JavaScript 技術棧進行後端網頁程式設計
- 探索最佳實踐,從配置和構建網頁伺服器到在生產雲端托管系統(AWS)上部署它們,使用 Docker 和 Terraform
- 逐步了解使用 Node.js 14 開發穩健且可擴展應用程式的不同階段

#### 書籍描述

Node.js 是伺服器端網頁開發平台的首選,使開發人員能夠在伺服器端和客戶端軟體中使用相同的工具和範式。本書的更新第五版《Node.js 網頁開發》專注於 Node.js 14、Express 4.x 和 ECMAScript 的新特性,帶您了解使用 Node.js 的現代概念、技術和最佳實踐。

本書首先幫助您掌握使用 Node.js 構建伺服器端網頁應用程式的概念。您將學習如何開發完整的 Node.js 網頁應用程式,並設置後端資料庫層以幫助您探索多個資料庫。您將把應用程式部署到實際的網頁伺服器上,包括基於 AWS EC2 的雲端托管平台,使用 Terraform 和 Docker Swarm,同時整合其他工具,如 Redis 和 NGINX。隨著進展,您將學習單元測試和功能測試,以及使用 Docker 部署測試基礎設施。最後,您將發現如何加強 Node.js 應用程式的安全性,使用 Let's Encrypt 配置 HTTPS 服務,並在專家實踐的幫助下實施多種應用程式安全性。每一章都將幫助您在開發網頁應用程式的整個生命週期中將知識付諸實踐。

到本書結束時,您將獲得實用的 Node.js 網頁開發知識,並能夠在公共網頁托管解決方案上構建和部署自己的應用程式。

#### 您將學到什麼

- 安裝並使用 Node.js 14 和 Express 4.17 進行網頁開發和部署
- 使用 Restify 框架實現 RESTful 網路服務
- 使用 Docker、Docker Swarm 和 Node.js 在 AWS EC2 上開發、測試和部署微服務,並使用 Terraform
- 熟悉使用 MySQL、SQLite3 和 MongoDB 等資料儲存引擎
- 使用 Mocha 進行單元測試,並使用 Puppeteer 進行無頭瀏覽器測試來測試您的網頁應用程式
- 使用 Let's Encrypt 實現 HTTPS,並使用 Helmet 增強應用程式安全性

#### 本書適合誰

如果您正在尋找 Perl、PHP 和 Python 以外的替代語言,或者如果您想開始使用 JavaScript 程式設計進行伺服器端網頁開發,或者如果您想深入了解將服務部署到雲端托管的過程,那麼這本 Node.js 書籍適合您。在開始閱讀本書之前,對 JavaScript 和網頁應用程式開發有基本的理解是必須的。

目錄大綱

Table of Contents

  1. About Node.js
  2. Setting Up Node.js
  3. Exploring Node.js Modules
  4. HTTP Servers and Clients
  5. Your First Express Application
  6. Implementing the Mobile-First Paradigm
  7. Data Storage and Retrieval
  8. Authenticating Users with a Microservice
  9. Dynamic Client/Server Interaction with Socket.IO
  10. Deploying Node.js Applications to Linux Servers
  11. Deploying Node.js microservices with Docker
  12. Deploying a Docker Swarm to AWS EC2 with Terraform
  13. Unit Testing and Functional Testing
  14. Security in Node.js Applications

目錄大綱(中文翻譯)

Table of Contents


  1. About Node.js

  2. Setting Up Node.js

  3. Exploring Node.js Modules

  4. HTTP Servers and Clients

  5. Your First Express Application

  6. Implementing the Mobile-First Paradigm

  7. Data Storage and Retrieval

  8. Authenticating Users with a Microservice

  9. Dynamic Client/Server Interaction with Socket.IO

  10. Deploying Node.js Applications to Linux Servers

  11. Deploying Node.js microservices with Docker

  12. Deploying a Docker Swarm to AWS EC2 with Terraform

  13. Unit Testing and Functional Testing

  14. Security in Node.js Applications