Instant Node.js Starter
暫譯: 即時 Node.js 入門指南
Pedro Teixeira
- 出版商: Packt Publishing
- 出版日期: 2013-05-27
- 售價: $1,020
- 貴賓價: 9.5 折 $969
- 語言: 英文
- 頁數: 48
- 裝訂: Paperback
- ISBN: 1782165568
- ISBN-13: 9781782165569
-
相關分類:
Node.js
海外代購書籍(需單獨結帳)
商品描述
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,透過這本書和電子書
概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 學習如何在應用程式中使用模組模式和 Node Packet Manager (NPM)
- 探索 Node.js 中的回呼模式
- 理解在應用程式中使用 Node.js 流
詳細內容
Node.js 是一個平台,讓你可以輕鬆地使用 JavaScript 程式設計可擴展的網路應用程式和網路服務。了解 Node.js 背後的主要概念,讓你開始使用這項令人興奮的技術。
《Instant NodeJS Starter》將從安裝和你的第一個 Hello World HTTP 伺服器開始。本書將展示如何使用 Node.js 核心模組,以及如何使用模式來創建自己的模組。它還會教你有關 NPM 的知識,以及如何使用它來安裝許多可用的第三方庫。接著,本書將解釋你需要理解的三個主要模式,以便能夠充分利用 Node.js:回呼模式、EventEmitter 和流。所有這些模式都配有實用的程式碼範例,讓你能立即使用,快速開始這項令人興奮的技術。
《Instant NodeJS Starter》從 Node.js 的安裝開始,然後展示如何創建你的第一個 Node.js HTTP 伺服器。透過展示主要的 Node.js 概念以及一些可運行的程式碼範例,到本書結束時,你將創建一組可運行的 Node.js 腳本來創建伺服器和客戶端。你將學習如何包含和使用 Node.js 核心模組,以及如何使用模式來創建自己的模組。你還將學習如何使用 NPM 選擇、安裝和使用許多可用的第三方模組在你的應用程式中。你將學習如何使用回呼模式和 EventEmitter 來控制非同步流程,以及 Node.js 流的強大功能,使你的應用程式更具可擴展性和響應性。
《Instant Node.js Starter》將向你展示 Node.js 背後的主要概念,讓你能夠自信地開始使用 JavaScript 建立可擴展的事件驅動網路應用程式。
你將從這本書中學到什麼
- 創建你的第一個 Node.js HTTP 伺服器
- 包含 Node.js 核心模組
- 使用回呼模式管理非同步流程
- 探索 EventEmitter 模式
- 創建可讀、可寫、雙工和轉換流
方法
掌握一項新技術,了解它是什麼以及它能為你做什麼,然後開始使用最重要的功能和任務。一個簡單易懂的入門方法將幫助讀者了解如何使用 Node.js 開發實時網路應用程式,並透過一個範例專案進行指導。
這本書的讀者對象
《Instant NodeJS Starter》非常適合熟悉 JavaScript 的網頁開發者,他們對 Node.js 感到好奇,並希望理解並能快速開始創建他們的第一個應用程式。本書也推薦給有網路程式設計和事件驅動程式設計經驗的人,以便能夠開始使用這項令人興奮的技術。