Instant Node.js Starter

Pedro Teixeira

  • 出版商: Packt Publishing
  • 出版日期: 2013-05-27
  • 售價: $990
  • 貴賓價: 9.5$941
  • 語言: 英文
  • 頁數: 48
  • 裝訂: Paperback
  • ISBN: 1782165568
  • ISBN-13: 9781782165569
  • 相關分類: Node.js
  • 下單後立即進貨 (約3~4週)

相關主題

商品描述

Program your scalable network applications and web services with Node.js with this book and ebook

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Learn how to use module patterns and Node Packet Manager (NPM) in your applications
  • Discover callback patterns in NodeJS
  • Understand the use Node.js streams in your applications

In Detail

Node.js is a platform that lets you use JavaScript to easily program scalable network applications and web services. Learn about the main concepts behind Node.js to get you started with this exciting technology.

Instant NodeJS Starter will begin with installation and your first Hello World HTTP server. This book will show you how you can use Node.js core modules and also how you can use patterns to create your own modules. It will also teach you about NPM and how you can use it to install any of the many available third-party libraries. The book then goes on to explain the three main patterns you need to understand to be able to fully use Node.js: the callback pattern, EventEmitter, and streams. All these patterns are presented with practical code examples that you can use immediately, getting you started quickly on this exciting technology.

Instant NodeJS Starter starts with the installation of Node.js and then shows you how to create your first Node.js HTTP server. By showing you the main Node.js concepts together with some working code samples, by the end of the book you will have created a set of working Node.js scripts to create servers and clients.You will learn how you can include and use Node.js core modules, and how you can use patterns to create your own modules. You will also learn how you can use NPM to pick, install, and use any of the many available third-party modules in your applications. You will learn how you can use the callback pattern and EventEmitter to control the asynchronous flow and the power of Node.js streams to make your application more scalable and responsive.

Instant Node.js Starter will show you the main concepts behind Node.js so that you feel comfortable to start building your scalable, event-driven network applications using JavaScript.

What you will learn from this book

  • Create your first Node.js HTTP server
  • Include Node.js core modules
  • Manage asynchronous flow using callback patterns
  • Explore EventEmitter patterns
  • Create Readable, Writable, Duplex, and Transform streams

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. A simple and easy-to-follow starter approach will help guide the readers through how to develop a real-time web application using Node.js with the help of a sample project.

Who this book is written for

Instant NodeJS Starter is great for web developers who know JavaScript and are curious about Node.js and want to understand and be able to quickly start creating their first applications on it. This book is also recommended for people with experience in network programming and event-driven programming to be able to get started using this exciting technology.

商品描述(中文翻譯)

使用Node.js來編寫可擴展的網絡應用程序和Web服務。這本書和電子書將幫助您學習如何使用Node.js。

概述:
- 快速、簡潔的指南,提供即時結果
- 學習如何在應用程序中使用模塊模式和Node Packet Manager(NPM)
- 探索Node.js中的回調模式
- 瞭解如何在應用程序中使用Node.js流

詳細內容:
Node.js是一個平台,讓您可以使用JavaScript輕鬆編寫可擴展的網絡應用程序和Web服務。了解Node.js背後的主要概念,讓您開始使用這個令人興奮的技術。

《即時Node.js入門》將從安裝和第一個Hello World HTTP服務器開始。本書將向您展示如何使用Node.js核心模塊,以及如何使用模式創建自己的模塊。它還將教您使用NPM安裝許多可用的第三方庫。然後,本書將解釋您需要瞭解的三個主要模式,以便能夠充分使用Node.js:回調模式、EventEmitter和流。所有這些模式都附有實用的代碼示例,您可以立即使用,快速入門這個令人興奮的技術。

《即時Node.js入門》從安裝Node.js開始,然後向您展示如何創建第一個Node.js HTTP服務器。通過展示主要的Node.js概念以及一些工作代碼示例,到本書結束時,您將創建一組可用於創建服務器和客戶端的Node.js腳本。您將學習如何包含和使用Node.js核心模塊,以及如何使用模式創建自己的模塊。您還將學習如何使用NPM在應用程序中選擇、安裝和使用許多可用的第三方模塊。您將學習如何使用回調模式和EventEmitter來控制異步流程,以及使用Node.js流使應用程序更具擴展性和響應性。

《即時Node.js入門》將向您展示Node.js背後的主要概念,讓您能夠舒適地開始使用JavaScript來構建可擴展的事件驅動網絡應用程序。

本書將教您以下內容:
- 創建第一個Node.js HTTP服務器
- 包含Node.js核心模塊
- 使用回調模式管理異步流程
- 探索EventEmitter模式
- 創建可讀、可寫、雙工和轉換流

方法:
通過瞭解一項新技術,瞭解它是什麼以及它對您有什麼作用,然後開始使用最重要的功能和任務。簡單易懂的入門方法將幫助讀者通過一個示例項目,使用Node.js開發實時Web應用程序。

本書適合以下讀者:
- 熟悉JavaScript並對Node.js感興趣的Web開發人員,希望瞭解並能夠快速開始在Node.js上創建他們的第一個應用程序。
- 推薦給有網絡編程和事件驅動編程經驗的人,以便能夠開始使用這個令人興奮的技術。