Chapter 4. Designing a Document for Couchbase

The chapter will introduce the concepts of JSON, compare NoSQL with RDBMS, and explain how to manage relationships between various documents. It will also familiarize you with the document editor option so that you can create and edit a document using the web UI. We will try to understand the various ways of designing a document for a Couchbase cluster. Earlier, we specified that the developer doesn't need to worry about the schema. However, while developing any application, we do need some kind of schema modeling to provide a coherent schema and represent domain objects, though nothing as stringent as an RDBMS table structure.

Understanding JSON and non JSON data

Let's try to understand the representation ...

Get Learning Couchbase now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.