Introduction to NoSQL and MongoDB

This course introduces the concepts and benefits of NoSQL databases, and shows how to use MongoDB to realise these benefits in practice. The course includes detailed examples in Python, Spring Boot and .NET Core. We can cater for other programming languages if you like.

Duration

1 day

 

Prerequisites

  • Familiarity with relational databases would be advantageous
  • Programming experience in Python, Java, C#, or a similar language

What you'll learn

  • Concepts of NoSQL databases
  • Types of NoSQL database available
  • Understanding MongoDB
  • Using the MongoDB API in various languages, as appropriate

Course details

Overview of NoSQL Databases

  • Strengths and limitations of relational databases
  • The role of NoSQL databases
  • Key-value stores
  • Document-oriented databases
  • Column-oriented stores
  • Graph databases

Overview of MongoDB

  • What is MongoDB
  • Key features of MongoDB
  • Hosting vs. local installation
  • MongoDB editions
  • Downloading and installing MongoDB
  • Starting MongoDB from the command line or as a Windows Service
  • Using the MongoDB interactive shell and MongoDB Compass

Understanding the MongoDB API

  • MongoDB documents
  • Field types
  • Accessing fields in a document
  • MongoDB collections
  • Creating a collection
  • CRUD operations
  • Additional useful collection operations
  • Aggregation operations

MongoDB Development Walkthroughs

  • Examples in Python
  • Examples in Spring Boot
  • Examples in .NET Core