Developing with Couchbase Server
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-3116-0 (ISBN)
Today’s highly interactive websites pose a challenge for traditional SQL databases—the ability to scale rapidly and serve loads of concurrent users. With this concise guide, you’ll learn how to build web applications on top of Couchbase Server 2.0, a NoSQL database that can handle websites and social media where hundreds of thousands of users read and write large volumes of information.
Using food recipe information as examples, this book demonstrates how to take advantage of Couchbase’s document-oriented database design, and how to store and query data with various CRUD operations. Discover why Couchbase is better than SQL databases with memcached tiers for managing data from the most interactive portions of your application.
- Learn about Couchbase Server’s cluster-based architecture and how it differs from SQL databases
- Choose a client library for Java, .NET, Ruby, Python, PHP, or C, and connect to a cluster
- Structure data in a variety of formats, from serialized objects, a stream of raw bytes, or as JSON documents
- Learn core storage and retrieval methods, including document IDs, expiry times, and concurrent updates
- Create views with map/reduce and learn Couchbase mechanisms for querying and selection
A professional writer for over 15 years, Martin 'MC' Brown is the author and contributor to over 26 books covering an array of topics, including programming, system management and web technologies. His expertise spans myriad development languages and platforms - Perl, Python, Java, JavaScript, Basic, Pascal, Modula-2, C, C++, Rebol, Gawk, Shellscript, Windows, Solaris, Linux, BeOS, Microsoft WP, Mac OS and more. The combination has resulted in expertise in web programming, systems management and integration, and XML and DocBook technologies for writing and publishing documentation. A former LAMP Technologies Editor for LinuxWorld magazine and is a regular contributor to ServerWatch.com, LinuxPlanet, ComputerWorld and IBM developerWorks. As a Subject Matter Expert for Microsoft he provided technical input to their Windows Server and certification teams. He draws on a rich and varied background as founder member of a leading UK ISP, systems manager and IT consultant for an advertising agency and Internet solutions group, technical specialist for an intercontinental ISP network, and database designer and programmer - and as a self-confessed compulsive consumer of computing hardware and software. In his pre-writing life he spent more than 10 years designing and managing mixed platform environments. As a result he has developed a rare talent of being able to convey the benefits and intricacies of his subject with equal measures of enthusiasm, professionalism, in-depth knowledge and insight. A past technical writer building both the documentation system and writing content for MySQL and the MySQL groups within Sun and then Oracle. MC is currently the VP of Documentation for Couchbase and is responsible for all published documentation, training programme and content, and the the Couchbase Techzone.
Chapter 1 Couchbase Overview
Architecture and Structure
Buckets and vBuckets
Data Storage and Retrieval
Views, Indexes, and Querying
Comparing Couchbase to SQL Databases
Use Cases
Chapter 2 Getting Started
Installing Couchbase Server
Couchbase Client Libraries
Buckets
Connecting to a Cluster
Chapter 3 Document-based Database Design
JSON Overview
Modeling Recipe Data
Related Data
Chapter 4 Getting Data In and Out
Basic Interface
Document Identifiers
Time to Live (TTL)
Storing Data
Retrieving Data
Updating Data
Concurrent Updates
Server-side Updates
Asynchronous Operations
Pessimistic Locking
Deleting Data
Chapter 5 Storing and Updating Recipes
Initial Storage
Editing
Loading Recipe
Storing Related Data
Loading Related Data
Documents Aren’t Everything
Chapter 6 Views and Queries
Creating Views on Your Data
Accessing Views from a Client Library
Querying and Selection
Other Options
Dealing with Different Document Formats
View Values and Reduction
Index Updates
Searching and Querying Examples
Reductions
Document Metadata
Chapter 7 Next Steps
Couchbase Server Resources
Couchbase Developer Resources
Colophon
Erscheint lt. Verlag | 19.3.2013 |
---|---|
Verlagsort | Sebastopol |
Sprache | englisch |
Maße | 178 x 233 mm |
Gewicht | 155 g |
Einbandart | kartoniert |
Themenwelt | Mathematik / Informatik ► Informatik ► Datenbanken |
ISBN-10 | 1-4493-3116-5 / 1449331165 |
ISBN-13 | 978-1-4493-3116-0 / 9781449331160 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich