CouchDB in The Room

  • 1,232 views
Uploaded on

This is the slide to introduce CouchDB in Open source conffrence 2009 Tokyo fall.

This is the slide to introduce CouchDB in Open source conffrence 2009 Tokyo fall.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,232
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
12
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Dear Couchers... -CouchDB in the room- OSC 2009 Tokyo/Fall 15:15 - 16:00
  • 2. Agenda 1. Basic Relaxation(z.ohnami) 2. Social Relaxation(Mr.sasaki) 3. CMS Relaxation(Mr.Fujita)
  • 3. At first,Hot topics !! Hello !!
  • 4. 0.8.0 (incubating) 0.8.1 (incubating) 0.9.0 0.9.1 0.10.0 Beta
  • 5. Windows installer http://wiki.apache. org/couchdb/Windows_binary_installer
  • 6. RainDrop http://mozillalabs.com/raindrop
  • 7. Ubuntu One https://one.ubuntu.com/ http://damienkatz.net/pics/ubuntu_couchdb. png
  • 8. sponser CouchDB JP http://groups.google.co.jp/group/couchdb-jp?hl=ja
  • 9. Basic Relaxation What is CouchDB? by z.ohnami
  • 10. Who am I? It calls 'zetto ohnami' I'd worked at mainframe env(z/OS) DBA z/OS,DB2 current job DB Development consultant Building Virtulization env CouchDB guy I wrote the article at "@IT" No.1,No.2 is released. http://www.atmarkit.co.jp/fdb/rensai/09_couchdb/01/couchdb01.html http://www.atmarkit.co.jp/fdb/rensai/09_couchdb/02/couchdb01.html I'm enjoyning android programming,too.
  • 11. z.ohnami z-ohnami z_ohnami
  • 12. No1 CouchDB's Basics Check it !!
  • 13. We can acces via HTTP method GET(refer) POST(add) PUT(add/update) DELETE(delete)
  • 14. Document is map on URI http://servername:5984/DB name/doc name (example) http://z.ohnami.com:5984/my-memo/good-idea
  • 15. We treat data as JSON { "_id":"good-idea", "title":"how to be relax day off", "date":"2009-10-31", "descripiton":"yeah,Let's go to OSC", "equipment":["laptop","card","Poken"], "status":{ "guts":3, "thru":40, "heart beat":80 } }
  • 16. Wrapping up Access via HTTP GET PUT POST DELETE Reply as JSON format http://server name:5984/ { DBname/document name name:"z.ohnami", phone:"555", blood:"AA" }
  • 17. The structure of CouchDB CouchDB DB1 Document1 DB2 Document3 Document2 Document4 ・・・ ・ ・ ・ ・ ・ ・ "HTTP://servername:5984/DB name/document name" http://xxx.net:5984/DB1/document1 http://xxx.net:5984/DB2/document3 ・・・
  • 18. No.2 Design Document (「・ω・)「ガオー
  • 19. We can change various form using D.D
  • 20. More details...
  • 21. Let's use view !! change the key of document Document's default key is "_id" Add parameters getting view results. .../_design/d01/_view/gin-by-proof?key=30' .../_design/d01/_view/gin-by-proof?startkey=20&endkey=60' .../_design/d01/_view/gin-by-proof?descending=true' .../_design/d01/_view/gin-by-proof?descending=true&limit=10' Map & Reduce Each document is applied map function. Data summary is easy,if we use reduce
  • 22. show&list show Adjust document format JSON → HTML Relax!! list Adjust view's output format JSON → HTML Relax!! Data list → detail(list → show)is popular pattern
  • 23. No3 Replication Far away
  • 24. Push and Pull !! CouchDB "HTTP://servername:5984/_replicate" DB1 Document1 DB2' Document3 Document2 ・ Document4 ・ ・ ・ ・ ・ DB1' Document1 Other CouchDB Document2 DB2 Document3 ・ ・ Document4 ・ ・ ・ ・
  • 25. No.4 Application Development Where to use CouchDB?
  • 26. What kind of data is suitable for CouchDB? wanna know ?
  • 27. Document oriented database CouchDB is .
  • 28. If you can write down paper,Let's CouchDB!!
  • 29. Example paper(specification、order list、profile・・・・) card、Poken should use CouchDB book's page(photo is available) source code configuration file(like ini File)
  • 30. How do you set CouchDB ? like a furniture ?
  • 31. Off course.
  • 32. Off course,too
  • 33. CouchDB covers all layers !!
  • 34. Fun !!
  • 35. Wrapping up sum(Basic Relaxation);
  • 36. Let's use CouchDB!! put the data toward CouchDB with relax !! Most suitable data is paper data Enjoy Design Document & replication CouchDB is flexible to design system archtecutre
  • 37. Be relaxed !! Wait the next session ...