Book Image

Learning Couchbase

By : Henry Potsangbam
Book Image

Learning Couchbase

By: Henry Potsangbam

Overview of this book

This book achieves its goal by taking up an end-to-end development structure, right from understanding NOSQL document design to implementing full fledged eCommerce application design using Couchbase as a backend. Starting with the architecture of Couchbase to get you up and running, this book quickly takes you through designing a NoSQL document and implementing highly scalable applications using Java API. You will then be introduced to document design and get to know the various ways to administer Couchbase. Followed by this, learn to store documents using bucket. Moving on, you will then learn to store, retrieve and delete documents using smart client base on Java API. You will then retrieve documents using SQL like syntax call N1QL. Next, you will learn how to write map reduce base views. Finally, you will configure XDCR for disaster recovery and implement an eCommerce application using Couchbase.
Table of Contents (12 chapters)
Index

Chapter 11. Case Study – An E-Commerce Application

You have come a long way in understanding the various features provided by the Couchbase cluster. In the first chapter, you understood the concepts of NoSQL and the Couchbase architecture. Subsequently, we talked about how to interact with a Couchbase cluster using the admin web UI, CLI, and so on. Then, we talked about storing information in buckets and how to design documents for NoSQL databases. One of the main fundamentals that you need to keep in mind is to think in terms of denormalizing data. After that, we talked about Java client APIs used to interact with Couchbase to perform CRUD operations and retrieve documents using MapReduce programming, views, and N1QL. We also discussed the integration of ElasticSearch with Couchbase to provide full text search capabilities.

In this chapter, you will learn how to use Couchbase as a database for an e-commerce application. We will discuss some data models that pertain to e-commerce applications...