Couchbase Amsterdam Developer Day 2013
Monday, May 13, 2013 from 9:15 AM to 5:00 PM (CEST)
The goal of Couchbase Developer Days is to give everyone a basic understanding of Couchbase Server 2.0 and how to use it. We will get you setup to work with Couchbase in your preferred language, make connections and do basic operations. We will get you more comfortable with Views, how they work, how to create and query them. Finally we will cover managing a Couchbase cluster, what the graphs mean and how to grow the cluster.
9:15 - 9:45 am REGISTRATION
9:45 - 10:00 am INTRODUCTIONS
10:00 - 10:45 am Intro to Couchbase 2.0
Cover the primary features of Couchbase 2.0: JSON support, Indexing (Map/Reduce), Elastic Search, XDCR, Basic Architecture.
10:50 - 11:15 am LAB: Install Couchbase 2.0
Get Setup with Couchbase 2.0 on laptop with beer-sample
Understand the Setup options in the Wizard (slides)
Tour of the Admin Console (slides)
11:20 - 12:00 pm Intro to Couchbase Basic Operations
Cover the anatomy of a Document, metadata and document data. Cover all the basic operations of storing a JSON document, and creating atomic counters. Operations: connect, get, set, add, replace, cas, incr, decr, and get into a few specifics like get with lock and cas.
12:00 - 12:45 pm LUNCH
Install/Setup your preferred Language SDK on your laptop
Make a Connection to Couchbase Server 2.0
Do basic operations: get, set, add, replace, incr, decr
Do advanced operations: get with lock, cas
Create a Class and save to JSON, and then retrieve and load the Class from the JSON, make changes to the object model and update the schema
1:20 - 2:25 pm Intro to Map/Reduce (Views)
Cover why Views are used, the basic use cases for Views. Cover the anatomy of map/reduce functions, simple and compound keys using beer-sample database/views. Cover the differences between an Indexer (Design Document) and an Index (View) in terms of resources, updates, etc. Cover development subset, full cluster data, and publishing a Design Doc as well as best practices. Cover querying features: group, group level, startkey, endkey, startkey_docid, endkey_docid, stale, reduce, descending. Show variantions on the examples, how you would change them to achieve other things.
2:30 - 4:00 pm LAB: Working with Views and Map/Reduce
Create a View object in your preferred language
Query a beer-sample view in your preferred language
Vary the query on beer-sample view to get different results (startkey, endkey)
Vary the query on beer-sample view to get different results (group, reduce)
Create a new view using the beer-sample
Query the newly created view
4:05 - 5:00 pm Advance Views & Map/Reduce Demonstration
5:00 - 7:00 pm AFTER PARTY