couchconf tokyo customer presentation: docomo innovations (english)
DESCRIPTION
We developed PhotoShare application as an example mobile application based on an early preview of Mobile Syncpoint.TRANSCRIPT
1 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Customer Presentation: DOCOMO Innovations
2 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Introduction
• Yas Naoi
• DOCOMO Innovations, Inc.
• Project Manager / Architect
• Twitter: @yas
3 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
4 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Why Couchbase?
5 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Why Couchbase?
• NoSQL Datastore
6 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Why Couchbase?
• NoSQL Datastore
– Open Source
– Handles non-structured data by JSON
– RESTful
7 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Why Couchbase?
• NoSQL Datastore
– Open Source
– Handles non-structured data by JSON
– RESTful
• Internet Application Platform
8 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Why Couchbase?
• NoSQL Datastore
– Open Source
– Handles non-structured data by JSON
– RESTful
• Internet Application Platform
– Scalability by Scale-out
– Integration of Memory Cache and Data Store
– Mobile Application Development
→Multiple Devices and Data Synchronization
9 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Introducing PhotoShare App
10 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Introducing PhotoShare App
11 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Introducing PhotoShare App
• Project Goal
12 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Introducing PhotoShare App
• Project Goal
– Easy UI for Everyone, Especially for Low Literacy Users
– Sync for Photos, Mails, Calendar and Contacts by Android
– Master in Server, View in Client
– Multiple Device Support
13 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint
14 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Photo
Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint
Grandpa’s Client
Syncpoint Client
15 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Photo
Couchbase Syncpoint
Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint
Mail Contact Photo
Grandpa’s Client
Schedule
Syncpoint Client
16 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Photo
Couchbase Syncpoint
Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint
Mail Contact Photo
Grandpa’s Client
Data Sync by Couchbase Syncpoint - Cloud and Mobile Data Sync by
Couchbase Sync Protocol - Online / Offline Support by
Auto-Sync Schedule
Syncpoint Client
17 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Photo
Couchbase Syncpoint
Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint
Mail Contact Photo
Grandpa’s Client
Data Sync by Couchbase Syncpoint - Cloud and Mobile Data Sync by
Couchbase Sync Protocol - Online / Offline Support by
Auto-Sync Schedule
Mom’s PC
Photo
CouchSync
Syncpoint Client Syncpoint Client
18 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Photo
Couchbase Syncpoint
Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint
Mail Contact Photo
Grandpa’s Client
Data Sync by Couchbase Syncpoint - Cloud and Mobile Data Sync by
Couchbase Sync Protocol - Online / Offline Support by
Auto-Sync Schedule
Mom’s PC
Photo Photo
CouchSync
Syncpoint Client Syncpoint Client
Mom’s Smartphone
19 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Photo
Couchbase Syncpoint
Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint
Mail Contact Photo
Grandpa’s Client Mom’s Tablet
Data Sync by Couchbase Syncpoint - Cloud and Mobile Data Sync by
Couchbase Sync Protocol - Online / Offline Support by
Auto-Sync Schedule
Mom’s Smartphone
Mom’s PC
Photo Photo Photo
CouchSync
Syncpoint Client Syncpoint Client
20 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Demo Scenario ~ Sharing Photos with Users (Auto-Sync) ~
21 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Demo Scenario ~ Sharing Photos with Users (Auto-Sync) ~
Mom’s Tablet
撮影したPhoto
おじいちゃん
息子
お母さんのPhoto
22 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Demo Scenario ~ Sharing Photos with Users (Auto-Sync) ~
Tap
Tap Shared Foloder
Mom’s Tablet
撮影したPhoto
おじいちゃん
息子
お母さんのPhoto
撮影したPhoto
おじいちゃん
息子
お母さんのPhoto
23 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Demo Scenario ~ Sharing Photos with Users (Auto-Sync) ~
Tap
Tap Shared Foloder
Mom’s Tablet
Grandpa’s Tablet
撮影したPhoto
おじいちゃん
息子
お母さんのPhoto
撮影したPhoto
おじいちゃんのPhoto
撮影したPhoto
おじいちゃん
息子
お母さんのPhoto
• Reflect a photo from Mom’s Tablet to shared Folder by CouchSync immediately
24 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Development Environment
25 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Development Environment
• Client
26 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Development Environment
• Client
– Samsung Galaxy Tab 10.1 (Android OS 3.1)
– PhoneGap 1.2.0
– Android-Couchbase-Callback (https://github.com/couchbaselabs/Android-Couchbase-Callback)
27 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Development Environment
• Client
– Samsung Galaxy Tab 10.1 (Android OS 3.1)
– PhoneGap 1.2.0
– Android-Couchbase-Callback (https://github.com/couchbaselabs/Android-Couchbase-Callback)
• Server
28 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Development Environment
• Client
– Samsung Galaxy Tab 10.1 (Android OS 3.1)
– PhoneGap 1.2.0
– Android-Couchbase-Callback (https://github.com/couchbaselabs/Android-Couchbase-Callback)
• Server
– Couchbase Syncpoint (Early Preview)
29 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (Files)
30 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (Files)
• Client View
– _attachments/index.html
– _attachments/css/styles.css
– _attachments/images/*
31 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (Files)
• Client View
– _attachments/index.html
– _attachments/css/styles.css
– _attachments/images/*
• Client Controller
– _attachments/javascript/app.js (Implementation)
– _attachments/javascript/coux.js (Syncpoint Client)
32 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (Files)
• Client View
– _attachments/index.html
– _attachments/css/styles.css
– _attachments/images/*
• Client Controller
– _attachments/javascript/app.js (Implementation)
– _attachments/javascript/coux.js (Syncpoint Client)
• Couchbase の View
– views/friend-photos/map.js, reduce.js
– views/latest-photos/map.js
– views/share-photos/map.js, reduce.js
33 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (coux.js)
34 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (coux.js)
• coux (GET)
35 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (coux.js)
• coux (GET)
• coux.put (PUT)
36 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (coux.js)
• coux (GET)
• coux.put (PUT)
• coux.post (POST)
37 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Implementation (coux.js)
• coux (GET)
• coux.put (PUT)
• coux.post (POST)
• coux.changes (Callback)
38 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Architecture
39 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Architecture
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
40 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Architecture
Couchbase Syncpoint Preview
mom Channel
kid Channel
grandpa Channel
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
41 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Architecture
Couchbase Syncpoint Preview
mom Channel
kid Channel
grandpa Channel
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
CouchSync
42 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Architecture
Couchbase Syncpoint Preview
mom Channel
kid Channel
grandpa Channel
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
CouchSync
43 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Architecture
Couchbase Syncpoint Preview
mom Channel
kid Channel
grandpa Channel
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
CouchSync
44 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
Architecture
Couchbase Syncpoint Preview
mom Channel
kid Channel
grandpa Channel
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
CouchSync
45 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
Architecture
Couchbase Syncpoint Preview
mom Channel
kid Channel
grandpa Channel
Mobile Device
PhotoShare App
Channel
coux.js
app.js
Syncpoint Client
CouchSync
46 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Demo
47 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Download
48 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Download
• Android-Couchbase-Callback – https://github.com/couchbaselabs/Android-Couchbase-Callback
49 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Download
• Android-Couchbase-Callback – https://github.com/couchbaselabs/Android-Couchbase-Callback
• PhotoShare App – https://github.com/couchbaselabs/Android-Couchbase-
Callback/tree/master/examples
50 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Q&A
51 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.
Thank You
Yas Naoi [email protected]
+1-408-256-0855 Twitter: @yas
"Coming together is a beginning, keeping together is a progress; working together is a success.“ - Henry Ford