COUCHDB on iOS
Data Syncing & Stuff
Monday, 23 September, 13
Who are we?
Os
@djshiow
Meiwin
@meiwin
We are the developers of ISIS app
Monday, 23 September, 13
Agenda
• CouchDB
• What is it?
• Couch DB on iOS
• Couch DB in the wild
• Demo
• ISIS App
• “Hello Couch” App
Monday, 23 S...
What is
• NoSQL database, document-based, JSON
{
"Subject": "I like Plankton",
"Author": "Rusty",
"PostedDate": "5/23/2006...
What is
• Key Features
• Schema Free
• Access document by key
• Views (~Index)
• Peer-based replication (syncing)
Monday, ...
Peer-based replication
• CouchDB can be hosted on server and
client (i.e. iOS app)
• Each host can work offline
• Full data...
Couch DB on iOS
• A lightweight version of Couch DB for
mobile
• Small foot print, good performance
• Recently changed to ...
Touch DB: Benefits
• Works offline & sync when online
• Good for Data sync engine
• No Schema : Flexibility
• Fast query by ...
Touch DB: Challenges
• Slow “Advanced” queries & view building
on iOS
• Solution: Customize and use coredata
• (A bit) har...
Couch DB in the wild
• Who uses it:
• Draw something
• (Part of) Linked In
• McGraw-Hill,Amadeus,Allrecipes.com ...
• Host...
Demo
Monday, 23 September, 13
Q&A?
Monday, 23 September, 13
Upcoming SlideShare
Loading in …5
×

CouchDB on iOS

1,251
-1

Published on

CouchDB on iOS

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

  • Be the first to like this

No Downloads
Views
Total Views
1,251
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

CouchDB on iOS

  1. 1. COUCHDB on iOS Data Syncing & Stuff Monday, 23 September, 13
  2. 2. Who are we? Os @djshiow Meiwin @meiwin We are the developers of ISIS app Monday, 23 September, 13
  3. 3. Agenda • CouchDB • What is it? • Couch DB on iOS • Couch DB in the wild • Demo • ISIS App • “Hello Couch” App Monday, 23 September, 13
  4. 4. What is • NoSQL database, document-based, JSON { "Subject": "I like Plankton", "Author": "Rusty", "PostedDate": "5/23/2006", "Tags": ["plankton", "baseball", "decisions"], "Body": "I decided today that I don't like baseball. I like plankton." } Monday, 23 September, 13
  5. 5. What is • Key Features • Schema Free • Access document by key • Views (~Index) • Peer-based replication (syncing) Monday, 23 September, 13
  6. 6. Peer-based replication • CouchDB can be hosted on server and client (i.e. iOS app) • Each host can work offline • Full database activity • Come back online and sync!! • Built in conflict detection Monday, 23 September, 13
  7. 7. Couch DB on iOS • A lightweight version of Couch DB for mobile • Small foot print, good performance • Recently changed to “Couchbase Lite” Monday, 23 September, 13
  8. 8. Touch DB: Benefits • Works offline & sync when online • Good for Data sync engine • No Schema : Flexibility • Fast query by “Key” Monday, 23 September, 13
  9. 9. Touch DB: Challenges • Slow “Advanced” queries & view building on iOS • Solution: Customize and use coredata • (A bit) harder to keep logs of who’s made changes • Solution: In document logs • New client sync from beginning • Solution: Pre-built database Monday, 23 September, 13
  10. 10. Couch DB in the wild • Who uses it: • Draw something • (Part of) Linked In • McGraw-Hill,Amadeus,Allrecipes.com ... • Hosting services • Cloudant (http://cloudant.com/) • Iris Couch http://www.iriscouch.com/) Monday, 23 September, 13
  11. 11. Demo Monday, 23 September, 13
  12. 12. Q&A? Monday, 23 September, 13
  1. A particular slide catching your eye?

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

×