Intro; Contents at a Glance; Contents; About the Author; About the Technical Reviewer; Chapter 1: Why NoSQL?; What Is JSON?; What Is Wrong with SQL?; Advantages of NoSQL Databases; Scalability; Ultra-High Availability; Commodity Hardware; Flexible Schema or No Schema; Big Data; Object-Oriented Programming; Performance; Failure Handling; Less Administration; Asynchronous Replication with Auto-Failover; Caching for Read and Write Performance; Cloud Enabled; What Has Big Data Got to Do with NoSQL?; NoSQL Is Not without Drawbacks; BASE, Not ACID; Still New to the Field; Vendor Support Is Lacking.
Why Couchbase Server?Flexible Schema JSON Documents; Scalability; Auto-Sharding Cluster Technology; High Performance from High Throughput and Low Latency; Cluster High Availability; Cross Data Center Replication; Data Locality; Rack Awareness; Multiple Readers and Writers; Support for Commonly Used Object-Oriented Languages; Administration and Monitoring GUI; Who Uses Couchbase Server and for What?; Summary; Chapter 2: Using the Java Client; Setting Up the Environment; Creating a Maven Project; Creating a Data Bucket; Connecting to Couchbase Server; Creating a Document; Getting a Document.
Updating a DocumentCreating a View; Querying a View; Deleting a Document; Summary; Chapter 3: Using Spring Data; Setting Up the Environment; Creating a Maven Project; Installing Spring Data Couchbase; Configuring JavaConfig; Creating a Model; Using Spring Data with Couchbase with Template; Running Couchbase CRUD Operations; Save Ops; Remove Ops; Insert Ops; Exists Method; Find Ops; Query View; Update Ops; Bucket Callback; Using Spring Data Repositories with Couchbase; Creating the all View; Document Count; Finding Entities from the Repository; Finding if an Entity Exists; Saving Entities.
Deleting EntitiesSummary; Chapter 4: Accessing Couchbase with PHP; Setting the Environment; Installing PHP; Installing Couchbase PHP SDK; Creating a Document; Upserting a Document; Getting a Document; Replacing a Document; Incrementing and Decrementing a Document; Deleting a Document; Summary; Chapter 5: Accessing with Ruby; Setting the Environment; Installing Ruby; Installing DevKit; Installing Ruby Client Library; Connecting with Couchbase Server; Creating a Document in Couchbase Server; Setting a Document; Adding a Document; Retrieving a Document; Updating a Document; Deleting a Document.
Querying a Document with ViewSummary; Chapter 6: Using Node.js; Setting Up the Environment; Installing Node.js; Installing Node.js Client Library; Connecting with Couchbase Server; Creating a Document in Couchbase Server; Upserting a Document; Inserting a Document; Getting a Document; Updating a Document; Deleting a Document; Summary; Chapter 7: Using Elasticsearch; Setting the Environment; Installing the Couchbase Plugin for Elasticsearch; Configuring Elasticsearch; Installing the Elasticsearch Head Third-Party Plugin; Starting Elasticsearch; Providing an Index Template in Elasticsearch.