Node.js Design Patterns, 2/e (Paperback)
暫譯: Node.js 設計模式(第二版)

Mario Casciaro, Luciano Mammino

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

相關主題

商品描述

Key Features

  • Create reusable patterns and modules by leveraging the new features of Node.js
  • This unique guide will help you get the most out of Node.js by providing a series of patterns and techniques of the Node.JS ecosystem
  • Illustrative examples will help you get a clear practical understanding.

Book Description

Node.js is a massively popular software platform that lets you use JavaScript to easily create scalable server-side applications. It allows you to create efficient code, enabling a more sustainable way of writing software made of only one language across the full stack, along with extreme levels of reusability, pragmatism, simplicity, and collaboration. Node.js is revolutionizing the web and the way people and companies create their software.

In this book, we will take you on a journey across various ideas and components, and the challenges you would commonly encounter while designing and developing software using the Node.js platform. You will also discover the "Node.js way" of dealing with design and coding decisions.

The book kicks off by exploring the basics of Node.js describing it's asynchronous single-threaded architecture and the main design patterns. It then shows you how to master the asynchronous control flow patterns, the stream library and it culminates into a detailed list of Node.js implementations of the most common design patterns as well as some specific design patterns that are exclusive to the Node.js world. Lastly, it dives into more advanced concepts like modules, Universal Javascript and scalability and it's meant to conclude the journey by giving the reader all the necessary concepts to be able to build an enterprise grade application using Node.js.

What you will learn

  • Design and implement a series of server-side JavaScript patterns so you understand why and when to apply them in different use case scenarios
  • Leverage all the patterns that allow you to take advantage of features from callbacks to the futuristic async-await syntax.
  • Identify the most important concerns and apply unique tricks to achieve higher scalability and modularity in your Node.js application
  • Untangle your modules by organizing and connecting them coherently
  • Reuse well-known solutions to circumvent common design and coding issues
  • Explore the new trend of Universal JavaScript that allows you to easily share code with the browser, avoiding duplication between back-end and front-end code

商品描述(中文翻譯)

**主要特點**

- 利用 Node.js 的新功能創建可重用的模式和模組
- 這本獨特的指南將幫助您充分利用 Node.js,提供一系列 Node.js 生態系統的模式和技術
- 具體的範例將幫助您獲得清晰的實踐理解

**書籍描述**

Node.js 是一個極受歡迎的軟體平台,讓您可以使用 JavaScript 輕鬆創建可擴展的伺服器端應用程式。它允許您創建高效的程式碼,實現全堆疊中僅使用一種語言編寫軟體的更可持續方式,並具備極高的可重用性、務實性、簡單性和協作性。Node.js 正在革新網路以及人們和公司創建軟體的方式。

在這本書中,我們將帶您探索各種想法和組件,以及在使用 Node.js 平台設計和開發軟體時常見的挑戰。您還將發現「Node.js 的方式」來處理設計和編碼決策。

本書首先探討 Node.js 的基礎,描述其非同步單執行緒架構和主要設計模式。接著,將向您展示如何掌握非同步控制流程模式、流庫,並最終列出 Node.js 中最常見設計模式的詳細實現,以及一些專屬於 Node.js 世界的特定設計模式。最後,將深入探討更高級的概念,如模組、通用 JavaScript 和可擴展性,並旨在通過提供所有必要的概念來結束這段旅程,使讀者能夠使用 Node.js 構建企業級應用程式。

**您將學到的內容**

- 設計和實現一系列伺服器端 JavaScript 模式,以便您理解在不同使用案例場景中為何及何時應用它們
- 利用所有模式,充分利用從回呼到未來主義的 async-await 語法的功能
- 確定最重要的關注點,並應用獨特的技巧以實現更高的可擴展性和模組化
- 通過有條理地組織和連接模組來理清您的模組
- 重用知名解決方案以繞過常見的設計和編碼問題
- 探索通用 JavaScript 的新趨勢,讓您能夠輕鬆與瀏覽器共享程式碼,避免後端和前端程式碼之間的重複