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.
8:15 - 8:45 am REGISTRATION
8:45 - 9:00 am INTRODUCTIONS
9:00 - 9: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.
9:50 - 10: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)
10:20 - 11:00 am 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.
11:05 - 12:30 pm LAB: Install Language SDK and do Basic Operations
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
12:40 - 1:30 pm LUNCH
1:30 - 2:40 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:50 - 4:15 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:20 - 5:40 pm Advanced Views & Map/Reduce Demonstration
6:00 - 8:00 pm AFTER PARTY
Join the Couchbase community at Howl at the Moon for a round of drinks!
Address: 184 High St, Boston, MA 02110