CouchDB(document-oriented database management system)

Posted: September 27, 2010 in IT-TECH
Tags:

CouchDB is a document-oriented database management system, released under the open source
Apache License.  In contrast to most database systems, it stores data in a schema-free manner. This
means that, unlike traditional SQL-based databases, there are no tables and columns, primary and
foreign keys, joins, and relationships. Instead, CouchDB stores data in a series of documents and offers a
JavaScript-based view model for aggregating and reporting on the data.CouchDB is developed in
Erlang OTP, a fault-tolerant programming language that offers excellent concurrency features, and you
know that your CouchDB database will scale well without a loss of reliability and availability.

To use the CouchDB API, you issue an HTTP request to the CouchDB server. What the server does
with your request depends on the URI you are issuing the request to, the request method you are using
(GET, POST, PUT, DELETE), and the data you send along with your request. When the server has
finished processing your request, it will return the data (or details of any error that may have been
encountered) or a suitable JSON response. You can then parse the JSON in your application and display
the results of the transaction accordingly

Parsing JSON is quite simple, and using a JavaScript framework such as Prototype or jQuery makes
sending HTTP requests and parsing JSON responses very simple using Ajax methods. As JSON increases
in popularity, many languages are including support in their standard library. For languages that don’t
have built-in support, there is a wide selection of third-party extensions to almost all popular languages

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s