Couchbase Lite with PhoneGap
Lorin Beer– Adobe
J. Chris Anderson – Couchbase
Couchbase Lite
The only
Native NoSQL
Database for
Mobile
JSON Anywhere

Couchbase
Server

JS N

Sync Gateway Server

Lite

JS N

JS N
• JSON on the device • JSON on the wire
-

De...
The Complete Mobile Solution
Architecture
On Premise

In the cloud
Couchbase Server
SERVER 1

Sync Gateway
Channel

Channel

SERVER 2

SERVER 3

Sync G...
Lorin Beer – Adobe PhoneGap
Get Started

mobile.couchbase.com
Sample Apps
https://github.com/lorinbeer/anoter
https://github.com/couchbaselabs/TodoLit...
Photo Attachment
Sync Gateway
Channel A

Doc 1

Channel A

Doc 2
Channel B

Doc 2

Doc 1

Doc 2

Channel A & B

Channel B
Data

Data Routing
Data

Data Routing
Data

Data

Data Routing
Data

Data Routing
Data

Data

Data Routing
Data

Data

Data Routing
Sync Function
Your cloud in one page of code.

• Application code run
in the cloud
• Access control
• Channel routing
• Up...
Sync Gateway: App Logic & Storage
Authentication

function(doc, oldDoc) {
…
requireUser(oldDoc.owner);
…
channel(doc.chann...
Thank you!
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications
Upcoming SlideShare
Loading in...5
×

Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications

3,717

Published on

PhoneGap is an open-source framework that allows developers to create cross-platform mobile apps using standard web technologies: HTML, CSS, and Javascript. Couchbase Lite is a secure, ultra-lightweight NoSQL database built for the online/offline mobile world and the first native NoSQL database for mobile devices. In this webinar you'll see how you can use PhoneGap and Couchbase Lite together to create highly responsive, datacentric applications in HTML5 or JavaScript that are always-available regardless of network connectivity.

In this webinar you will see:

Introduction to Couchbase Lite and overview of the "JSON Anywhere" strategy of Couchbase
Introduction to PhoneGap
Description of the Couchbase-PhoneGap plugin
Overview of the basic usage of PhoneGap and Couchbase Lite (Implementation of multimedia note taking functionality, PhoneGap API, basic online/offline storage using Couchbase)
Demo of cross-device data synching through note-sharing functionality of the app

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,717
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
30
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Use sentence from press releaseNeed an example list.** *** Do [ Sync Gateway] and [Server] [Lite] MUST USE COLORSPull out Android and AppleCouchbase outside as wellCouchbase logo on server and devices – not hidden on serverCouchbase server say this in the cloudThe bullets need fixing.
  • Webinar - Using PhoneGap and Couchbase Lite to Create Data-Intensive Applications

    1. 1. Couchbase Lite with PhoneGap Lorin Beer– Adobe J. Chris Anderson – Couchbase
    2. 2. Couchbase Lite The only Native NoSQL Database for Mobile
    3. 3. JSON Anywhere Couchbase Server JS N Sync Gateway Server Lite JS N JS N • JSON on the device • JSON on the wire - Developers increasingly prefer NoSQL database - No need for data transformation • JSON in the cloud - Flexible data model - High performance - Easy scalability
    4. 4. The Complete Mobile Solution
    5. 5. Architecture On Premise In the cloud Couchbase Server SERVER 1 Sync Gateway Channel Channel SERVER 2 SERVER 3 Sync Gateway Channel Channel Couchbase Lite for iOS and Android
    6. 6. Lorin Beer – Adobe PhoneGap
    7. 7. Get Started mobile.couchbase.com Sample Apps https://github.com/lorinbeer/anoter https://github.com/couchbaselabs/TodoLite-PhoneGap Couchbase Cloud http://www.couchbasecloud.com
    8. 8. Photo Attachment
    9. 9. Sync Gateway
    10. 10. Channel A Doc 1 Channel A Doc 2 Channel B Doc 2 Doc 1 Doc 2 Channel A & B Channel B
    11. 11. Data Data Routing
    12. 12. Data Data Routing
    13. 13. Data Data Data Routing
    14. 14. Data Data Routing
    15. 15. Data Data Data Routing
    16. 16. Data Data Data Routing
    17. 17. Sync Function Your cloud in one page of code. • Application code run in the cloud • Access control • Channel routing • Update Validation
    18. 18. Sync Gateway: App Logic & Storage Authentication function(doc, oldDoc) { … requireUser(oldDoc.owner); … channel(doc.channel); … access(doc.members, doc.roomID); } App’s Sync Function Revision/Co nflict Management rev 3a rev 1 rev 2 rev 3b Couchbase Smart Client to Couchbase Server
    19. 19. Thank you!
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×