by Aravind R S on Tuesday, 23 August 2011

+27
Vote on this proposal
Status: Submitted
Section
Default

Session type
Tutorial

Technical level
Intermediate

Objective

Understand what CouchDB can do and learn how to build a CouchApp.

Description

CouchDB is a schema-free document database that uses stored JavaScript functions for indexing and querying, and is accessed over a RESTful HTTP/JSON API.

CouchApps are applications hosted entirely within CouchDB, which serves as the web server, application layer and database all at once.

In addition to simplifying the server-side to just one piece of software infrastructure, CouchApps also benefit from the excellent replication capabilities built into CouchDB.

Although not every application would work well as a CouchApp, the API is flexible enough to suit a variety of scenarios - for example applications that need flexible schemas, REST APIs, CRUD pages, fine-grained access control, etc. can be built more quickly and robustly using CouchDB.

CouchDB concepts (map/reduce, update validation, list and show functions), tools (node couchapp) and techniques (access control, external processes) will be introduced and demonstrated by building a simple Point-of-Sale application as a CouchApp.

Requirements

Some experience with Javascript; Optionally, a laptop with CouchDB installed to follow the examples.

Comments

  • 1
    [-] Bhaskar teja Yerneni (@prudhviy) 5 years ago

    https://github.com/basho/erlang_js is the library that makes it possible for couchdb to connect to spidermonkey runtime. worth reading

  • 1
    [-] Aravind Ravi Sulekha (@aravindet) 5 years ago

    Hi,

    Please fill a really short survey (just 2 questions) to help me figure out your level of experience and technology preferences, so that I can tailor the talk accordingly. It will be Really helpful, so please go to the link below and fill it up. Did I mention it's only two questions?

    https://docs.google.com/a/dealhunt.in/spreadsheet/viewform?hl=en_US&formkey=dElxYXByT1JaN3JLeVF2eVdHTGc1WVE6MQ#gid=0

    Thanks! Aravind

Login with Twitter or Google to leave a comment