->
Oreilly - Using MongoDB with Node.js - 9781491959084
Oreilly - Using MongoDB with Node.js
by Wes Higbee | Released April 2016 | ISBN: 9781491959077


Using MongoDB with Node.js is the fourth title in Wes Higbee's explanation of all things Node. This course details how to store data - as documents - coming from your JavaScript apps into MongoDB. There are two popular approaches to interacting with MongoDB: The native driver and Mongoose. In this video, you'll learn about both of these, when to pick one over the other, and something else equally important (and often neglected): How to write maintainable asynchronous MongoDB communications code. Web app developers with a strong command of JavaScript, those wanting to incorporate server-side programming into their development, and those wanting to better understand NoSQL database technology will appreciate this step-by-step guide to using MongoDB with Node.js. Working files are included, allowing you to follow along with the author throughout the lessons. Understand how the native Node.js MongoDB driver works Learn to use the Mongoose ODM to communicate with a MongoDB serverCompare asynchronous coding styles: callbacks, promises, generators and async/await Learn how to serialize JS objects to documents stored in MongoDB. Explore basic CRUD operations with MongoDB. Practice debugging, error handling, logging, and monitoring. Show and hide more Publisher resources Download Example Code
  1. MongoDB
    • Welcome 00:08:23
    • About The Author 00:01:23
    • The Sample Application 00:05:31
    • JSON Analogy 00:04:01
    • SQL Vs DocumentDB 00:07:48
    • Running MongoDB Locally 00:03:01
    • Connecting With Mongo CLI 00:03:13
    • Robomongo 00:01:49
    • Inserting Documents 00:03:30
    • Objectids 00:00:42
    • Inserting Users 00:07:49
  2. The Native Driver
    • MongoDB Node.js Native Driver 00:04:51
    • Inserting Documents From Node.js 00:02:47
    • DB.Close() 00:01:06
    • Querying Rooms 00:07:10
    • Create Rooms 00:02:02
    • Deleting Rooms 00:07:09
    • Finding A Room By ID 00:05:10
    • Replacing Documents 00:05:27
    • Handling Errors 00:03:40
  3. Sanity With Promises
    • Why Promises 00:01:04
    • Connect With Promises 00:06:07
    • Querying With Promises 00:02:27
    • Promise Control Flow Debugging 00:03:10
    • Simplify Error Handling With Promises 00:04:05
    • Promises Handle Throws Too 00:01:58
    • Promises Cache DB Connection 00:03:53
    • Chaining Promises To Further Simplify 00:04:44
    • Extracting A ChatDB Module 00:04:22
    • Converting From Callbacks To Promises Part - 1 00:05:36
    • Converting From Callbacks To Promises Part - 2 00:02:57
    • Benefits Of Refactoring Callbacks To Promises 00:01:53
    • Gracefully Closing DB Connections 00:03:03
    • Promises Plus Generators With co 00:04:26
    • co-express 00:03:37
    • EsS016 Async Await 00:05:47
  4. Getting Started With Mongoose
    • Mongoose 00:02:47
    • Importing Users With Mongoose 00:09:13
    • Collection Names 00:01:46
    • Disconnect 00:00:47
    • Strict Mode Throw And Overriding Mongoose Promises 00:03:44
    • Strict Mode False To Allow Extra Fields 00:01:36
    • Schema Conversion And Validation 00:02:22
    • Finishing The User Schema 00:01:50
  5. Mongoose With Express
    • Extracting A User Model Module 00:04:47
    • Querying Users 00:03:25
    • Connect Once With Mongoose 00:02:20
    • Debugging Models 00:01:09
    • Creating Users 00:03:20
    • Finding A User By ID 00:03:27
    • Saving User Changes 00:02:21
    • Delete Users 00:02:21
    • Decouple Mongoose Connect 00:06:50
    • Catching Errors 00:02:16
    • Showing Validation Errors 00:07:16
    • Further Validation 00:05:13
  6. Grab Bag
    • Filtering Documents 00:07:02
    • Using Query Operators 00:03:15
    • Native Driver Logging 00:07:09
    • Mongoose Logging 00:02:28
    • Partial Update With $Set 00:03:55
    • Unset And Rename 00:01:37
    • To Replace Or Update 00:02:21
    • Sriracha For Automatic Admin Portals 00:06:22
    • Everything Is A Document 00:03:24
    • Further Learning 00:08:19
    • Challenge 00:02:38
  7. Show and hide more

    Oreilly - Using MongoDB with Node.js


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.




rss