Node.js Essentials (Paperback)

Fabian Cook

  • 出版商: Packt Publishing
  • 出版日期: 2015-11-05
  • 售價: $1,170
  • 貴賓價: 9.5$1,112
  • 語言: 英文
  • 頁數: 118
  • 裝訂: Paperback
  • ISBN: 1785284924
  • ISBN-13: 9781785284922
  • 相關分類: Node.js
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

From client to server, learn how Node.js can help you use JavaScript more effectively to develop faster and more scalable applications with ease

About This Book

  • Discover how Node.js can transform the way you develop both the front and back ends - offering a much more modern and integrated form of web development
  • Create, debug, and test a complete full-stack application using Node.js and other powerful tools
  • From creating a server from scratch to unit testing code, learn how Node.js extends the possibilities of JavaScript development

Who This Book Is For

If you want to expand your capabilities as a developer this book is for you. Covering everything you need to use Node.js effectively, you will soon be able to handle JavaScript in a much more fully-realised way.

What You Will Learn

  • Create and use an HTTP server using Express.js
  • Configure environmental variables, arguments, and config files
  • Use a Key/Value NoSQL database with Node to store data
  • Create a client-side application using Node and Node.Webkit
  • Debug applications using Node.Inspector
  • Create a library that can be used in more than one project
  • Install packages from NPM

In Detail

Node.js is simply a tool that lets you useJavaScript on the server side. But it actually does much more than that – by extending JavaScript it allows for a much more integrated and efficient approach to development. It's no surprise that it's a fundamental tool for full-stack JavaScript developers. Whether your working on the back end or front end – by using Node.js you're adopting a much more collaborative and agile way of working – so you and your team can focus on delivering a quality end product. This will ensure you're ready to take on any new challenges that get thrown at you.

NodeJS Essentials takes you through the fundamentals of Node.JS and demonstrates how Node.js can transform the way you work with JavaScript and take greater control over your code.

You will also learn how to create a HTTP server from scratch, route requests, create a RESTful interface, and authenticate users. You will also learn to debug applications using Node.Inspector and the importance of logging, as well as creating a reusable library.Finally, you'll find out how to test and optimizr your code when working with Node.js using the Mocha framework. Follow each step and discover how to test both synchronous and asynchronous code using Mocha unit tests.

With Node.js Essentials you'll find everything you need to create a complete full-stack application with Node.js. It will help you harness JavaScript much more effectively – and in doing so expand your confidence and capabilities as a developer.

Style and approach

This concise guide will help you get up and running with Node.js. Packed with easy to followexamples, you'll be be able to build a complete full-stack application utilizing Node's capabilities.

商品描述(中文翻譯)

從客戶端到伺服器端,學習如何使用Node.js更有效地使用JavaScript,輕鬆開發更快速和可擴展的應用程式。

關於本書
- 發現Node.js如何改變您開發前端和後端的方式,提供更現代和整合的網頁開發形式。
- 使用Node.js和其他強大工具創建、調試和測試完整的全端應用程式。
- 從從頭開始創建伺服器到單元測試程式碼,學習Node.js如何擴展JavaScript開發的可能性。

適合閱讀對象
- 如果您想擴展作為開發人員的能力,本書適合您。涵蓋了您使用Node.js所需的一切,您很快就能以更完整的方式處理JavaScript。

您將學到什麼
- 使用Express.js創建和使用HTTP伺服器。
- 配置環境變數、參數和配置文件。
- 使用Node和Node.Webkit創建客戶端應用程式。
- 使用Node.Inspector調試應用程式。
- 創建可在多個專案中使用的函式庫。
- 從NPM安裝套件。

詳細內容
Node.js只是一個讓您在伺服器端使用JavaScript的工具。但它實際上做得更多 - 通過擴展JavaScript,它允許更整合和高效的開發方式。這對於全端JavaScript開發人員來說並不意外。無論您是在後端還是前端工作 - 通過使用Node.js,您正在採用一種更協作和敏捷的工作方式 - 這樣您和您的團隊可以專注於交付優質的最終產品。這將確保您準備好應對任何新的挑戰。

《NodeJS Essentials》帶您了解Node.JS的基礎知識,並演示Node.js如何改變您使用JavaScript的方式,並更好地掌握代碼控制。

您還將學習如何從頭開始創建HTTP伺服器,路由請求,創建RESTful介面和驗證使用者。您還將學習使用Node.Inspector調試應用程式的方法,以及日誌記錄的重要性,以及創建可重複使用的函式庫。最後,您將了解在使用Node.js時如何使用Mocha框架測試和優化代碼。按照每個步驟,發現如何使用Mocha單元測試測試同步和非同步代碼。

使用《Node.js Essentials》,您將找到創建具有Node.js的完整全端應用程式所需的一切。它將幫助您更有效地利用JavaScript - 從而擴展您作為開發人員的信心和能力。

風格和方法
這本簡潔的指南將幫助您快速上手Node.js。充滿易於理解的示例,您將能夠利用Node的功能構建完整的全端應用程式。