Create Couchbase Views
Offered By: Pluralsight
Course Description
Overview
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.
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.
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.
Syllabus
- Course Overview 2mins
- Getting Started with Views in Couchbase 45mins
- Customizing the Map Phase of a View 23mins
- Defining the Reduce Phase of a View 34mins
- Applying Best Practices for MapReduce Views 22mins
- Configuring and Deploying Views 26mins
Taught by
Kishan Iyer
Related Courses
Amazon API Gateway for Serverless ApplicationsAmazon Web Services via AWS Skill Builder Desarrollo de aplicaciones avanzadas con Android
Universidad Nacional Autónoma de México via Coursera Application Development using Microservices and Serverless
IBM via Coursera Заключительный курс по теме «Прикладная наука о данных»
IBM via Coursera Wire Up an Auction Website with GraphQL
Coursera Project Network via Coursera