Web Development with MongoDB and NodeJS

Mithun Satheesh, Bruno Joseph D'mello, Jason Krol

  • 出版商: Packt Publishing
  • 出版日期: 2015-10-30
  • 售價: $1,680
  • 貴賓價: 9.5$1,596
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1785287524
  • ISBN-13: 9781785287527
  • 相關分類: NoSQLMongoDB
  • 下單後立即進貨 (約3~4週)

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

商品描述

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數據庫並執行數據操作
- 提供清晰指示的實用指南,從頭到尾設計和開發完整的網絡應用程式

本書適合對使用Node.js和MongoDB建立功能完整的網絡應用程式有興趣的JavaScript開發人員,無論技能水平如何。本書只需要基本的JavaScript和HTML理解。

你將學到什麼
- 配置開發環境以使用Node.js和MongoDB
- 使用Express.js框架編寫和配置Web伺服器
- 使用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的簡單指南,通過引導你完成構建一個完整網絡應用程式的不同步驟,快速介紹相關概念。