Couchbase essentials harness the power of couchbase to build flexible and scalable applications
This book is for those application developers who want to achieve greater flexibility and scalability from their software. Whether you are familiar with other NoSQL databases or have only used relational systems, this book will provide you with enough background to move you along at your own pace. I...
Otros Autores: | , , , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England ; Mumbai, [India] :
Packt Publishing
2015.
|
Edición: | 1st edition |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628911906719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Comfortable with Couchbase; The NoSQL landscape; NoSQL taxonomies; Installing Couchbase; Installing Couchbase on Linux; Installing Couchbase on Windows; Installing Couchbase on Mac OS X; Ports; Running Couchbase for the first time; Exploring the Couchbase Console; Couchbase architecture; Couchbase clusters; Replication; Balancing and rebalancing; Couchbase SDKs; RAM matters; Summary; Chapter 2: Using Couchbase CRUD Operations; The Couchbase SDKs; Basic operations
- Connecting to your clusterCreating and updating a record; Reading and deleting records; Advanced CRUD operations; Temporary keys; Appending and incrementing data; Storing complex types; Concurrency and locking; Asynchronous operations; Durability operations; Summary; Chapter 3: Creating Secondary Indexes with Views; Couchbase documents; Couchbase indexes; MapReduce; Map functions; Reduce functions; Couchbase MapReduce; Basic mapping; Basic reducing; Couchbase views; Couchbase Console; Development views; Design documents; Creating a view; Querying views; Grouping; Key queries
- Eventual consistencyCouchbase SDKs and views; Summary; Chapter 4: Advanced Views; Querying by type; Nested collections; Range queries; Multiple keys per document; Compound indexes; Grouping keys; Emitting values; Querying with beer-sample; Querying all documents by type; Counting breweries by location; Finding beer documents by brewery; Collated views; Summary; Chapter 5: Introducing N1QL; Installing N1QL; Simple queries; Null or missing properties; String utilities; Aggregation and math; Complex structures; Working with collections; Joins; SDK support; Summary
- Chapter 6: Designing a Schema-less Data ModelKey design; Keys, metadata, and RAM; Predictable keys; Unpredictable keys; Storing keys; Key restrictions; Document design; Denormalization; Object-to-document mappings; Data types; Document separation; Object schemas; Schema-less structure changes; Object and document properties; Document relationships; Finalizing the schema; Summary; Chapter 7: Creating a To-do App with Couchbase; A simple to-do schema; Working with SDKs; A brief overview of MVC; Using SDK clients; Creating a task; Listing tasks; Showing only incomplete tasks; Nested tasks
- SummaryAppendix: Couchbase SDKs; Couchbase Java SDK; Current version; How to obtain it; The basics; Couchbase .NET SDK; Current version; How to obtain it; The basics; Couchbase PHP SDK; Current version; How to obtain it; The basics; The Couchbase Node.js SDK; Current version; How to obtain it; The basics; Couchbase Python SDK; Current version; How to obtain it; The basics; Couchbase Ruby SDK; Current version; How to obtain it; The basics; Couchbase C SDK; Current version; How to obtain it; Index