Node.js Design Patterns, 2/e (Paperback)

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 和可擴展性,並旨在通過為讀者提供構建企業級應用程序所需的所有必要概念來結束旅程。

您將學到什麼


  • 設計和實現一系列服務器端 JavaScript 模式,以便在不同的用例場景中了解何時以及為什麼應用它們

  • 利用所有模式,從回調到未來的 async-await 語法,以充分利用功能

  • 識別最重要的問題並應用獨特的技巧,實現更高的可擴展性和模塊化

  • 通過有條理地組織和連接模塊來解開它們的複雜性

  • 重用眾所周知的解決方案,以避免常見的設計和編碼問題

  • 探索通用 JavaScript 的新趨勢,使您可以輕鬆在瀏覽器中共享代碼,避免後端和前端代碼之間的重複

最後瀏覽商品 (1)