Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Johns Hopkins University

Ruby on Rails Web Services and Integration with MongoDB

Johns Hopkins University via Coursera

This course may be unavailable.

Overview

Prepare for a new career with $100 off Coursera Plus
Gear up for jobs in high-demand fields: data analytics, digital marketing, and more.
In this course, we will explore MongoDB, a very popular NoSQL database and Web Services concepts and integrate them both with Ruby on Rails. MongoDB is a used to handle documents with a pre-defined schema which will give the developers an ability to store, process and use data using it’s rich API. The modules will go in-depth from installation to CRUD operations, aggregation, indexing, GridFS and various other topics where we continuously integrate MongoDB with RailsRuby. We will be covering the interface to MongoDB using the Mongo Ruby API and the Mongoid ORM framework (the MongoDB access counterpart to RDBMS/ActiveRecord within Rails). The last portion of the course will focus on Web Services with emphasis on REST, its architectural style and integration of Web Services with Rails. Core concepts of Web Services like request/response, filters, data representation (XML/JSON), web linking and best practices will covered in depth.

This course is ideal for students and professionals who have some programming experience and a working knowledge of databases.

Syllabus

Introduction to MongoDB, MongoDB-Ruby API, and CRUD
-In this module, we’re going to explore the history and the rationale behind NoSQL databases, their relationship to RDBMS, and dive into the basics of MongoDB. We will install MongoDB, create a database, collections and perform CRUD operations. We will end this module by integrating MongoDB with Ruby Shell and try out some simple examples.

Aggregation Framework, Performance, and Advanced MongoDB
-In this module, we’re going to explore the fundamentals of the Aggregation framework in MongoDB. We will work on examples where you will process data records and return computed results. You will learn about and get to work on hands-on examples where you will be grouping values from multiple documents and performing a variety of operations on the grouped data to get a single result. We will look at a number of aggregation commands and paging. We will explore some advanced concepts like full text search, GridFS, Geospatial API, and wrap up the module with detailed demonstrations of all the capabilities presented in this module.

Mongoid
-In this module, we’re going to explore Mongoid, which is an Object-Document-Mapper (ODM) for MongoDB written in Ruby. We will learn to integrate Mongoid with Rails and work to understand document and relationship mapping, as well. We will work on a number of queries using the Mongoid API and wrap up the module by implementing Rails/Mongoid Model View Controller.

Web Services
-In this module, we’re going to explore Web Services with a focus on caching and security. We will start off by looking at REST fundamentals, RMM (Richardson Maturity Model) and URI best practices. We will wrap up the topic by covering Client and Server Caching along with Web Service Security (OAuth 2).

Taught by

Kiran Chittargi

Reviews

4.8 rating, based on 6 Class Central reviews

Start your review of Ruby on Rails Web Services and Integration with MongoDB

  • Anonymous
    Great class but long assignments. I spent a lot of time on the assignments. Good learning experience. If you plan to revise the course, please shorten the assignments. JHU good job overall with the specialization. I am learning quite a bit. Looking forward to the next course.
  • Anonymous
    Simple incredible. Learnt a lot. I have to warn that the assignments are quite lengthy but you will walk out learning a lot on Ruby on Rails, MongoDB and Web Services. Best course in the specialization. Hands-on assignments is the best part.
  • Anonymous
    I have completed the first 4 and all were great. This class was probably the hardest as the assignments were long. HTML class (4th) in the specialization is a lot of fun. But it was good to learn about MongoDB and ROR. Thank you JHU
  • Anonymous
    JHU Specialization is great. This was an excellent course. Lot of new things to learn. As the other user said, the assignments are hard but it is worth it. Good support from the teaching staff. 5 start rating from me

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.