Web Development with MongoDB and Node - Third Edition

Bruno Joseph D'mello, Mithun Satheesh, Jason Krol

  • 出版商: Packt Publishing
  • 出版日期: 2017-09-28
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 330
  • 裝訂: Paperback
  • ISBN: 1788395085
  • ISBN-13: 9781788395083
  • 相關分類: NoSQLMongoDBNode.js
  • 下單後立即進貨 (約3~4週)

商品描述

Use the two popular web development stacks, Node.js and MongoDB, to build full-featured web applications

About This Book

  • Learn the new ECMAScript along with Node 8 and MongoDB to make your application more effective.
  • Get the up-to-date information required to launch your first application prototype using the latest versions of Node.js and MongoDB.
  • A practical guide with clear instructions to designing and developing a complete web application from start to finish using trending frameworks such as angular4 and hapi

Who This Book Is For

The book is designed for JavaScript developers of any skill level who want to get up-and-running using Node.js and MongoDB to build full-featured web applications. A basic understanding of JavaScript and HTML is the only prerequisite for this book.

What You Will Learn

  • Work with Node.js building blocks
  • Write and configure a web server using Node.js powered by the Express.js framework
  • Build dynamic HTML pages using the Handlebars template engine
  • Persist application data using MongoDB and Mongoose ODM
  • Test your code using automated testing tools such as the Mocha framework
  • Automate test cases using Gulp
  • Reduce your web development time by integrating third-party tools for web interaction.
  • Deploy a development environment to the cloud using services such as Heroku, Amazon Web Services, and Microsoft Azure
  • Explore single-page application frameworks to take your web applications to the next level

In Detail

Node.js builds fast, scalable network applications while MongoDB is the perfect fit as a high-performance, open source NoSQL database solution. The combination of these two technologies offers high performance and scalability and helps in building fast, scalable network applications. Together they provide the power for manage any form of data as well as speed of delivery.

This book will help you to get these two technologies working together to build web applications quickly and easily, with effortless deployment to the cloud. You will also learn about angular 4, which consumes pure JSON APOIs from a hapi server.

The book begins by setting up your development environment, running you through the steps necessary to get the main application server up-and-running. Then you will see how to use Node.js to connect to a MongoDB database and perform data manipulations.

From here on, the book will take you through integration with third-party tools to interact with web apps. You will see how to use controllers and view models to generate reusable code that will reduce development time. Toward the end, the book supplies tests to properly execute your code and take your skills to the next level with the most popular frameworks for developing web applications.

By the end of the book, you will have a running web application developed with MongoDB, Node.js, and some of the most powerful and popular frameworks.

Style and approach

A practical guide with clear instructions to designing and developing a complete web application from start to finish

商品描述(中文翻譯)

使用兩個熱門的網頁開發技術堆疊,Node.js 和 MongoDB,來建立功能完整的網頁應用程式。

關於本書:
- 學習新的 ECMAScript,以及 Node 8 和 MongoDB,使您的應用程式更有效。
- 獲取最新版本的 Node.js 和 MongoDB 所需的最新資訊,以啟動您的第一個應用程式原型。
- 使用流行的框架(如 angular4 和 hapi)進行實際指導,清晰指示,從頭到尾設計和開發完整的網頁應用程式。

適合閱讀對象:
本書適合任何技能水平的 JavaScript 開發人員,他們想要使用 Node.js 和 MongoDB 來建立功能完整的網頁應用程式。閱讀本書只需要基本的 JavaScript 和 HTML 知識。

您將學到什麼:
- 使用 Node.js 建立網頁應用程式的基礎知識。
- 使用 Express.js 框架編寫和配置網頁伺服器。
- 使用 Handlebars 模板引擎建立動態 HTML 頁面。
- 使用 MongoDB 和 Mongoose ODM 持久化應用程式資料。
- 使用 Mocha 框架等自動化測試工具測試您的程式碼。
- 使用 Gulp 自動化測試案例。
- 通過集成第三方工具來減少網頁開發時間。
- 使用 Heroku、Amazon Web Services 和 Microsoft Azure 等服務將開發環境部署到雲端。
- 探索單頁應用程式框架,將您的網頁應用程式提升到更高的水平。

詳細內容:
Node.js 可以建立快速、可擴展的網路應用程式,而 MongoDB 是一個高效能、開源的 NoSQL 資料庫解決方案。這兩個技術的結合提供了高性能和可擴展性,有助於建立快速、可擴展的網路應用程式。它們共同提供了處理任何形式的資料以及快速交付的能力。

本書將幫助您將這兩個技術結合起來,快速輕鬆地建立網頁應用程式,並輕鬆部署到雲端。您還將學習到使用 hapi 伺服器從純 JSON API 中消耗資料的 angular 4。

本書首先設置您的開發環境,並引導您完成啟動主要應用程式伺服器所需的步驟。然後,您將了解如何使用 Node.js 連接到 MongoDB 資料庫並執行資料操作。

從這裡開始,本書將帶您進行與第三方工具的整合,以與網頁應用程式互動。您將了解如何使用控制器和視圖模型生成可重複使用的程式碼,從而減少開發時間。最後,本書提供了測試來正確執行您的程式碼,並使用最流行的框架來提升您的技能,開發網頁應用程式。

通過閱讀本書,您將開發一個運行中的網頁應用程式,使用 MongoDB、Node.js 和一些最強大和流行的框架。

風格和方法:
本書是一本實用指南,提供清晰的指示,從頭到尾設計和開發完整的網頁應用程式。