JSFoo 2011
It’s like kung fu with JavaScript and objects! All about building full size apps in JavaScript.
Oct 2011
26 Mon
27 Tue
28 Wed
29 Thu
30 Fri
1 Sat 09:00 AM – 09:20 AM IST
2 Sun
Aravind R S
Understand what CouchDB can do and learn how to build a CouchApp.
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.
Some experience with Javascript; Optionally, a laptop with CouchDB installed to follow the examples.
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}