Learning Node.js: A Hands-On Guide to Building Web Applications in JavaScript, 2/e (Paperback)

Marc Wandschneider

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

商品描述

Learning Node.js brings together the knowledge and JavaScript code needed to build master the Node.js platform and build server-side applications with extraordinary speed and scalability.

 

You’ll start by installing and running Node.js, understanding the extensions it uses, and quickly writing your first app. Next, building on the basics, you’ll write more capable application servers and extend them with today’s most powerful Node.js tools and modules. Finally, you’ll discover today’s best practices for testing, running Node.js code on production servers, and writing command-line utilities.

 

Throughout the book, author Marc Wandschneider teaches by walking the reader line-by-line through carefully crafted examples, demonstrating proven techniques for creating highly efficient applications and servers.

 

The second edition updates coverage of Node.js to reflect changes in the technology and how it is used in the three years since the first edition was published:

 

  •  Explanation of Node's new versioning scheme
  •  Updated coverage of Streams
  •  New coverage of installation using pre-build installers rather than from source code
  •  New coverage of Mongoose in the section on MongoDB
  •  New information about deploying Node on Heroku and Azure
  •  Expansion of coverage on testing

 

If you're a developer who wants to build server-side web applications with Node.js, Learning Node.js is your fatest route to success.

  • Build Node.js solutions that leverage current JavaScript skills 
  • Master Node.js nonblocking IO and async programming
  • Handle more requests and increase an application’s flexibility
  • Use and write modules
  • Perform common JSON/web server tasks
  • Use browsers to generate pages on the fly via Ajax calls and template libraries
  • Simplify development with the Express framework
  • Create database back-ends using popular NoSQL and relational databases
  • Deploy and run Node.js apps on Unix/macOS or Windows servers
  • Deploy apps to Heroku and Microsoft Azure
  • Support virtual hosts and SSL/HTTPS security
  • Test Node.js programs that mix synchronous, async, and RESTful server API functionality

商品描述(中文翻譯)

《學習 Node.js》匯集了構建 Node.js 平台並以非凡的速度和可擴展性構建服務器端應用程序所需的知識和 JavaScript 代碼。

您將從安裝和運行 Node.js 開始,了解其使用的擴展,並快速編寫您的第一個應用程序。接下來,基於基礎知識,您將編寫更強大的應用程序服務器並使用當今最強大的 Node.js 工具和模塊進行擴展。最後,您將了解測試的最佳實踐、在生產服務器上運行 Node.js 代碼以及編寫命令行工具。

在整本書中,作者 Marc Wandschneider 通過逐行解讀精心製作的示例來教授知識,展示了創建高效應用程序和服務器的成熟技術。

第二版更新了對 Node.js 的覆蓋範圍,以反映自第一版出版以來三年來技術的變化和使用方式:

- Node 的新版本說明
- 更新的 Streams 覆蓋範圍
- 使用預建安裝程序而不是源代碼進行安裝的新覆蓋範圍
- 在 MongoDB 部分新增了對 Mongoose 的覆蓋範圍
- 關於在 Heroku 和 Azure 上部署 Node 的新信息
- 測試範圍的擴展

如果您是一位希望使用 Node.js 構建服務器端 Web 應用程序的開發人員,《學習 Node.js》是您成功的最快捷途徑。

- 利用當前的 JavaScript 技能構建 Node.js 解決方案
- 掌握 Node.js 的非阻塞 IO 和異步編程
- 處理更多請求並增加應用程序的靈活性
- 使用和編寫模塊
- 執行常見的 JSON/網絡服務器任務
- 通過 Ajax 調用和模板庫使用瀏覽器動態生成頁面
- 使用 Express 框架簡化開發
- 使用流行的 NoSQL 和關聯數據庫創建數據庫後端
- 在 Unix/macOS 或 Windows 服務器上部署和運行 Node.js 應用程序
- 將應用程序部署到 Heroku 和 Microsoft Azure
- 支持虛擬主機和 SSL/HTTPS 安全性
- 測試混合同步、異步和 RESTful 服務器 API 功能的 Node.js 程序