CouchConf Israel Developing with Couchbase
-
Upload
couchbase -
Category
Technology
-
view
494 -
download
10
Transcript of CouchConf Israel Developing with Couchbase
![Page 1: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/1.jpg)
1
Developing with Couchbase Server
Chris Anderson @jchris
![Page 2: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/2.jpg)
2
![Page 3: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/3.jpg)
2
Easy to
![Page 4: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/4.jpg)
Easy to Get
2
Easy to
![Page 5: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/5.jpg)
Easy to Get
2
(Building on) Open
Easy to
![Page 6: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/6.jpg)
LANGUAGE
3
![Page 7: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/7.jpg)
LANGUAGE Ruby, Java, PHP, C#, Python,
3
![Page 8: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/8.jpg)
LANGUAGE Ruby, Java, PHP, C#, Python,
3
More soon!
![Page 9: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/9.jpg)
SUPPORT ALL COUCHBASE 2.0
4
![Page 10: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/10.jpg)
SUPPORT ALL COUCHBASE 2.0
4
get, set, add, replace,
![Page 11: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/11.jpg)
SUPPORT ALL COUCHBASE 2.0
4
get, set, add, replace, touch, gat, getl,
![Page 12: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/12.jpg)
SUPPORT ALL COUCHBASE 2.0
views
4
get, set, add, replace, touch, gat, getl,
![Page 13: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/13.jpg)
BEST PRACTICES ARE
5
![Page 14: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/14.jpg)
BEST PRACTICES ARE
5
Data Access
![Page 15: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/15.jpg)
BEST PRACTICES ARE
Paginatio
5
Data Access
![Page 16: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/16.jpg)
BEST PRACTICES ARE
Paginatio
5
Data Access
Access to Development and Production
![Page 17: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/17.jpg)
6
THE SERVER
![Page 18: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/18.jpg)
6
THE SERVER(BUCKETS AND VIEWS)
![Page 19: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/19.jpg)
7
THE DATA
![Page 20: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/20.jpg)
7
THE DATA(PRESIDENTS AND U.S. EVENTS)
![Page 21: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/21.jpg)
8
THE VIEWS
![Page 22: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/22.jpg)
8
THE VIEWS(PRESIDENT_NAMES, BY_STATE,
![Page 23: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/23.jpg)
9
QUICK RUBY EXAMPLE
![Page 24: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/24.jpg)
9
QUICK RUBY EXAMPLE(COUCHBASE GEM IN IRB)
![Page 25: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/25.jpg)
10
![Page 26: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/26.jpg)
10
require 'couchbase'require 'uuid'DEFAULT_BUCKET_URL = 'http://localhost:8091/pools/default'couchbase = Couchbase.new(DEFAULT_BUCKET_URL)
![Page 27: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/27.jpg)
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’]
![Page 28: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/28.jpg)
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']}\"
}
![Page 29: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/29.jpg)
GET STARTED!
11
![Page 30: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/30.jpg)
GET STARTED!
11
http://github.com/couchbaselabs/php-
![Page 31: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/31.jpg)
GET STARTED!
11
http://github.com/couchbaselabs/php-
gem install couchbase
![Page 32: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/32.jpg)
GET STARTED!
11
http://github.com/couchbaselabs/php-
gem install couchbasehttp://www.couchbase.org/code/couchbase/
![Page 36: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/36.jpg)
HTTP://
12
DownloadsGetting Started
In-Depth Tutorials
![Page 37: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/37.jpg)
HTTP://
12
DownloadsGetting Started
In-Depth TutorialsScreencasts
![Page 38: CouchConf Israel Developing with Couchbase](https://reader031.fdocuments.us/reader031/viewer/2022013120/5aade4eb7f8b9a3d6a8b45fd/html5/thumbnails/38.jpg)
QUESTION
13