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


Published on

CouchDB and Opensocial presentation at Open Source Conference 2009/Fall Tokyo.
This is a translation presentation of

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

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

  1. 1. Yohei Sasaki / id: yssk22 <br />- CouchDB-JP<br />Social Relaxation<br />
  2. 2. id:yssk22 / @yssk22<br /><br />Yohei Sasaki<br />CouchDB and Me<br />developerWorks Japan Article Serialize<br />Non-Relational database at Web-era.<br /><br />developing an OpenSocial container on top of CouchDB<br />Community Meeting (CouchDB-JP)<br />Studying the CouchDB book : The Definitive Guide<br />Who am I?<br />My hometown Niigata! <br />
  3. 3.<br />a web journal in Japan introduced &quot;WebJourney&quot; as a iGoogle-like platform.<br />My Sandbox : WebJourney<br />
  4. 4. 2002~<br />ASP<br />MS Access<br />2004~<br />ASP.NET 1.0<br />ADO.NET<br />2006~<br />Ruby on Rails<br />ActiveRecord<br />2008~<br />CouchDB<br />Document Oriented Database<br />Scratch & Build!<br />Web DiaryBBS<br />MMORPG Community<br />Award on Rails 2007<br />Widget Platform<br />OpenSocial<br />We are here.<br />
  5. 5. CouchDB+OpenSocial<br />SocialDocuments<br />ContainerDocuments<br />GadgetStorage<br />CouchApp Applications<br />makeRequest<br />Gadget XML<br />Document CRUD<br />Rack Application<br />Shindig(PHP)<br />Apache Proxy<br />CouchDB API<br />OpenSocial API<br />JSON-RPC<br />REST<br />REST<br />CouchApp JS Library<br />Shindig JS Library<br />WebJourney JS Client<br />
  6. 6. CouchDB +OpenSocial<br />Implement OpenSocial WebAPI on CouchDB<br />base query = CouchDB View(MapReduce)<br />Combinations of CouchDB view + Rack Proxy<br />supports People API, AppData API, Activities API, ...<br />pass the OpenSocial 0.8 Compliant Test.<br />Python proxy support...<br />aim to integrate Raindrop?<br />OpenSocial Application (gadget.xml) is also hostedon CouchDB.<br />OpenSocial App = CouchApp + ext.<br />easy to develop gadget.xml<br />
  7. 7. WebJourneyDemo<br />Kakuei Tanaka<br />
  8. 8. CouchDB Replication<br />We can Replicate Social Network!<br />Social Network is not for SNS providers but for Yours!<br />CouchDB as an Application Server<br />Runs on the Local Web.<br />OpenSocial gadget is a set ofJavaScript, CSS, HTML.<br />Server Sideis still be PHP, Ruby, Java, ...? <br />NO! =&gt; CouchDB can host JavaScript application.<br />OpenSocial Data = Document<br />Your social data is defined by yourself.<br />Why CouchDB?<br />
  9. 9. Web@2009<br />GREE<br />flicker<br />mixi<br />twitter<br />gmail<br />hatena<br />Facebook<br />Your data<br />
  10. 10. Ichibu to Zenbu(means piece and all)<br />GREE<br />flicker<br />mixi<br />twitter<br />gmail<br />hatena<br />Facebook<br />piece<br />all<br />* Ichibu to Zenbu is the major mutic name in Japan.<br />
  11. 11. Personal Web Platform<br />GREE<br />flicker<br />mixi<br />twitter<br />gmail<br />hatena<br />Facebook<br />
  12. 12. BTW: Mozilla Raindrop<br /><br />
  13. 13. Mozilla Raindrop and ...<br />GREE<br />flicker<br />mixi<br />twitter<br />gmail<br />hatena<br />Facebook<br />イチブ<br />ゼンブ<br /><br />
  14. 14. Raindrop Demo<br />Tatewaki Komatsu<br />
  15. 15. 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.<br /><br /> <br />I asked...<br />How do you think Raindrop could talk viaOpenSocialprotocols? Are there any plans? <br />Answered..<br />I&apos;m not familiar with OpenSocial, and it is safe to say we don&apos;t have any plans at the moment to work with it.  There are a number of other protocols we would like to support first.<br />Let&apos;s try OpenSocial!<br />
  16. 16. What is Open Web!?<br />OpenSocial is an part of OpenWeb, isn&apos;t it!?<br />I&apos;ll design & implement the integration ...<br />OpenSocial data could exchanged on Raindrop if CouchDB would support OpenSocial API....<br />We could control our pieces of social messages if CouchDB would be anOpenSocial Container<br />Raindrop seems to aim the position of an application platform...<br />OK, I see...<br />
  17. 17. Join me.<br />JavaScript Freaks!<br />href=tweetto:@yssk22<br />
  18. 18. Come on RelaxCafe@CouchDB!<br />CouchDB-JP Community Meeting.<br />Nowchallenging to reading CouchDBbook<br />O&apos;Reilly books : The Definitive Guide.<br />start at 19:00 on the third Friday every month<br />Next meeting:11/20(Fri) 19:00 @ Shinjuku<br />with Relax Coffee in a cafe.<br />You can join on the way.<br />Every time, we&apos;ll discuss previous chapters.<br />So &quot;how do I study CouchDB?&quot;<br />
  19. 19. Try to hack CouchDB applications<br />No-SQL!<br />Server Side JavaScript Favor!<br />Hack materials<br />Blog app : (in the guide book)<br />Chat app<br />Calendar app<br />Ubuntu One<br />... and more.<br />The plan: 2009/12/26(Sat) + 2009/01/9(Sat)<br />half day Hacking x 2<br />CouchDB Hackathonon December and January<br />
  20. 20. To be continuedin Relax@Cafe.<br />
  21. 21. Appendix<br />
  22. 22. WebJourney<br />
  23. 23. WebJourney<br />
  24. 24. Raindrop<br />
  25. 25. Ubuntu One<br />
  26. 26. CouchDB: The Definitive Guide<br />Copyright 2009, J. Chris Anderson, Jan Lehnardt & Noah Slater<br />Creative Commons 3.0<br /><br />Publisher<br />O&apos;Reilly Media, Inc.<br />Last Updated on Safari<br />12-OCT-2009<br />Pub. Date<br />November 15, 2009 (Estimated)<br />Print ISBN<br />978-0-596-15589-6<br />Print ISBN-13<br />978-0-596-15589-6<br />Pages in Print Edition<br />300<br />
  27. 27. Host<br />Yohei Sasaki / yssk22 @CouchDB-JP<br />Contents<br />Summarized Sessions by volunteers.<br />Not a translation.<br />History<br />2009/09/11<br />01. Why CouchDB ~ 04. The Core API<br />11participants<br />2009/10/16 <br />05. Design Documents ~ 06. Finding Your Data with Views<br />7 participants<br />2009/11/20<br />07. Validation Functions ~ 09. Transforming Views with List Functions<br />? participants<br />Records at Google Group <br /><br />CouchDB: The Definitive Guide Study Meeting<br />