Practical Node.js: Building Real-World Scalable Web Apps (Paperback)

Azat Mardan

  • 出版商: Apress
  • 出版日期: 2014-07-11
  • 售價: $2,210
  • 貴賓價: 9.5$2,100
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1430265957
  • ISBN-13: 9781430265955
  • 相關分類: Node.jsJVM 語言
  • 無法訂購

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

相關主題

商品描述

Practical Node.js is your step-by-step guide to learning how to build a wide range of scalable real-world web applications using a professional development toolkit. Node.js is an innovative and highly efficient platform for creating web services. But Node.js doesn't live in a vacuum! In a modern web development, many different components need to be put together — routing, database driver, ORM, session management, OAuth, HTML template engine, CSS compiler and many more.

 

If you already know the basics of Node.js, now is the time to discover how to bring it to production level by leveraging its vast ecosystem of packages. As a web developer, you'll work with a varied collection of standards and frameworks - Practical Node.js shows you how all those pieces fit together.

 

Practical Node.js takes you from installing all the necessary modules to writing full-stack web applications by harnessing the power of the Express.js and Hapi frameworks, the MongoDB database with Mongoskin and Mongoose, Jade and Handlebars template engines, Stylus and LESS CSS languages, OAuth and Everyauth libraries, and the Socket.IO and Derby libraries, and everything in between. The book also covers how to deploy to Heroku and AWS, daemonize apps, and write REST APIs. You'll build full-stack real-world Node.js apps from scratch, and also discover how to write your own Node.js modules and publish them on NPM. You already know what Node.js is; now learn what you can do with it and how far you can take it!

What you’ll learn

  • Manipulate data from the mongo console
  • Use the Mongoskin and Mongoose MongoDB libraries
  • Build REST API servers with Express and Hapi
  • Deploy apps to Heroku and AWS
  • Test services with Mocha, Expect and TravisCI
  • Utilize sessions for authentication
  • Implement a third-party OAuth strategy with Everyauth
  • Apply Redis, domains, WebSockets, and clusters
  • Write your own Node.js module, and publish it on NPM

Who this book is for

Practical Node.js is for web developers who have some familiarity with the basics of Node.js and want to learn how to use it to build apps in a professional environment.

Table of Contents

  1. Setting Up Node.js and Other Essentials
  2. Using Express.js to Create Rapid Node.js Web Apps
  3. TDD and BDD for Node.js with Mocha
  4. Template Engines: Jade and Handlebars 
  5. Persistence with MongoDB and Mongoskin 
  6. Using Sessions and OAuth to Authorize and Authenticate Users in Node.js Apps
  7. Boosting Your Node.js Data with the Mongoose ORM Library
  8. Building a Node.js REST API Server App
  9. Realtime Apps with WebSockets, Socket.IO, and Derby JS
  10. Getting Node.js Apps Production Ready
  11. Deploying Node.js Apps
  12. Publishing a Node.js Module and Contributing Back to the Project

商品描述(中文翻譯)

《實用 Node.js》是一本逐步指南,教你如何使用專業的開發工具包來建立各種可擴展的真實世界網絡應用程式。Node.js 是一個創新且高效的平台,用於創建網絡服務。但是,Node.js 不是獨立存在的!在現代網絡開發中,需要將許多不同的組件結合在一起,包括路由、數據庫驅動程序、ORM、會話管理、OAuth、HTML 模板引擎、CSS 編譯器等等。

如果你已經了解 Node.js 的基礎知識,現在是時候通過利用其龐大的生態系統來將其提升到生產級別。作為一名網絡開發人員,你將使用各種標準和框架 - 《實用 Node.js》向你展示了所有這些組件如何結合在一起。

《實用 Node.js》從安裝所有必要的模塊開始,通過利用 Express.js 和 Hapi 框架、Mongoskin 和 Mongoose 的 MongoDB 數據庫、Jade 和 Handlebars 模板引擎、Stylus 和 LESS CSS 語言、OAuth 和 Everyauth 库,以及 Socket.IO 和 Derby 库等等,教你如何編寫全棧真實世界的 Node.js 應用程式。本書還介紹了如何部署到 Heroku 和 AWS、守護應用程式,以及編寫 REST API。你將從頭開始構建全棧真實世界的 Node.js 應用程式,並了解如何編寫自己的 Node.js 模塊並在 NPM 上發布。你已經知道 Node.js 是什麼;現在學習你可以用它做什麼,以及你可以走多遠!

你將學到什麼:
- 在 mongo 控制台中操作數據
- 使用 Mongoskin 和 Mongoose MongoDB 库
- 使用 Express 和 Hapi 構建 REST API 服務器
- 將應用部署到 Heroku 和 AWS
- 使用 Mocha、Expect 和 TravisCI 測試服務
- 使用會話進行身份驗證
- 使用 Everyauth 實現第三方 OAuth 策略
- 應用 Redis、domains、WebSockets 和 clusters
- 編寫自己的 Node.js 模塊,並在 NPM 上發布

本書適合具有一定 Node.js 基礎知識的網絡開發人員,希望學習如何使用 Node.js 構建應用程式的人。