CouchConf Israel Developing with Couchbase

452 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
452
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • CouchConf Israel Developing with Couchbase

    1. 1. Developing with Couchbase ServerChris Anderson @jchris 1
    2. 2. 2
    3. 3. Easy to 2
    4. 4. Easy toEasy to Get 2
    5. 5. Easy to Easy to Get(Building on) Open 2
    6. 6. LANGUAGE 3
    7. 7. LANGUAGERuby, Java, PHP, C#, Python, 3
    8. 8. LANGUAGERuby, Java, PHP, C#, Python, More soon! 3
    9. 9. SUPPORT ALL COUCHBASE 2.0 4
    10. 10. SUPPORT ALL COUCHBASE 2.0 get, set, add, replace, 4
    11. 11. SUPPORT ALL COUCHBASE 2.0 get, set, add, replace, touch, gat, getl, 4
    12. 12. SUPPORT ALL COUCHBASE 2.0 get, set, add, replace, touch, gat, getl, views 4
    13. 13. BEST PRACTICES ARE 5
    14. 14. BEST PRACTICES ARE Data Access 5
    15. 15. BEST PRACTICES ARE Data Access Paginatio 5
    16. 16. BEST PRACTICES ARE Data Access PaginatioAccess to Development and Production 5
    17. 17. THE SERVER 6
    18. 18. THE SERVER(BUCKETS AND VIEWS) 6
    19. 19. THE DATA 7
    20. 20. THE DATA(PRESIDENTS AND U.S. EVENTS) 7
    21. 21. THE VIEWS 8
    22. 22. THE VIEWS(PRESIDENT_NAMES, BY_STATE, 8
    23. 23. QUICK RUBY EXAMPLE 9
    24. 24. QUICK RUBY EXAMPLE (COUCHBASE GEM IN IRB) 9
    25. 25. 10
    26. 26. require couchbaserequire uuidDEFAULT_BUCKET_URL = http://localhost:8091/pools/defaultcouchbase = Couchbase.new(DEFAULT_BUCKET_URL) 10
    27. 27. require couchbaserequire uuidDEFAULT_BUCKET_URL = http://localhost:8091/pools/defaultcouchbase = Couchbase.new(DEFAULT_BUCKET_URL)design_doc = couchbase.design_docs[‘design_doc’]design_doc.views[‘president_names’, ‘president_events’, ‘by_party’, ‘by_state’] 10
    28. 28. require couchbaserequire uuidDEFAULT_BUCKET_URL = http://localhost:8091/pools/defaultcouchbase = 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]}"} 10
    29. 29. GET STARTED! 11
    30. 30. GET STARTED!http://github.com/couchbaselabs/php- 11
    31. 31. GET STARTED! gem install couchbasehttp://github.com/couchbaselabs/php- 11
    32. 32. GET STARTED! gem install couchbasehttp://www.couchbase.org/code/couchbase/ http://github.com/couchbaselabs/php- 11
    33. 33. HTTP:// 12
    34. 34. HTTP://Downloads 12
    35. 35. HTTP:// DownloadsGetting Started 12
    36. 36. HTTP:// Downloads Getting StartedIn-Depth Tutorials 12
    37. 37. HTTP:// Downloads Getting StartedIn-Depth Tutorials Screencasts 12
    38. 38. QUESTION 13

    ×