MEAN Cookbook
暫譯: MEAN 食譜

Nicholas McClay

  • 出版商: Packt Publishing
  • 出版日期: 2017-09-26
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 450
  • 裝訂: Paperback
  • ISBN: 1787286576
  • ISBN-13: 9781787286573
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • Architect a fully functional stand-alone web application, including the web server, database, and front-end web application
  • Improve the performance and maintainability of your MEAN stack application with tips for configuration and optimization
  • Highlights MEAN Stack best practices when working with your application

Book Description

The MEAN Stack is a framework for web application development using JavaScript-based technologies; MongoDB, Express, Angular, and Node.js. If you want to expand your understanding of using JavaScript to produce a fully functional standalone web application, including the web server, user interface, and database, then this book can help guide you through that transition. This book begins by configuring the frontend of the MEAN stack web application using the Angular JavaScript framework. We then implement common user interface enhancements before moving on to configuring the server layer of our MEAN stack web application using Express for our backend APIs. You will learn to configure the database layer of your MEAN stack web application using MongoDB and the Mongoose framework, including modeling relationships between documents. You will explore advanced topics such as optimizing your web application using WebPack as well as the use of automated testing with the Mocha and Chai frameworks. By the end of the book, you should have acquired a level of proficiency that allows you to confidently build a full production-ready and scalable MEAN stack application.

What you will learn

  • Bootstrap a new MEAN stack web application using Node.js and Express
  • Build a single-page application (SPA) with Angular and Angular-CLI
  • Improve browser performance by optimizing your web application resources using Webpack
  • Model complex JSON object relationships in MongoDB using Mongoose
  • Debug all the layers of a MEAN stack application, including working with source maps
  • Build Restful APIs using Express.js and JSON Web Token (JWT) for user authentication
  • Use automated testing to improve the reliability and quality of your MEAN stack application

About the Author

Nicholas McClay is a software developer and designer with over a decade of JavaScript experience in both corporate and startup technology companies. He is an avid Node.js and JavaScript enthusiast and the founder of the greater Pittsburgh region’s Node.js and Angular meetups. A self-described user experience developer, he balances using both design and development disciplines to solve problems.

He is a graduate of the Art Institute of Pittsburgh, where he acquired a bachelor's of science degree in Game Art and Design, a passion that springboarded him into a career of interactive experience design.

His previous work experience includes Autodesk, where he worked on next-generation integrated cloud services. His current role is as the UX Lead of Wombat Security Technologies, where he helps bridge the gap between the customers' user experience and the underlying technology and product decisions that deliver it.

He enjoys video games, tinkering and creating things, and lives with his loving wife, son, and daughter in Pittsburgh, Pennsylvania.

Table of Contents

  1. Working with Angular 4
  2. Enhancing your User Interface
  3. Working with Data
  4. Using Express Web Server
  5. REST APIs & Authentication
  6. Advanced functionality
  7. MongoDB & Mongoose
  8. Relationships
  9. Resource Pipelines & Optimizations
  10. Debugging and Optimization
  11. Automated Testing

商品描述(中文翻譯)

#### 主要特點
- 架構一個功能完整的獨立網頁應用程式,包括網頁伺服器、資料庫和前端網頁應用程式
- 透過配置和優化的技巧來改善您的 MEAN 堆疊應用程式的性能和可維護性
- 在使用應用程式時強調 MEAN 堆疊的最佳實踐

#### 書籍描述
MEAN 堆疊是一個使用基於 JavaScript 的技術(MongoDB、Express、Angular 和 Node.js)來開發網頁應用程式的框架。如果您想擴展對使用 JavaScript 來產生一個功能完整的獨立網頁應用程式的理解,包括網頁伺服器、用戶介面和資料庫,那麼這本書可以幫助您順利過渡。這本書首先配置 MEAN 堆疊網頁應用程式的前端,使用 Angular JavaScript 框架。接著,我們實現常見的用戶介面增強功能,然後轉向使用 Express 配置我們的 MEAN 堆疊網頁應用程式的伺服器層,為我們的後端 API 提供支持。您將學習如何使用 MongoDB 和 Mongoose 框架配置 MEAN 堆疊網頁應用程式的資料庫層,包括建模文件之間的關係。您還將探索進階主題,例如使用 WebPack 優化您的網頁應用程式,以及使用 Mocha 和 Chai 框架進行自動化測試。到書籍結束時,您應該已經獲得足夠的熟練度,能夠自信地構建一個完整的生產就緒和可擴展的 MEAN 堆疊應用程式。

#### 您將學到的內容
- 使用 Node.js 和 Express 啟動一個新的 MEAN 堆疊網頁應用程式
- 使用 Angular 和 Angular-CLI 建立單頁應用程式 (SPA)
- 通過使用 Webpack 優化您的網頁應用程式資源來改善瀏覽器性能
- 使用 Mongoose 在 MongoDB 中建模複雜的 JSON 物件關係
- 調試 MEAN 堆疊應用程式的所有層,包括使用源地圖
- 使用 Express.js 和 JSON Web Token (JWT) 建立 Restful API 進行用戶身份驗證
- 使用自動化測試來提高您的 MEAN 堆疊應用程式的可靠性和質量

#### 關於作者
**Nicholas McClay** 是一位軟體開發者和設計師,擁有超過十年的 JavaScript 經驗,曾在企業和初創科技公司工作。他是一位熱衷於 Node.js 和 JavaScript 的愛好者,也是大匹茲堡地區 Node.js 和 Angular 聚會的創始人。他自稱為用戶體驗開發者,平衡使用設計和開發學科來解決問題。

他畢業於匹茲堡藝術學院,獲得遊戲藝術與設計的理學學士學位,這一熱情使他踏上了互動體驗設計的職業生涯。

他之前的工作經驗包括 Autodesk,曾參與下一代整合雲服務的開發。他目前的角色是 Wombat Security Technologies 的 UX 領導,幫助縮短客戶的用戶體驗與提供該體驗的底層技術和產品決策之間的差距。

他喜歡玩電子遊戲、修理和創造事物,與他摯愛的妻子、兒子和女兒一起生活在賓夕法尼亞州的匹茲堡。

#### 目錄
1. 使用 Angular 4
2. 增強您的用戶介面
3. 處理數據
4. 使用 Express 網頁伺服器
5. REST API 與身份驗證
6. 進階功能
7. MongoDB 與 Mongoose
8. 關係
9. 資源管道與優化
10. 調試與優化
11. 自動化測試

最後瀏覽商品 (1)