couchconf israel developing with couchbase
TRANSCRIPT
1
Developing with Couchbase Server
Chris Anderson @jchris
2
2
Easy to
Easy to Get
2
Easy to
Easy to Get
2
(Building on) Open
Easy to
LANGUAGE
3
LANGUAGE Ruby, Java, PHP, C#, Python,
3
LANGUAGE Ruby, Java, PHP, C#, Python,
3
More soon!
SUPPORT ALL COUCHBASE 2.0
4
SUPPORT ALL COUCHBASE 2.0
4
get, set, add, replace,
SUPPORT ALL COUCHBASE 2.0
4
get, set, add, replace, touch, gat, getl,
SUPPORT ALL COUCHBASE 2.0
views
4
get, set, add, replace, touch, gat, getl,
BEST PRACTICES ARE
5
BEST PRACTICES ARE
5
Data Access
BEST PRACTICES ARE
Paginatio
5
Data Access
BEST PRACTICES ARE
Paginatio
5
Data Access
Access to Development and Production
6
THE SERVER
6
THE SERVER(BUCKETS AND VIEWS)
7
THE DATA
7
THE DATA(PRESIDENTS AND U.S. EVENTS)
8
THE VIEWS
8
THE VIEWS(PRESIDENT_NAMES, BY_STATE,
9
QUICK RUBY EXAMPLE
9
QUICK RUBY EXAMPLE(COUCHBASE GEM IN IRB)
10
10
require 'couchbase'require 'uuid'DEFAULT_BUCKET_URL = 'http://localhost:8091/pools/default'couchbase = Couchbase.new(DEFAULT_BUCKET_URL)
10
require 'couchbase'require 'uuid'DEFAULT_BUCKET_URL = 'http://localhost:8091/pools/default'couchbase = Couchbase.new(DEFAULT_BUCKET_URL)
design_doc = couchbase.design_docs[‘design_doc’]design_doc.views[‘president_names’, ‘president_events’, ‘by_party’, ‘by_state’]
10
require 'couchbase'require 'uuid'DEFAULT_BUCKET_URL = 'http://localhost:8091/pools/default'couchbase = Couchbase.new(DEFAULT_BUCKET_URL)
design_doc = couchbase.design_docs[‘design_doc’]design_doc.views[‘president_names’, ‘president_events’, ‘by_party’, ‘by_state’]
design_doc.president_names(:reduce => false).each { |doc|puts \"#{doc['key']}: #{doc['value']}\"
}
GET STARTED!
11
GET STARTED!
11
http://github.com/couchbaselabs/php-
GET STARTED!
11
http://github.com/couchbaselabs/php-
gem install couchbase
GET STARTED!
11
http://github.com/couchbaselabs/php-
gem install couchbasehttp://www.couchbase.org/code/couchbase/
HTTP://
12
DownloadsGetting Started
In-Depth Tutorials
HTTP://
12
DownloadsGetting Started
In-Depth TutorialsScreencasts
QUESTION
13