Node.js Cookbook - Fifth Edition: Practical recipes for building server-side web applications with Node.js 22
Griggs, Bethany, Spigolon, Manuel
- 出版商: Packt Publishing
- 出版日期: 2024-11-15
- 售價: $1,680
- 貴賓價: 9.5 折 $1,596
- 語言: 英文
- 頁數: 456
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1804619817
- ISBN-13: 9781804619810
-
相關分類:
Node.js
海外代購書籍(需單獨結帳)
相關主題
商品描述
Master Node.js 22 through expert-led recipes in async programming, app development, Fastify, modules, testing, debugging, and optimization
Key Features:
- Explore the latest Node.js 22 features to stay at the forefront of modern development
- Learn to build, debug, and deploy Node.js applications flawlessly
- Gain expertise in Fastify Web Framework, Node.js module creation, and advanced testing techniques
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
Node.js is a game-changing technology for building modern web applications and tooling, bringing the power of JavaScript to the server and enabling full-stack development in a unified language. This updated edition of this Node.js cookbook, featuring Node.js 22, equips you with the latest advancements and enhancements in the Node.js framework ecosystem.
From Bethany Griggs, who has served on the Node.js Technical Steering Committee and participated in the Node.js Release Working Group, and Manuel Spigolon, a core maintainer of Fastify, comes this fifth edition of the Node.js Cookbook to help you master Node.js 22. This book guides you step by step through crafting reusable code with Node.js modules, streamlining development using the Fastify web framework, and implementing data persistence in databases and rigorous testing practices for robust applications. You'll address security concerns, optimize performance with worker threads, deploy Node.js microservices using containerization and orchestration, and tackle troubleshooting with effective debugging strategies.
Packed with real-world examples, this guide empowers you to harness Node.js 22's full potential for creating secure, performant, and dynamic applications.
What You Will Learn:
- Grasp Node.js' async/sync programming to optimize code execution
- Build your coding skills from scratch by creating basic Node.js apps
- Debug and troubleshoot Node.js apps proficiently, ensuring smooth functionality
- Deploy apps confidently to production, reaching a wider user base
- Harness Fastify for web development to craft efficient frameworks
- Develop Node.js modules and enhance code reusability and project structure
Who this book is for:
If you have basic knowledge of JavaScript or another programming language and want to build a solid understanding of Node.js, this book is for you. It provides the foundational knowledge you need to navigate the Node.js and npm ecosystem and start building applications. For readers with some Node.js experience, it offers the opportunity to deepen and expand their skills, while beginners can use practical recipes to quickly acquire a strong foundation in Node.js concepts and features.
Table of Contents
- Introducing Node.js 22
- Interacting with the File System
- Working with Streams
- Using Web Protocols
- Developing Node.js Modules
- Working with Fastify - The Web Framework
- Persisting to Databases
- Testing with Node.js
- Dealing with Security
- Optimizing Performance
- Deploying Node.js Microservices
- Debugging Node.js
商品描述(中文翻譯)
**精通 Node.js 22:透過專家主導的非同步程式設計、應用程式開發、Fastify、模組、測試、除錯和優化食譜**
**主要特色:**
- 探索最新的 Node.js 22 功能,保持在現代開發的最前沿
- 學習如何無縫地構建、除錯和部署 Node.js 應用程式
- 獲得 Fastify Web Framework、Node.js 模組創建和高級測試技術的專業知識
- 購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書
**書籍描述:**
Node.js 是一項改變遊戲規則的技術,用於構建現代網頁應用程式和工具,將 JavaScript 的力量帶入伺服器,並實現統一語言的全棧開發。本書是 Node.js 食譜的更新版,涵蓋 Node.js 22,為您提供 Node.js 框架生態系統中的最新進展和增強功能。
本書由曾任 Node.js 技術指導委員會成員並參與 Node.js 發布工作組的 Bethany Griggs 和 Fastify 的核心維護者 Manuel Spigolon 共同編寫,旨在幫助您精通 Node.js 22。本書逐步指導您使用 Node.js 模組創建可重用的代碼,利用 Fastify 網頁框架簡化開發,並在數據庫中實現數據持久性及嚴謹的測試實踐,以構建穩健的應用程式。您將解決安全問題,使用工作執行緒優化性能,通過容器化和編排部署 Node.js 微服務,並運用有效的除錯策略解決故障。
本指南充滿了現實世界的範例,幫助您充分發揮 Node.js 22 的潛力,創建安全、高效和動態的應用程式。
**您將學到的內容:**
- 理解 Node.js 的非同步/同步程式設計,以優化代碼執行
- 從零開始建立編碼技能,創建基本的 Node.js 應用程式
- 熟練地除錯和排除 Node.js 應用程式的故障,確保功能順暢
- 自信地將應用程式部署到生產環境,觸及更廣泛的用戶群
- 利用 Fastify 進行網頁開發,打造高效的框架
- 開發 Node.js 模組,增強代碼的可重用性和專案結構
**本書適合誰:**
如果您對 JavaScript 或其他程式語言有基本了解,並希望建立對 Node.js 的扎實理解,本書適合您。它提供了您導航 Node.js 和 npm 生態系統所需的基礎知識,並開始構建應用程式。對於有一定 Node.js 經驗的讀者,本書提供了深化和擴展技能的機會,而初學者則可以通過實用的食譜快速獲得 Node.js 概念和特性的堅實基礎。
**目錄:**
- 介紹 Node.js 22
- 與檔案系統互動
- 使用串流
- 使用網路協議
- 開發 Node.js 模組
- 使用 Fastify - 網頁框架
- 數據持久化
- 使用 Node.js 測試
- 處理安全性
- 優化性能
- 部署 Node.js 微服務
- 除錯 Node.js