Node.js the Right Way: Practical, Server-Side JavaScript That Scales (Paperback) (Node.js 正確使用法:可擴展的實用伺服器端 JavaScript)

Jim Wilson

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2013-12-31
  • 售價: $880
  • 貴賓價: 9.5$836
  • 語言: 英文
  • 頁數: 148
  • 裝訂: Paperback
  • ISBN: 1937785734
  • ISBN-13: 9781937785734
  • 相關分類: JavaScriptNode.js
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

Get to the forefront of server-side JavaScript programming by writing compact, robust, fast, networked Node applications that scale. Ready to take JavaScript beyond the browser, explore dynamic languages features and embrace evented programming? Explore the fun, growing repository of Node modules provided by npm. Work with multiple protocols, load-balanced RESTful web services, express, 0MQ, Redis, CouchDB, and more. Develop production-grade Node applications fast.

JavaScript is the backbone of the modern web, powering nearly every web app's user interface. Node.js is JavaScript for the server. This book shows you how to develop small, fast, low-profile, useful, networked applications. You'll write asynchronous, non-blocking code using Node's style and patterns. You'll cluster and load balance your services with Node core features and third-party tools. You'll work with many protocols, creating RESTful web services, TCP socket clients and servers, and more.

This short book packs a hefty dose of Node.js. You'll test your code's functionality and performance under load. You'll learn important aspects of Node development--from its architecture and core, to its ecosystem of third-party modules. You'll discover how Node pairs a server-side event loop with a JavaScript runtime to produce screaming fast, non-blocking concurrency. Through a series of practical programming domains, you'll use the latest available ECMAScript Harmony features and harness key Node classes such as EventEmitter and Stream. Throughout the book, you'll develop real programs that are small, fast, low-profile, and useful.

Get ready to join a smart community that's rapidly advancing the state of the art in web development.

What You Need:

Latest stable release of Node.js, this book was written with 0.12.x in mind. The 0MQ (ZeroMQ) library, version 3.2 or higher.

商品描述(中文翻譯)

透過撰寫簡潔、堅固、快速且可擴展的網絡化 Node 應用程式,讓你成為伺服器端 JavaScript 編程的先驅。準備好將 JavaScript 帶出瀏覽器,探索動態語言的特性並擁抱事件驅動的編程嗎?透過 npm 提供的豐富 Node 模組庫,探索有趣且不斷成長的領域。與多種協議一起工作,包括負載平衡的 RESTful 網絡服務、express、0MQ、Redis、CouchDB 等等。快速開發生產級別的 Node 應用程式。

JavaScript 是現代網絡的基石,幾乎驅動著每個網絡應用程式的使用者介面。Node.js 是用於伺服器端的 JavaScript。本書將向你展示如何開發小型、快速、低調、實用且網絡化的應用程式。你將使用 Node 的風格和模式編寫非同步、非阻塞的程式碼。你將使用 Node 核心功能和第三方工具進行集群和負載平衡。你將與多種協議一起工作,創建 RESTful 網絡服務、TCP 套接字的客戶端和服務器等等。

這本短小的書籍充滿了 Node.js 的內容。你將在負載下測試你的程式碼功能和性能。你將學習 Node 開發的重要方面,從其架構和核心到第三方模組生態系統。你將發現 Node 如何將伺服器端的事件循環與 JavaScript 執行時結合,實現高效的非阻塞並發。通過一系列實用的編程領域,你將使用最新的 ECMAScript Harmony 特性並利用關鍵的 Node 類別,如 EventEmitter 和 Stream。在整本書中,你將開發出小型、快速、低調且實用的真實程式。

準備好加入一個快速推進網絡開發藝術的智慧社群了嗎?

所需工具:

最新穩定版本的 Node.js,本書是以 0.12.x 版本為基準撰寫的。0MQ(ZeroMQ)庫,版本需為 3.2 或更高。