Ruby on Rails Web Services and Integration with MongoDB
When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan .
- Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
- Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.
About this course: 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…

Es wurden noch keine FAQ hinterlegt. Falls Sie Fragen haben oder Unterstützung benötigen, kontaktieren Sie unseren Kundenservice. Wir helfen gerne weiter!
When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan .
- Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
- Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.
About this course: 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.
Created by: Johns Hopkins University-
Taught by: Kiran Chittargi, Adjunct Professor, Graduate Computer Science
Whiting School of Engineering
Each course is like an interactive textbook, featuring pre-recorded videos, quizzes and projects.
Help from your peersConnect with thousands of other learners and debate ideas, discuss course material, and get help mastering concepts.
CertificatesEarn official recognition for your work, and share your success with friends, colleagues, and employers.
Johns Hopkins University The mission of The Johns Hopkins University is to educate its students and cultivate their capacity for life-long learning, to foster independent and original research, and to bring the benefits of discovery to the world.Syllabus
WEEK 1
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.
20 videos, 4 readings expand
- Video: Course Introduction
- Reading: Grading
- Video: Welcome to Module 1: Introduction to MongoDB, Mongo-Ruby API, and CRUD
- Reading: Github Repository for Module 1
- Video: Introduction to NoSQL
- Video: Categories of NoSQL
- Video: Introduction to MongoDB
- Video: Mongo Installation
- Video: MongoDB Basics
- Reading: Practice Programming Assignment - MongoDB Ruby Driver Connection
- Video: Inserting Documents
- Reading: Practice Programming Assignment - MongoDB Ruby Driver CRUD
- Video: Find
- Video: Paging
- Video: Advanced Find
- Video: Replace, Update, and Delete
- Video: Introduction: Integrating MongoDB with Ruby Driver
- Video: Rails Setup
- Video: DAO Class Infrastructure
- Video: CRUD
- Video: Scaffolding
- Video: MVC Application
- Video: MongoLab Setup
- Video: Heroku Setup
Graded: Integrating MongoDB Ruby Driver and Rails
WEEK 2
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.
19 videos, 3 readings expand
- Video: Welcome to Module 2: Aggregation Framework, Performance, and Advanced MongoDB
- Reading: Github Repository for Module 2
- Video: Introduction to Aggregation
- Reading: Practice Programming Assignment - Aggregation Framework
- Video: $project
- Video: $group
- Video: $match
- Video: $unwind
- Video: Schema Design
- Video: Normalization
- Video: Relationships
- Reading: Practice Programming Assignment: Schema Design
- Video: GridFS
- Video: GridFS Demo 1
- Video: GridFS Demo 2
- Video: GridFS Demo 3
- Video: Geospatial
- Video: Geospatial Demo
- Video: Introduction to Indexes
- Video: Creating Indexes
- Video: Listing & Deleting Indexes
- Video: Unique, Sparse & TTL Indexes
Graded: Advanced MongoDB Ruby Driver Topics
WEEK 3
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.
17 videos, 3 readings expand
- Video: Welcome to Module 3: Mongoid
- Reading: Github Repository for Module 3
- Video: Introduction to Mongoid
- Video: Document Class
- Video: Mongoid CRUD
- Video: Movie Application Setup
- Reading: Practice Programming Assignment: Mongoid Setup and Document CRUD
- Video: 1:1 Embedded Relationship
- Video: M:1 Linked Relationship
- Video: 1:M Embedded Relationship
- Video: M:1 Embedded Relationship
- Video: 1:1 Linked Relationship
- Video: M:M Linked Relationship
- Video: Constraints and Validation
- Video: Constraints and Validation: Demo
- Reading: Practice Programming Assignment: Mongoid Relationships
- Video: Queries (Find)
- Video: Queries (Where)
- Video: Pluck and Scope
- Video: Scaffolding
Graded: Mongoid and Rails Scaffold
WEEK 4
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).
22 videos, 1 reading, 3 practice quizzes expand
- Video: Welcome to Module 4: Web Services
- Reading: Github Repository for Module 4
- Video: Introduction to Web Services
- Video: REST and RMM
- Video: Resources
- Video: URIs
- Video: Nested URIs
- Video: Query Parameters
- Video: Methods
- Practice Quiz: Web Services and REST
- Video: Idempotence
- Video: Representations
- Video: Versioning
- Video: Content Negotiations
- Video: Headers and Status
- Practice Quiz: Interfaces
- Video: Client Caching
- Video: Cache Revalidation Headers
- Video: Cache Controls
- Video: Server Caching
- Practice Quiz: Caching
- Video: OAuth2
- Video: Assembly
- Video: Devise
- Video: Integrated Authentication
- Video: OAuth Integration
Graded: Web Services
Es wurden noch keine FAQ hinterlegt. Falls Sie Fragen haben oder Unterstützung benötigen, kontaktieren Sie unseren Kundenservice. Wir helfen gerne weiter!
