Learning CouchDB: Next-Generation Web Storage At Any Scale

Why should I attend this Training?
Listen to the FeatherCast interview with Chris Anderson and Jan Lehnardt

icon for podpress  Play Now | Play in Popup

Apache CouchDB can serve pure Ajax applications, using no middle-tier application server. Standalone CouchDB applications can be very quick and easy to develop and maintain, as well as being easily portable. They are ideal for in-house or education projects, as well as opening up novel opportunities using CouchDB's peer-based replication. We will build relationship tracking groupware using only HTML, JavaScript, and CouchDB. Users will be able to manage contact information, as well as add to do items tagged with different people and contexts. We'll design the application for sharing, so that a workgroup can maintain individual copies of the data, but also circulate updates to other members of their group, either on an ad-hoc p2p basis or via a central server. Participants will learn the fundamentals of data management with CouchDB, as well as the capabilities CouchDB makes available due to its HTTP/REST interface. We'll cover CouchDB's schema free JSON document model, include its implementation of MVCC. We'll learn to use CouchDB's MapReduce views to make orderly queries from heterogeneous data. We'll demonstrate CouchDB's peer-based replication, and understand it's implications for data portability. Upon completing the workshop, participants will be ready to use CouchDB in real-world applications. Using CouchDB's HTTP API via Ajax applications is great preparation for working with CouchDB in more "heavyweight" deployment scenarios. We also hope to show participants that the standalone model may be the best way to build applications for in-house deployment, education, or other scenarios where users are relatively trusted.