couchdb+opensocial - osc 2009/fall tokyo
DESCRIPTION
CouchDB and Opensocial presentation at Open Source Conference 2009/Fall Tokyo.TRANSCRIPT
![Page 1: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/1.jpg)
Yohei Sasaki / id: yssk22
- CouchDB-JP
Social Relaxation
![Page 2: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/2.jpg)
id:yssk22 / @yssk22http://www.yssk22.info/Yohei Sasaki
CouchDB とのdeveloperWorks の記事
CouchDB + OpenSocial Container の実装実験中思考体操 + 遊び
CouchDB-JP で 勉強会実施中。積読回避作戦
Who am I?
s/ コシヒカリ / 天地人 /ビール
![Page 3: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/3.jpg)
http://journal.mycom.co.jp/series/webtool/026/index.html
My Sandbox : WebJourney
![Page 4: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/4.jpg)
2002 年ASP
MS Access
2004 年ASP.NET 1.0
ADO.NET
2006 年Ruby on Rails
ActiveRecord
2008 年CouchDB
Document Oriented Database
Scratch & Build!
Web 日記掲示板
オンラインゲームコミュニティ用
ウィジェット化
OpenSocial
イマココ
![Page 5: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/5.jpg)
CouchDB+OpenSocialSocial
DocumentsContainer
Documents
Shindig JS Library
Rack Application
WebJourney JS Client
CouchApp JS Library
Shindig(PHP) Apache Proxy
OpenSocial API CouchDB API
makeRequest
GadgetStorage
CouchApp Applications
Gadget XML Document CRUD
JSON-RPCREST REST
![Page 6: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/6.jpg)
CouchDB + OpenSocialREST/JSON-RPC 部分を CouchDB で実装
CouchDB View(MapReduce) で基本処理Rack Proxy で OpenSocial の REST/RPC ス
タイルに変換People, AppData, Activities, ... など
OpenSocial 0.8 Compliant Test は最低限突破 Python に代える予定
OpenSocial Application (gadget.xml) も CouchDB でホスト
![Page 7: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/7.jpg)
Demo?
Kakuei Tanaka
![Page 8: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/8.jpg)
CouchDB ReplicationSocial Network の全体 / 一部を複製できる。
CouchDB as an Application Serverデスクトップで動く。Gadget が JavaScript, CSS, HTML で全部動く
Server Side も JavaScript
OpenSocial Data = Document自分の入れたいデータを書く。
Why CouchDB?
![Page 9: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/9.jpg)
Web@2009mixi GREE
Facebook twittergmail hatena
flicker
自分のデータ
![Page 10: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/10.jpg)
イチブトゼンブmixi GREE
Facebook twittergmail hatena
flicker
イチブ
ゼンブ
![Page 11: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/11.jpg)
Personal Web Platformmixi GREE
Facebook twittergmail hatena
flicker
![Page 12: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/12.jpg)
ところで、 Mozilla Raindrop
https://wiki.mozilla.org/Raindrop/SoftwareArchitecture
![Page 13: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/13.jpg)
Mozilla Raindrop
https://wiki.mozilla.org/Raindrop/SoftwareArchitecture
mixi GREE
twittergmail hatena
flicker
イチブ
ゼンブ
![Page 14: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/14.jpg)
Raindrop Demo?
Tatewaki Komatsu
![Page 15: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/15.jpg)
Today we’re introducing Raindrop, an exploration in messaging innovation being led by the team responsible for Thunderbird, to explore new ways to use Open Web technologies to create useful, compelling messaging experiences. http://mozillalabs.com/blog/2009/10/introducing-raindrop/
聞いてみた How do you think Raindrop could talk with OpenSocial
protocols? Are there any plans? ... ちょっとこれ英語おかしい。
意訳:「シランガナ、ホカニヤリタイコトアルンダヨ」 I'm not familiar with OpenSocial, and it is safe to say we don't have any
plans at the moment to work with it. There are a number of other protocols we would like to support first.
OpenSocial やろうよ !
![Page 16: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/16.jpg)
Open Web っていってるのにそりゃないよ !I'll design & implement the integration ...
CouchDB が OpenSocial REST/JSON-RPC をはなすことで、 OpenSocial 対応のサイトのデータはひとまず Raindrop のメッセージングに乗せられるはず!
CouchDB が OpenSocial Container になれば、 OpenSocial アプリを使ってメッセージをコントロールできるはず!Raindrop はアプリケーションプラットフォームにもなりた
いようだけど。
OK, I see...
![Page 17: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/17.jpg)
【急募】コミッターJavaScript の Web 屋さん
href=tweetto:@yssk22
![Page 18: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/18.jpg)
RelaxCafe@CouchDB へCouchDB-JP 勉強会
現在 O'Reilly の CouchDB 本のまとめ中毎月第3金曜日 19:00 ぐらいから 2 時間
次回は 11/20( 金 ) 19:00 @ 新宿
ルノアールでコーヒーを飲みながら会場提供も大歓迎
途中からの参加も大歓迎前回までのまとめを最初にやります
CouchDB はどうやって覚えたらいい?
![Page 19: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/19.jpg)
CouchDB アプリケーションを作ろう / ハックしよう No-SQL! Server Side JavaScript Favor!
1 人でやると結構泣きます。
ハックネタ 本で題材になっているブログ チャット カレンダー Ubuntu One ...
今のところ 2009/12/26( 土 ) + 2009/01/9( 土 ) あたりを予定 午後半日 x 2 回ぐらいで。
12 月 /1 月は CouchDB Hackathon
![Page 20: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/20.jpg)
続きは RelaxCafe で
![Page 21: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/21.jpg)
Appendix
![Page 22: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/22.jpg)
WebJourney
![Page 23: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/23.jpg)
WebJourney
![Page 24: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/24.jpg)
Raindrop
![Page 25: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/25.jpg)
Ubuntu One
![Page 26: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/26.jpg)
CouchDB: The Definitive Guide
Copyright 2009, J. Chris Anderson, Jan Lehnardt & Noah Slater Creative Commons 3.0 http://books.couchdb.org/relax/ で参照可能
Publisher O'Reilly Media, Inc.
Last Updated on Safari 12-OCT-2009
Pub. Date November 15, 2009 (Estimated)
Print ISBN 978-0-596-15589-6
Print ISBN-13 978-0-596-15589-6
Pages in Print Edition 300
Google Group で校正中
![Page 27: CouchDB+OpenSocial - OSC 2009/Fall Tokyo](https://reader035.vdocuments.net/reader035/viewer/2022081414/54c91cff4a7959e7258b45b5/html5/thumbnails/27.jpg)
主催 Yohei Sasaki / yssk22 @CouchDB-JP
内容 本にある内容を元に、有志で発表
翻訳会、精読会、とは少し異なる
これまでの開催 2009/09/11 ルノアール6 丁目店
01. Why CouchDB ~ 04. The Core API 参加 :11 名
2009/10/16 ルノアール四谷店 05. Design Documents ~ 06. Finding Your Data with Views 参加 : 7 名
2009/11/20 ルノアール 新宿3 丁目店 07. Validation Functions ~ 09. Transforming Views with List Functions 参加 : ? 名 (10 名前後 )
Google Group で記録は掲載中 http://groups.google.co.jp/group/couchdb-jp/web/couchdb-definitive-guide
CouchDB: The Definitive Guide 勉強会