Mongoose for Application Development

Mongoose for Application Development

by Holmes, Simon

Type Book
Rate 0.0 /5

This book is a mini tutorial full of code examples and strategies to give you plenty of options when building your own applications with MongoDB. This book is ideal for people who want to develop applications on the Node.js stack quickly and efficiently. Prior knowledge of the stack is not essential as the book briefly covers the installation of the core components and builds all aspects of the example application. The focus of the book is on what Mongoose adds to you applications, so experienc…

Read More ↓

Title Statements

  • Full title :Mongoose for Application Development.

Summary

This book is a mini tutorial full of code examples and strategies to give you plenty of options when building your own applications with MongoDB. This book is ideal for people who want to develop applications on the Node.js stack quickly and efficiently. Prior knowledge of the stack is not essential as the book briefly covers the installation of the core components and builds all aspects of the example application. The focus of the book is on what Mongoose adds to you applications, so experienced Node.js developers will also benefit.

Read More ↓

Edition Statements

  • Publication Date:2013.

Publication Statements

The Physical Object

  • Description:1 online resource

Edition Identifiers

  • ISBN:1299832377, 9781299832374, 9781782168201, 1782168206, 9781782168195, 1782168192
  • oclc:ocn857712048
  • LC Classification:QA76.76.A65 .H384 2013
  • Dewey Decimal:005.7585

Table of Contents

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introducing Mongoose to the Technology Stack; The technology stack -- Node.js, npm, MongoDB, and Express; The language and the server -- JavaScript and Node; Single-threaded versus multithreaded; Blocking versus non-blocking code; The database -- MongoDB; The framework -- Express; What Mongoose is all about; What is Mongoose good for?; What Mongoose is not ideally suited for; The cornerstones of Mongoose; Mongoose schemas; Mongoose models; Installing the full stack.

Installing the prerequisitesInstalling Node.js; Installing npm; Installing MongoDB; Installing Express.js; Installing Mongoose; Direct installation into project; Using project dependencies -- package.json; Creating a project; Summary; Chapter 2: Establishing a Database Connection; Mongoose default connection; Using multiple connections; About the connection string; Setting the port; Specifying a database user; Connection options; Closing the connection; Calling the close command; Closing when the Node process ends; Connection events; Connecting our project; Creating the connection.

Catching the e…

Read More ↓

Subjects

Writers

More from this Series

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

  • Mongoose for Application Development -- (.pdf)

    PDF · 1.1 MB · updated
  • Mongoose for Application Development: Learn to sp…

    PDF · 1.5 MB · updated