O'Reilly logo

CouchDB and PHP Web Development Beginner's Guide by Tim Juravich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Using Design Documents for Views and Validation

So far, our application is not dramatically different from what you might do if you were using MySQL or some other relational database. But, in this chapter, we're really going to turn up the heat on what we can do with CouchDB by using it to handle a lot of things that may have been pain points with relational databases in the past.

In this chapter we will:

  • Define design documents
  • Learn about views and how to use them to query data
  • Discover the power of MapReduce functions
  • Play with CouchDB's validation function

Let's not waste time, and move right into talking about design documents.

Design documents

Design documents are one of the special things that CouchDB has in its arsenal that you might ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required