Web Development with MongoDB and NodeJS
暫譯: 使用 MongoDB 和 NodeJS 的網頁開發

Mithun Satheesh, Bruno Joseph D'mello, Jason Krol

  • 出版商: Packt Publishing
  • 出版日期: 2015-10-30
  • 售價: $1,830
  • 貴賓價: 9.5$1,739
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1785287524
  • ISBN-13: 9781785287527
  • 相關分類: NoSQLMongoDB
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Build an interactive and full-featured web application from scratch using Node.js and MongoDB

About This Book

  • Configure your development environment to use Node.js and MongoDB
  • Use Node.js to connect to a MongoDB database and perform data manipulations
  • A practical guide with clear instructions to design and develop a complete web application from start to finish

Who This Book Is For

This book is designed for JavaScript developers of any skill level that 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 requirement for this book.

What You Will Learn

  • Configure your development environment to use Node.js and MongoDB
  • 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
  • Deploy the 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 and MongoDB are quickly becoming one of the most popular tech stacks for the web. Powered by Google's V8 engine, Node.js caters to easily building fast, scalable network applications while MongoDB is the perfect fit as a scalable, high-performance, open source NoSQL database solution. Using these two technologies together, web applications can be built quickly and easily and deployed to the cloud with very little difficulty.

The book will begin by introducing you to the groundwork needed to set up the development environment. Here, you will quickly run 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 for interaction with web apps. It then moves on to show you how to use controllers and view models to generate reusable code that will reduce development time. Toward the end of the book, we will cover tests to properly execute the code and some popular frameworks for developing web applications.

By the end of the book, you will have a running web application developed with MongoDB and Node.js along with it's popular frameworks.

Style and approach

An easy guide to Node.js and MongoDB, which will quickly introduce you to the relevant concepts by taking you through the different steps involved in building a full-fledged web application.

商品描述(中文翻譯)

建構一個互動式且功能完整的網頁應用程式,從零開始使用 Node.js 和 MongoDB

關於本書
- 配置您的開發環境以使用 Node.js 和 MongoDB
- 使用 Node.js 連接到 MongoDB 數據庫並執行數據操作
- 一本實用指南,提供清晰的指示,從頭到尾設計和開發完整的網頁應用程式

本書適合誰
本書專為任何技能水平的 JavaScript 開發者設計,旨在幫助他們使用 Node.js 和 MongoDB 建立功能完整的網頁應用程式。對 JavaScript 和 HTML 的基本理解是本書的唯一要求。

您將學到什麼
- 配置您的開發環境以使用 Node.js 和 MongoDB
- 使用 Node.js 和 Express.js 框架編寫和配置網頁伺服器
- 使用 Handlebars 模板引擎構建動態 HTML 頁面
- 使用 MongoDB 和 Mongoose ODM 持久化應用程式數據
- 使用 Mocha 框架等自動化測試工具測試您的代碼
- 使用 Heroku、Amazon Web Services 和 Microsoft Azure 等服務將開發環境部署到雲端
- 探索單頁應用程式框架,將您的網頁應用程式提升到下一個層次

詳細內容
Node.js 和 MongoDB 正迅速成為網頁開發中最受歡迎的技術棧之一。Node.js 由 Google 的 V8 引擎驅動,能夠輕鬆構建快速、可擴展的網絡應用程式,而 MongoDB 則是可擴展的高性能開源 NoSQL 數據庫解決方案的完美選擇。結合這兩種技術,可以快速輕鬆地構建網頁應用程式,並且幾乎沒有困難地部署到雲端。

本書將首先介紹設置開發環境所需的基礎知識。在這裡,您將快速了解啟動主要應用伺服器所需的步驟。然後,您將看到如何使用 Node.js 連接到 MongoDB 數據庫並執行數據操作。

從這裡開始,本書將帶您了解與第三方工具的整合,以便與網頁應用程式互動。接著將展示如何使用控制器和視圖模型生成可重用的代碼,以減少開發時間。在本書的最後部分,我們將涵蓋測試以正確執行代碼以及一些流行的網頁應用程式開發框架。

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

風格與方法
這是一本簡易的 Node.js 和 MongoDB 指南,將通過不同步驟的介紹,快速讓您了解構建完整網頁應用程式的相關概念。