Node.js 8 the Right Way: Practical, Server-Side JavaScript That Scales

Jim Wilson

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2018-02-13
  • 定價: $1,180
  • 售價: 9.0$1,062
  • 語言: 英文
  • 頁數: 336
  • 裝訂: Paperback
  • ISBN: 168050195X
  • ISBN-13: 9781680501957
  • 相關分類: JavaScriptNode.js
  • 立即出貨 (庫存=1)

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

商品描述

Node.js is the platform of choice for creating modern web services. This fast-paced book gets you up to speed on server-side programming with Node.js 8, as you develop real programs that are small, fast, low-profile, and useful. Take JavaScript beyond the browser, explore dynamic language features, and embrace evented programming.Harness the power of the event loop and non-blocking I/O to create highly parallel microservices and applications. This expanded and updated second edition showcases the latest ECMAScript features, current best practices, and modern development techniques.

JavaScript is the backbone of the modern web, powering nearly every web app's user interface. Node.js is JavaScript for the server. This greatly expanded second edition introduces new language features while dramatically increasing coverage of core topics. Each hands-on chapter offers progressively more challenging topics and techniques, broadening your skill set and enabling you to think in Node.js.

Write asynchronous, non-blocking code using Node.js's style and patterns. Cluster and load balance services with Node.js core features and third-party tools. Harness the power of databases such as Elasticsearch and Redis. Work with many protocols, create RESTful web services, TCP socket clients and servers, and more. Test your code's functionality with Mocha, and manage its life cycle with npm. Discover how Node.js pairs a server-side event loop with a JavaScript runtime to produce screaming fast, non-blocking concurrency. Through a series of practical programming domains, use the latest available ECMAScript features and harness key Node.js classes and popular modules. Create rich command-line tools and a web-based UI using modern web development techniques.

Join the smart and diverse community that's rapidly advancing the state of the art in JavaScript development.

What You Need:

  • Node.js 8.x
  • Operating system with bash-like shell
  • OMQ (pronounced "Zero-M-Q") library, version 3.2 or higher
  • Elasticsearch version 5.0 or higher
  • jq version 1.5 or higher
  • Redis version 3.2 or higher
  • 商品描述(中文翻譯)

    Node.js是創建現代網絡服務的首選平台。這本節奏快的書將帶您快速掌握使用Node.js 8進行服務端編程,並開發出小型、快速、低調且實用的真實程序。將JavaScript帶出瀏覽器,探索動態語言特性,並擁抱事件驅動編程。利用事件循環和非阻塞I/O的威力,創建高度並行的微服務和應用程序。這本擴展和更新的第二版展示了最新的ECMAScript特性、當前的最佳實踐和現代開發技術。

    JavaScript是現代網絡的基礎,為幾乎每個網絡應用程序的用戶界面提供動力。Node.js則是用於服務器端的JavaScript。這本大幅擴展的第二版引入了新的語言特性,同時大幅增加了核心主題的涵蓋範圍。每個實踐性的章節都提供了越來越具挑戰性的主題和技術,擴展您的技能集,使您能夠以Node.js的思維方式進行思考。

    使用Node.js的風格和模式編寫異步、非阻塞的代碼。使用Node.js的核心功能和第三方工具進行集群和負載平衡服務。利用Elasticsearch和Redis等數據庫的威力。使用多種協議創建RESTful網絡服務、TCP套接字客戶端和服務器等。使用Mocha測試代碼的功能性,並使用npm管理其生命周期。了解Node.js如何將服務器端事件循環與JavaScript運行時結合,以實現高速、非阻塞的並發。通過一系列實用的編程領域,使用最新的ECMAScript特性和關鍵的Node.js類和流行模塊。使用現代網絡開發技術創建豐富的命令行工具和基於Web的用戶界面。

    加入這個快速推進JavaScript開發藝術的聰明多樣的社區。

    您需要以下工具:
    - Node.js 8.x
    - 具有類似bash的shell的操作系統
    - OMQ(發音為“Zero-M-Q”)庫,版本3.2或更高
    - Elasticsearch版本5.0或更高
    - jq版本1.5或更高
    - Redis版本3.2或更高