Express in Action: Writing, building, and testing Node.js applications (Paperback)

Evan Hahn

  • 出版商: Manning
  • 出版日期: 2016-04-30
  • 定價: $1,398
  • 售價: 9.5$1,328
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1617292427
  • ISBN-13: 9781617292422
  • 相關分類: Node.js
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Summary

Express in Action is a carefully designed tutorial that teaches you how to build web applications using Node and Express.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Express.js is a web application framework for Node.js. Express organizes your server-side JavaScript into testable, maintainable modules. It provides a powerful set of features to efficiently manage routes, requests, and views along with beautiful boilerplate for your web applications. Express helps you concentrate on what your application does instead of managing time-consuming technical details.

About the Book

Express in Action teaches you how to build web applications using Node and Express. It starts by introducing Node's powerful traits and shows you how they map to the features of Express. You'll explore key development techniques, meet the rich ecosystem of companion tools and libraries, and get a glimpse into its inner workings. By the end of the book, you'll be able to use Express to build a Node app and know how to test it, hook it up to a database, and automate the dev process.

What's Inside

  • Simplify Node app setup with Express
  • Testing Express applications
  • Use Express for easy access to Node features
  • Data storage with MongoDB
  • Covers Express 4 and Express 5 alpha

About the Reader

To get the most out of this book, you'll need to know the basics of web application design and be proficient with JavaScript.

About the Author

Evan Hahn is an active member of the Node and Express community and contributes to many open source JavaScript projects.

Table of Contents

    PART 1 INTRO

  1. What is Express?
  2. The basics of Node.js
  3. Foundations of Express
  4. PART 2 CORE

  5. Middleware
  6. Routing
  7. Building APIs
  8. Views and templates: Pug and EJS
  9. PART 3 EXPRESS IN CONTEXT

  10. Persisting your data with MongoDB
  11. Testing Express applications
  12. Security
  13. Deployment: assets and Heroku
  14. Best practices

商品描述(中文翻譯)

《Express in Action》是一本精心設計的教學書籍,教導讀者如何使用Node和Express建立網路應用程式。Express.js是一個用於Node.js的網路應用程式框架,它將伺服器端的JavaScript組織成可測試和可維護的模組。它提供了一套強大的功能,能夠有效地管理路由、請求和視圖,並為您的網路應用程式提供美觀的樣板。Express幫助您專注於應用程式的功能,而不是繁瑣的技術細節。

《Express in Action》教導讀者如何使用Node和Express建立網路應用程式。它首先介紹了Node的強大特性,並展示了它們如何映射到Express的功能。您將探索關鍵的開發技術,了解豐富的相關工具和庫生態系統,並深入了解其內部運作。通過閱讀本書,您將能夠使用Express建立一個Node應用程式,並知道如何測試它、連接到資料庫並自動化開發過程。

本書的內容包括:
- 使用Express簡化Node應用程式的設置
- 測試Express應用程式
- 使用Express輕鬆訪問Node的功能
- 使用MongoDB進行資料存儲
- 包含Express 4和Express 5 alpha的內容

閱讀本書需要具備基本的網路應用程式設計知識並熟悉JavaScript。

作者Evan Hahn是Node和Express社群的活躍成員,並為許多開源JavaScript專案做出貢獻。

本書的目錄如下:
PART 1 INTRO
1. 什麼是Express?
2. Node.js的基礎知識
3. Express的基礎知識

PART 2 CORE
4. 中介軟體
5. 路由
6. 建立API
7. 視圖和樣板:Pug和EJS

PART 3 EXPRESS IN CONTEXT
8. 使用MongoDB持久化資料
9. 測試Express應用程式
10. 安全性
11. 部署:資源和Heroku
12. 最佳實踐