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 5. Connecting your Application to CouchDB

Now that we have the framework for our application built, let's talk about what needs to happen for our application to communicate with CouchDB.

We'll talk through the following points in this chapter:

  • Investigate the quick and easy way to interact with CouchDB, and talk about its shortcomings
  • Look at existing libraries to ease in PHP and CouchDB development
  • Install Sag and integrate it into Bones
  • Have our signup form create CouchDB documents and verify with Futon

Before we get started

Before we do anything, let's create a database that we'll use from this point forward for Verge. As we've done before, let's create a database using curl.

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