-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
CouchDB and PHP Web Development Beginner's Guide
By :
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 are one of the special things that CouchDB has in its arsenal that you might not expect from a database. On the surface, design documents look the same as regular documents. They have the standard fields: _id and _rev, and can be created, read, updated, and deleted. But unlike normal documents, they contain application code...
Change the font size
Change margin width
Change background colour