couchdb+opensocial - osc 2009/fall tokyo (en)

27
Yohei Sasaki / id: yssk22 - CouchDB-JP Social Relaxation

Upload: yohei-sasaki

Post on 29-Jan-2015

122 views

Category:

Technology


0 download

DESCRIPTION

CouchDB and Opensocial presentation at Open Source Conference 2009/Fall Tokyo.This is a translation presentation of http://www.slideshare.net/yssk22/couchdbopensocial-osc-2009fall-tokyo

TRANSCRIPT

Page 1: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Yohei Sasaki / id: yssk22

- CouchDB-JP

Social Relaxation

Page 2: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

id:yssk22 / @yssk22http://www.yssk22.info/Yohei Sasaki

CouchDB and MedeveloperWorks Japan Article Serialize

Non-Relational database at Web-era. http://www.ibm.com/developerworks/jp/views/web/libraryview.jsp?

search_by=Web+%E6%99%82%E4%BB%A3%E3%81%AE%E9%9D%9E%E3%83%AA%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%8A%E3%83%AB%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9

developing an OpenSocial container on top of CouchDBCommunity Meeting (CouchDB-JP)

Studying the CouchDB book : The Definitive Guide

Who am I?

My hometown Niigata!

Page 3: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

http://journal.mycom.co.jp/series/webtool/026/index.htmla web journal in Japan introduced

"WebJourney" as a iGoogle-like platform.

My Sandbox : WebJourney

Page 4: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

2002~ASP

MS Access

2004~ASP.NET 1.0

ADO.NET

2006~Ruby on Rails

ActiveRecord

2008~CouchDB

Document Oriented Database

Scratch & Build!

Web DiaryBBS

MMORPG Community

Widget Platform

OpenSocial

We are here.

Award on Rails 2007

Page 5: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

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 (En)

CouchDB + OpenSocialImplement OpenSocial WebAPI on CouchDB

base query = CouchDB View(MapReduce)Combinations of CouchDB view + Rack Proxy

supports People API, AppData API, Activities API, ...pass the OpenSocial 0.8 Compliant Test.

Python proxy support...aim to integrate Raindrop?

OpenSocial Application (gadget.xml) is also hosted on CouchDB.OpenSocial App = CouchApp + ext.

easy to develop gadget.xml

Page 7: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

WebJourney Demo

Kakuei Tanaka

Page 8: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

CouchDB ReplicationWe can Replicate Social Network!

Social Network is not for SNS providers but for Yours!

CouchDB as an Application ServerRuns on the Local Web.OpenSocial gadget is a set of JavaScript, CSS,

HTML.Server Side is still be PHP, Ruby, Java, ...? NO! => CouchDB can host JavaScript application.

OpenSocial Data = DocumentYour social data is defined by yourself.

Why CouchDB?

Page 9: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Web@2009mixi GREE

Facebook twittergmail hatena

flicker

Your data

Page 10: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Ichibu to Zenbu(means piece and all)

mixi GREE

Facebook twittergmail hatena

flicker

piece

all

* Ichibu to Zenbu is the major mutic name in Japan.

Page 11: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Personal Web Platformmixi GREE

Facebook twittergmail hatena

flicker

Page 12: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

BTW: Mozilla Raindrop

https://wiki.mozilla.org/Raindrop/SoftwareArchitecture

Page 13: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Mozilla Raindrop and ...

https://wiki.mozilla.org/Raindrop/SoftwareArchitecture

mixi GREE

Facebook

twittergmail hatena

flicker

イチブ

ゼンブ

Page 14: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Raindrop Demo

Tatewaki Komatsu

Page 15: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

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/

http://groups.google.com/group/raindrop/browse_thread/thread/19c03d90d53f2fe6 I asked...

How do you think Raindrop could talk viaOpenSocial protocols? Are there any plans?

Answered.. 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.

Let's try OpenSocial!

Page 16: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

What is Open Web!?OpenSocial is an part of OpenWeb, isn't it!?

I'll design & implement the integration ...OpenSocial data could exchanged on Raindrop

if CouchDB would support OpenSocial API....

We could control our pieces of social messages if CouchDB would be an OpenSocial ContainerRaindrop seems to aim the position of an

application platform...

OK, I see...

Page 17: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Join me.

JavaScript Freaks!

href=tweetto:@yssk22

Page 18: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Come on RelaxCafe@CouchDB!CouchDB-JP Community Meeting.

Now challenging to reading CouchDB bookO'Reilly books : The Definitive Guide.start at 19:00 on the third Friday every month

Next meeting: 11/20(Fri) 19:00 @ Shinjuku

with Relax Coffee in a cafe.

You can join on the way.Every time, we'll discuss previous chapters.

So "how do I study CouchDB?"

Page 19: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Try to hack CouchDB applicationsNo-SQL!Server Side JavaScript Favor!

Hack materialsBlog app : (in the guide book)Chat appCalendar appUbuntu One ... and more.

The plan: 2009/12/26(Sat) + 2009/01/9(Sat)half day Hacking x 2

CouchDB Hackathon on December and January

Page 20: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

To be continued

in Relax@Cafe.

Page 21: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Appendix

Page 22: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

WebJourney

Page 23: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

WebJourney

Page 24: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Raindrop

Page 25: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Ubuntu One

Page 26: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

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

Page 27: CouchDB+OpenSocial - OSC 2009/Fall Tokyo (En)

Host Yohei Sasaki / yssk22 @CouchDB-JP

Contents Summarized Sessions by volunteers.

Not a translation.

History 2009/09/11

01. Why CouchDB ~ 04. The Core API 11 participants

2009/10/16 05. Design Documents ~ 06. Finding Your Data with Views 7 participants

2009/11/20 07. Validation Functions ~ 09. Transforming Views with List Functions ? participants

Records at Google Group http://groups.google.co.jp/group/couchdb-jp/web/couchdb-definitive-guide

CouchDB: The Definitive Guide Study Meeting