Web Development with MongoDB and Node - Third Edition
暫譯: 使用 MongoDB 和 Node 的網頁開發 - 第三版

Bruno Joseph D'mello, Mithun Satheesh, Jason Krol

  • 出版商: Packt Publishing
  • 出版日期: 2017-09-28
  • 售價: $1,830
  • 貴賓價: 9.5$1,739
  • 語言: 英文
  • 頁數: 330
  • 裝訂: Paperback
  • ISBN: 1788395085
  • ISBN-13: 9781788395083
  • 相關分類: NoSQLMongoDBNode.js
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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 的基本構件進行開發

  • 使用 Node.js 和 Express.js 框架編寫和配置網頁伺服器

  • 使用 Handlebars 模板引擎構建動態 HTML 頁面

  • 使用 MongoDB 和 Mongoose ODM 持久化應用程式數據

  • 使用 Mocha 框架等自動化測試工具測試您的代碼

  • 使用 Gulp 自動化測試案例

  • 通過整合第三方工具來減少您的網頁開發時間。

  • 使用 Heroku、Amazon Web Services 和 Microsoft Azure 等服務將開發環境部署到雲端

  • 探索單頁應用程式框架,將您的網頁應用程式提升到下一個層次

詳細內容


Node.js 構建快速、可擴展的網絡應用程式,而 MongoDB 則是高性能、開源的 NoSQL 數據庫解決方案的完美選擇。這兩種技術的結合提供了高性能和可擴展性,幫助構建快速、可擴展的網絡應用程式。它們共同提供了管理任何形式數據的能力以及快速交付的速度。


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


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


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


到本書結束時,您將擁有一個使用 MongoDB、Node.js 和一些最強大、最流行的框架開發的運行中的網頁應用程式。

風格與方法


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