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

Replicating local data to production

The inner workings and background info on replication won't be covered in detail in this section, but you can find a full walkthrough in the bonus chapter titled Replicating your data, which is available on the Packt Publishing website.

To give you a quick overview, replication is the way that CouchDB transports data between one server and another. Replication is driven by the _rev field that lives in each document, the _rev field makes sure that your server knows which version has the correct data to use.

In this section, we'll replicate both the _users and verge databases so that all of our local data is available on the production server. You don't have to worry if your application has been live for a few ...

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