1.

Record Nr.

UNINA9910300646303321

Autore

Vohra Deepak

Titolo

Pro Couchbase Development [[electronic resource] ] : A NoSQL Platform for the Enterprise   / / by Deepak Vohra

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2015

ISBN

1-4842-1434-X

Edizione

[1st ed. 2015.]

Descrizione fisica

1 online resource (338 p.)

Collana

Expert's Voice in Databases

Disciplina

004

Soggetti

Big data

Software engineering

Computer programming

Big Data

Software Engineering/Programming and Operating Systems

Programming Techniques

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

"The Expert's Voice in Databases"--Cover.

Nota di bibliografia

Includes bibliographical references at the end of each chapters and index.

Nota di contenuto

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 Document;  Creating 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 Entities;  Summary; 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 View;  Summary; 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

Sommario/riassunto

Pro Couchbase Development: A NoSQL Platform for the Enterprise discusses programming for Couchbase using Java and scripting languages, querying and searching, handling migration, and integrating Couchbase with Hadoop, HDFS, and JSON. It also discusses migration from other NoSQL databases like MongoDB. This book is for big data developers who use Couchbase NoSQL database or want to use Couchbase for their web applications as well as for those migrating from other NoSQL databases like MongoDB and Cassandra. For example, a reason to migrate from Cassandra is that it is not based on the JSON document model with support for a flexible schema without having to define columns and supercolumns. The target audience is largely Java developers but the book also supports PHP and Ruby developers who want to learn about Couchbase. The author supplies examples in Java, PHP, Ruby, and JavaScript. After reading and using this hands-on guide for developing with Couchbase, you'll be able to build complex enterprise, database and cloud applications that leverage this powerful platform.