Home » Web Dev » CouchDB Tutorial – Database for the Web

About Piyas De

Piyas De
Piyas is Sun Microsystems certified Enterprise Architect with 10+ years of professional IT experience in various areas such as Architecture Definition, Define Enterprise Application, Client-server/e-business solutions.Currently he is engaged in providing solutions for digital asset management in media companies.He is also founder and main author of "Technical Blogs (Blog about small technical Know hows)"

CouchDB Tutorial – Database for the Web

Course Overview

CouchDB, is an open source database that focuses on ease of use and on being “a database that completely embraces the web”. It is a NoSQL database that uses JSON to store data, JavaScript as its query language using MapReduce, and HTTP for an API. One of its distinguishing features is multi-master replication. CouchDB was first released in 2005 and later became an Apache project in 2008.

This is a hands-on course on CouchDB. You will learn how to install and configure CouchDB and how to perform common operations with it.

Additionally, you will build an example application from scratch and then finish the course with more advanced topics like scaling, replication and load balancing.

Want to be a HTML5 Ninja?

Subscribe to our newsletter and download the HTML5 Programming Cookbook right now!

In order to get you prepared for your HTML5 development needs, we have compiled numerous recipes to help you kick-start your projects. Besides reading them online you may download the eBook in PDF format!

 

About the Author

Piyas is a Sun Microsystems Certified Enterprise Architect with more than 10 long years of professional IT experience in various areas such as Architecture Definition, Enterprise Application, Client-server/ e-business solutions. He possesses hands on experience to handle a wide range of databases ranging from PostGreSQL, SQL Server7.0/2000, Oracle 8i, 10g to Sybase, MySQL and NoSQL databases like MongoDB.

He learns and writes about different aspects of open source technologies like Angular.js, Node.js, MongoDB, Google DART, Apache Lucene, Text Analysis with GATE and related Big Data technologies in his blog (www.phloxblog.in).

Lessons

CouchDb Installation – How to Install CouchDB

In the first lesson, you will learn how to install CouchDB on a variety of different platforms. A step by step guide will be provided for installing the NoSQL DB on Mac OS, Windows and Ubuntu Linux. For the more hardcore of you, the installation from sources if also included.

CouchDB: Basics and Operations

In this lesson, you will get introduced into the CouchDB fundamentals and the operations that accompany it. Initially, the web based interface Futon is discussed and then the various CRUD Operations are explained in detail. Examples of API commands referring to the Server, the Databases, the Documents and the Replication are provided. Finally, you will see how to work with documents and how to handle the different revisions of those.

CouchDB: Design documents

In this lesson, we will focus on Design documents, a special type of CouchDB document that contains application code. We will see how to use the relevant API to create, view, validate documents etc.

Building a Blog Application with CouchDB

In this lesson, we will build a blog application using the Javascript based Web Server Node.js along with CouchDB. For this purpose, we will use the swig client side javascript template engine, Node.js for server side development, middleware handling with express.js, CouchDb as the database and the Node.js Cradle Module Extension (to achieve communication with CouchDB).

Deploying and Optimizing CouchDB

In this lesson, we will explore some more advanced concepts, such as scaling our CouchDB server, performing replication, load balancing and clustering. Finally, we will see how to perform load testing using the Tsung framework.

Make sure to retweet this, let your social followers know!

Do you want to know how to develop your skillset to become a Web Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. Building web apps with Node.js

2. HTML5 Programming Cookbook

3. CSS Programming Cookbook

4. AngularJS Programming Cookbook

5. jQuery Programming Cookbook

6. Bootstrap Programming Cookbook

 

and many more ....

 

 

One comment

  1. Is it possible to have the article as PDF or Word Doc for download as reference

    tx

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook