Create Couchbase Views

Couchbase views allow you to present to your users a variation of the underlying data in your bucket. This course covers how these can be designed using JavaScript and the MapReduce model, and then invoked using REST API calls.
Course info
Level
Intermediate
Updated
Mar 24, 2020
Duration
2h 35m
Table of contents
Description
Course info
Level
Intermediate
Updated
Mar 24, 2020
Duration
2h 35m
Description

Views in Couchbase allow you to present to your users a specific version of the underlying document data in a Couchbase bucket. This means that you can define which documents and which fields from those documents a user will see, which can also involve transforming this data before presenting to the user. Such views are coded in JavaScript using the MapReduce programming model.

We start off by creating a basic view using JavaScript in order to present data from a Couchbase bucket. We cover how views are invoked using a REST API call, and also how they can be created, modified and deleted using both the Web UI and the Couchbase API.

We then delve into the details of the map and reduce methods which constitute each Couchbase view, and explore how these can be used to filter, project and aggregate document data.

The course then moves on to the best practices when designing Couchbase views in order to create the most efficient and relevant views for your end users. We also look into how views effectively function as queries on document data by translating SQL to MapReduce views.

Finally, we explore use cases for views, which includes how their output can be filtered, and then use Couchbase views to simulate transactions.

Once you’re done with this course, you will be well-versed in the topic of Couchbase views! You will have a firm grasp of the MapReduce programming model and how it can be used with some basic JavaScript to present a view of your documents to users of your data.

About the author
About the author

An engineer at heart, I am drawn to any interesting technical topic. Big Data, ML and Cloud are presently my topics of interest.

More from the author
Design Data Models for Couchbase
Beginner
2h 7m
Sep 29, 2020
Recognize the Need for Document Databases
Beginner
1h 40m
Sep 18, 2020
Integrate Couchbase into Your Data Environment
Intermediate
2h 48m
Sep 15, 2020
More courses by Kishan Iyer
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] hi and welcome to discourse. Create couch based views. My name is Keisha Year on. I'll be your instructor for this course. A little about myself. First, I have a master's degree in computer science from Columbia University. On have previously worked in companies Deutsche Bank on WebMD in New York. Presently work for Loony Gone, a studio for high quality video content. Views in Couch Base allow you to present your users a specific version off the underlying document data in a couch based bucket. This means that you can define which documents on which feels from those documents are user. Will see on this can also involves transforming that data before presenting it to the user. Such views accorded in Java script using the map reduce programming model. We start off and, of course, but creating a basic view. You think Java script in order to present data from a couch based bucket Recover. How've you They're involved using arrest. Maybe I call on also how they can be created, modified on deleted. You think about the culture based Web you are on the FBI. We then delve into the details off the map and reduce methods which constitute each couch based view on Explore how this can be used to filter project on aggregate document data. The course then moves on to the best practices when designing couch page views in order to create the most efficient on relevant view for your end Youth Earth. We also look into how views effectively function of queries on document data by translating sequel to my produce views. Finally, the Explorer youth cases for views, which includes how their output can be filtered and then you've used in order to similar transactions. Once you're done with this course, you will be well versed in the topic off Coach Bass views. You will have a form graph of the map, reduce programming model and how it can be used with some basic Java script in order to prevent a view off your documents to the youth. Earth off your data