Mongoose is all about putting the data model where it should be: in your application. You can control everything from within your application in JavaScript, eliminating the need to work with the database or a separate management system. Mongoose for Application Development is a practical, hands-on
Mongoose for Application Development
โ Scribed by Simon Holmes
- Publisher
- Packt Publishing
- Year
- 2013
- Tongue
- English
- Leaves
- 142
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Learn to speed up your application development by using Mongoose to harness the power of Node.js and MongoDB
Overview
- Rapid application development with Mongoose on the Node.js stack
- Use Mongoose to give structure and manageability to MongoDB data
- Practical examples on how to use Mongoose for CRUD operations
- Provides a number of helpful tips and takes away the complexity of everyday MongoDB operations
- Walks you through building a project management application using Mongoose, Node.js, MongoDB, and Express
In Detail
Mongoose is all about putting the data model where it should be: in your application. You can control everything from within your application in JavaScript, eliminating the need to work with the database or a separate management system.
Mongoose for Application Development is a practical, hands-on guide that takes you from installing the technology stack through the steps of developing a web application. It covers the key features of Mongoose and how to use them to rapidly develop a Node.js and MongoDB application.
This book introduces the full technology stack of Node.js, MongoDB, Express, and Mongoose. It will take you through the process of building an application on this stack with a focus on how Mongoose makes the process quicker and easier.
You will see how Mongoose removes a layer of complexity when dealing with MongoDB whilst giving you more control over your data from your application. You will learn how to define schemas and models for your data in JavaScript. Using these schemas and models, you will learn how to build the cornerstone of any web application that will include CRUD operations (creating, reading, updating, and deleting data). If you want to learn how to build applications quickly and efficiently using Node.js, then Mongoose and this book are ideal for you.
Using practical examples throughout, Mongoose for Application Development not only teaches you about the concepts of Mongoose, but walks through how to use them to build a real-life application.
What you will learn from this book
- Learn the different methods of using Mongoose to connect to a database
- Learn to define schemas and building data models
- Interact with data using schema methods
- Create databases, collections, and data
- Query the database to find specific data
- Edit, save, and delete data
- Validate data using Mongoose validators
- Use population to link datasets
- Use sub-documents and nested schemas to provide data depth
- Get to grips with code efficiency through re-usable plugins
Approach
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.
Who this book is written for
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.
๐ SIMILAR VOLUMES
Packt Publishing, 2015. โ 146 p. + Code. โ ISBN-10: 1785280279, ISBN-13: 978-1-78528-027-6.<div class="bb-sep"></div><strong>Design, build, and deliver efficient Java applications using the most advanced NoSQL database.</strong><div class="bb-sep"></div>The NoSQL movement is growing in relevance, at
<p><b>Design, administer, and deploy high-volume and fault-tolerant database applications using MongoDB 4.x</b></p> <h4>Key Features</h4> <ul><li>Build a powerful and scalable MongoDB database using real industry data</li> <li>Understand the process of designing NoSQL schema with the latest release
Getting started with MongoDB is easy, but once you begin building applications with it, you'll face some complex issues. What are the tradeoffs between normalized and denormalized data? How do you handle replica set failure and failover? This collection of MongoDB tips, tricks, and hacks helps you r
Getting started with MongoDB is easy, but once you begin building applications with it, you'll face some complex issues. What are the tradeoffs between normalized and denormalized data? How do you handle replica set failure and failover? This collection of MongoDB tips, tricks, and hacks helps you r
Getting started with MongoDB is easy, but youll face some complex issues once you begin building applications with it. This collection of MongoDB tips, tricks, and hacks helps you resolve issues with everything from application design and implementation to data safety and monitoring. You get pinpoin