Cover image for Getting Started with CouchDB

Book description

CouchDB is a new breed of database for the Internet, geared to meet the needs of today’s dynamic web applications. With this concise introduction, you’ll learn how CouchDB’s simple model for storing, processing, and accessing data makes it ideal for the type of data and rapid response users now demand from your applications—and how easy CouchDB is to set up, deploy, maintain, and scale.

Table of Contents

  1. Getting Started with CouchDB
  2. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  3. Preface
    1. Introduction
    2. Conventions Used in This Book
    3. Using Code Examples
    4. Safari® Books Online
    5. How to Contact Us
    6. Acknowledgements
  4. 1. Why CouchDB?
    1. Learning to Relax
    2. A Different Data Model
    3. Replication
    4. Eventual Consistency
    5. Data: Local, Remote, Everywhere
    6. CouchDB Deployment and Peformance
  5. 2. Installation
    1. Installation on Linux
    2. Installation on Mac OS X
      1. Using Homebrew
      2. Using MacPorts
    3. Installation on Windows
    4. Installation from Source
      1. Configuring and Building CouchDB
      2. Running CouchDB
    5. Next Steps
  6. 3. CouchDB Basics
    1. Using Futon
      1. Managing Databases and Documents
      2. Configuring Replication
    2. Populating a Simple Database
      1. Creating Databases
      2. Creating Documents
      3. Updating Documents
      4. Deleting Documents
      5. Deleting Databases
      6. Common Operations
    3. HTTP Operations
    4. Errors
    5. HTTP Headers
      1. Request Headers
      2. Response Headers
    6. HTTP URL Paths
    7. JSON
    8. Documents
      1. Document Structure
      2. Document Types
      3. Structure and Consistency
  7. 4. Design Documents
    1. Creating Design Documents
    2. Shows
    3. Views
      1. View Basics
      2. Querying a View
        1. Querying on Complex Data
        2. Querying Compound Data
      3. Reduce Functions
        1. Built-in _count
        2. Built-in _sum
        3. Built-in _stats
        4. Custom reduce functions
        5. Error handling in views
        6. Temporary views
      4. Querying View Results
    4. Lists
  8. About the Author
  9. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  10. Copyright