Couchbase	
  for	
  Mobile
	
  
Ilam	
  Siva	
  –	
  Senior	
  Product	
  Manager
	
  
The	
  Impact	
  of	
  Mobile
	
  
IT’S	
  EVERYWHERE
	
  
The	
  Power	
  of	
  Mobile	
  -­‐	
  Learning	
  
Then

	
  

Classrooms,	
  Whiteboards,	
  	
  
One-­‐Size-­‐Fits-­‐Al...
The	
  Power	
  of	
  Mobile	
  -­‐	
  Point	
  of	
  Sale	
  
Then

	
  

Big	
  +	
  odd	
  looking	
  machines,	
  
rec...
The	
  Power	
  of	
  Mobile	
  -­‐	
  Expenses	
  
Then

	
  

Paper	
  receipts,	
  manual	
  spreadsheet	
  
entry,	
  ...
The	
  Next	
  Wave	
  of	
  Mobile	
  Apps
	
  
…will	
  be	
  different
	
  

Data	
  
Data	
  
You	
  can	
  do…	
  More...
Couchbase	
  Mobile	
  =	
  The	
  Next	
  Big	
  Thing
	
  

Mobile	
  

Data	
  

Cloud	
  

Next	
  Big	
  
Thing	
  
Couchbase	
  Mobile	
  
	
  

The	
  only	
  NoSQL	
  
database	
  for	
  mobile	
  
Mobile	
  –	
  The	
  Next	
  GeneraLon	
  	
  of	
  Apps	
  

	
  

Mul?-­‐User	
  Interac?ons	
  	
  
	
  	
  -­‐	
  Gro...
JSON	
  Anywhere	
  	
  

JS N	

Lite

Couchbase	
  Server	
  

Sync Gateway

Server

JS N	


JS N	

•  JSON	
  on	
  the	...
The	
  Complete	
  Mobile	
  SoluLon	
  
Architecture	
  
On Premise	


In the cloud	

Couchbase	
  Server	
  
SERVER	
  1	
  
	
  
	
  

Sync	
  Gateway	
  

SERV...
Couchbase	
  Lite
	
  

The	
  only	
  NoSQL	
  Database	
  for	
  Mobile	
  Devices
	
  

Couchbase	
  
Lite	
  	
  
iOS	...
Couchbase	
  Lite	
  
Full	
  Feature	
  List
	
  

Features	
  
NaLve	
  APIs	
  	
  
REST	
  APIs	
  
JSON	
  support	
 ...
What	
  you	
  get	
  
Couchbase	
  
Lite	
  	
  
iOS	
  

Couchbase	
  
Lite	
  	
  
Android	
  

Lite

­  Enable	
  new	...
Couchbase	
  Sync	
  Gateway
	
  
Easy,	
  Reliable	
  Data	
  Sync	
  to	
  the	
  Cloud
	
  

•  Features	
  
•  Dynamic...
Collaborate	
  using	
  Channels
	
  
•  For	
  each	
  document,	
  you	
  specify	
  a	
  set	
  of	
  
channels	
  it	
...
Channel	
  A	
  

Doc	
  1	
  

Channel	
  A	
  
Doc	
  2	
  
Channel	
  B	
  

Doc	
  2	
  

Doc	
  1	
  

Doc	
  2	
  

...
Data

Data

Sync Gateway
Sync Gateway

Data

Data

Data
Sync Gateway

Data

Data

Data
Data

Data

Sync Gateway
Sync Gateway

Data

Data

Data

Data
Data

Sync Gateway

Data

Data
What	
  you	
  get	
  
JSON
JSON JSO

JSON N
JSON

	
  	
  	
  	
  	
  JSON	
  Anywhere	
  

	
  
	
  
•  Flexible	
  JSON...
Customers	
  in	
  Beta
	
  
We	
  are	
  in	
  BETA	
  and	
  we	
  already	
  have	
  customers
	
  
Confirms	
  a	
  nee...
Infinite	
  Campus
	
  
Classroom	
  management	
  plaeorm
	
  
In-­‐classroom	
  management	
  

Course	
  material	
  dis...
Picsolve
	
  
Theme	
  park	
  image-­‐capturing	
  system
	
  
Ge^ng	
  Up	
  And	
  Running
	
  
•  Download	
  Couchbase	
  Lite	
  
•  Download	
  ToDo	
  Lite	
  sample	
  code	
  
...
IntegraLons	
  

Couchbase	
  Lite	
  Plug-­‐in	
  for	
  PhoneGap
	
  
• 
• 
• 
	
  

Support	
  for	
  HTML5	
  develope...
IntegraLons	
  

Couchbase	
  Lite	
  for	
  Xamarin
	
  

• 
• 
• 

Partnered	
  to	
  support	
  C#	
  community	
  
Ava...
IntegraLons	
  

Couchbase	
  Lite	
  Titanium
	
  

• 
• 

Build	
  rich	
  na?ve	
  apps	
  for	
  iOS	
  &	
  
Android	...
Get	
  Started
	
  

mobile.couchbase.com
	
  
Sample	
  App
	
  
hZps://github.com/couchbaselabs/TodoLite-­‐iOS
	
  
AddiLonal	
  Resources
	
  
Webinar	
  Series:	
  www.couchbase.com/webinars
	
  
­  Developing	
  with	
  Couchbase	
  Li...
1.	
  Download	
  Couchbase	
  Lite
	
  
www.couchbase.com/download
	
  
2.	
  Download	
  ToDo	
  Lite	
  for	
  iOS
	
  
github.com/couchbaselabs/ToDoLite-­‐iOS
	
  
3.	
  Plug	
  In	
  The	
  Framework
	
  

	


option

•  	
  
Thank	
  you!
	
  

mobile.couchbase.com
	
  
Couchbase_TLV_2014_Intro to mobile
Upcoming SlideShare
Loading in …5
×

Couchbase_TLV_2014_Intro to mobile

1,066 views
969 views

Published on

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,066
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
33
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Notes:
    The internet is filled with articles, info graphics and powerful TED talks about the growing impact and inclusion of mobile in our daily lives.
    From health, financial, travel, education, business, social, personal—every vertical is deeply affected by increased interactions and dependence between user and mobile. Mobile has matured far past as a medium for communication. It's part of our lifestyle experience.
    Mobile impacts us from professional to personal, for example…
  • Let’s take a look at some examples of rich applications using the power of mobile.
  • But, what is different between these applications and your average mobile application?
  • We currently support the current way mobile apps are developed, where data is stored on the cloud and the application is kind of an empty container. But devices are becoming more powerful, capable of storing data on itself and enabling a next wave of applications with richer interactions and continued productivity.
    * Will be different = (go from mobile app to RICH DATA mobile app)
    iOS is already dual-core, soon will be four-core, as powerful as a server today or a laptop.
  • Given that we are sitting on top of mobile, data, and cloud, which together is the next big thing. This is a massive opportunity. How do we grab this opportunity and take advantage of it?
    Look for “Mobile First” initiatives
    Set ourselves as the NoSQL industry leader, apart from competitors specifically MongoDB
    Let’s talk about these points a bit.
  • Now that we’ve had a chance to go over what Couchbase Mobile means, let’s talk about what Couchbase Mobile is. I’ll go over a short overview of the technology that composes Couchbase Mobile, as well as a list of common FAQ that you’re likely to encounter on a call.
  • The Five Most Disruptive Innovations at CES 2014
    “Internet of Things”
    Embedded sensors
    Wearables
    Exponential Energy—more power, more capability, smaller devices in the immediate future
    Driverless vehicles
    Immersive interfaces
  • Strategy – re-iterating vision, commitment, Couchbase Server’s existing leadership and innovation, introducing Couchbase Lite and Sync Gateway
  • Example deployment
    Can be on premise or in the cloud
    Today we provide native support for iOS and Android
  • Ultra-lightweight = 500kb on iOS
    If someone asks (later) conflict resolution locally is handled by MVCC. At the Sync Gateway level we use Revision Trees.
  • 1. I tried to make the graphic bigger. Maybe he can do better with this graphic than I did.
  • Sync Gateway determines data routing. As data is synced back to cloud, Sync Gateway acts as a switch and using developer determined logic can determine who and where data can be replicated to.
  • Couchbase_TLV_2014_Intro to mobile

    1. 1. Couchbase  for  Mobile   Ilam  Siva  –  Senior  Product  Manager  
    2. 2. The  Impact  of  Mobile   IT’S  EVERYWHERE  
    3. 3. The  Power  of  Mobile  -­‐  Learning   Then   Classrooms,  Whiteboards,     One-­‐Size-­‐Fits-­‐All  Learning        Now   Mul?-­‐Media,  Self-­‐Paced,  Adap?ve,   Interac?ve,  Anywhere  Any?me  
    4. 4. The  Power  of  Mobile  -­‐  Point  of  Sale   Then   Big  +  odd  looking  machines,   receipt  printers,  cash  drawers        Now   Simple,  elegant  tablet  +  square  reader,     email  receipts,  touch  signing    
    5. 5. The  Power  of  Mobile  -­‐  Expenses   Then   Paper  receipts,  manual  spreadsheet   entry,  paper  signature  rou?ng          Now   Email/photo  receipt,     e-­‐rou?ng,  e-­‐signature  
    6. 6. The  Next  Wave  of  Mobile  Apps   …will  be  different   Data   Data   You  can  do…  More  with  the  device   More  offline   More  collaboraLon   More  with  data  
    7. 7. Couchbase  Mobile  =  The  Next  Big  Thing   Mobile   Data   Cloud   Next  Big   Thing  
    8. 8. Couchbase  Mobile     The  only  NoSQL   database  for  mobile  
    9. 9. Mobile  –  The  Next  GeneraLon    of  Apps     Mul?-­‐User  Interac?ons        -­‐  Group  and  Social        (Facebook,  Games,  Video)   Single  User  Interac?on      -­‐  Voice,  Text      -­‐  Personal  Apps     Couchbase     Server       Local  Sensor     Applica?ons   e.g.,  Medical   Interac?ng   with  Enterprises  
    10. 10. JSON  Anywhere     JS N Lite Couchbase  Server   Sync Gateway Server JS N JS N •  JSON  on  the  device   •  JSON  on  the  wire   ­  Developers   increasingly  prefer   NoSQL  database   ­  No  need  for  data   transforma?on   •  JSON  in  the  cloud   ­  Flexible  data  model   ­  High  performance   ­  Easy  scalability  
    11. 11. The  Complete  Mobile  SoluLon  
    12. 12. Architecture   On Premise In the cloud Couchbase  Server   SERVER  1       Sync  Gateway   SERVER  2       SERVER  3       Sync  Gateway       Channel     Channel Channel Channel Couchbase  Lite  for  iOS  and  Android  
    13. 13. Couchbase  Lite   The  only  NoSQL  Database  for  Mobile  Devices   Couchbase   Lite     iOS   Couchbase   Lite     Android   Lite •  Features   ­  Ultra-­‐lightweight,  secure  JSON   database     ­  Na?ve  support  for  iOS,  Android   and  REST/HTML5   ­  Full  document,  index  and   querying  and  sync  capabili?es   ­  Powerful  conflict  resolu?on  
    14. 14. Couchbase  Lite   Full  Feature  List   Features   NaLve  APIs     REST  APIs   JSON  support     Easy  sync  with  Couchbase  Sync  Gateway   Peer  to  peer  support  via  REST  APIs       Data  rouLng  via  channels     Changes  Feed         Indexing  and  querying  for  JSON   AuthenLcaLon  plug-­‐ins   AZachment  support  on  device  and  in  the  cloud   Benefits   Manage  your  mobile  database  using  APIs  op?mized  specifically   for  iOS  and  Android   REST  APIs  provide  an  alterna?ve  access  method  based  on  your   development  needs   Use  a  flexible  data  model  designed  for  mobile  object-­‐oriented   apps.  Adapt  to  your  applica?on  needs  with  immediacy  and   li]le  impact   Get  sync-­‐ready  in  less  than  a  few  lines  of  code.  Focus  on   applica?on  development,  not  syncing   Communicate  with  nearby  devices,  even  offline,  with  our  REST   API-­‐enabled  P2P  support   Get  users  only  the  data  they  need  for  a  focused,  relevant  app   experience   Provides  developers  visibility  and  no?fica?on  into  data   changes     Use  powerful  secondary  indexes  to  query  your  data  on  the   device   Use  popular  exis?ng  third-­‐party  authen?ca?on  services  like   Facebook  and  Mozilla  Persona  instead  of  wri?ng  your  own   Manage  binary  data,  like  photos  and  large  files,  separately   from  your  JSON  documents  for  op?onal,  speedier  sync  
    15. 15. What  you  get   Couchbase   Lite     iOS   Couchbase   Lite     Android   Lite ­  Enable  new  class  of  rich  data   intensive  local  applica?ons     ­  Rapid  development  using   na?ve  JSON  data   ­  Highly  responsive  interac?ve   applica?ons   ­  Always  available  -­‐    online  or   offline  
    16. 16. Couchbase  Sync  Gateway   Easy,  Reliable  Data  Sync  to  the  Cloud   •  Features   •  Dynamic  sync  capabili?es  via   Sync  Func?on  APIs   •  Easy  Administra?on   •  Seamless  scaleout   Sync Gateway •  Benefits   ­  10x  reduc?on  in  development   ?me   ­  Scales  to  support  millions  of   users  
    17. 17. Collaborate  using  Channels   •  For  each  document,  you  specify  a  set  of   channels  it  belongs  to   •  For  each  user  or  device,  you  control  which   channels  they  can  access   •  Replicate  only  a  subset  of  documents  down  to   the  device   ­  User-­‐defined  filter  func?ons     ­  Simply  lets  you  know  whether  a  document  should  be  replicated   •  And  you  can  authenLcate  users      
    18. 18. Channel  A   Doc  1   Channel  A   Doc  2   Channel  B   Doc  2   Doc  1   Doc  2   Channel  A  &  B   Channel  B  
    19. 19. Data Data Sync Gateway
    20. 20. Sync Gateway Data Data Data
    21. 21. Sync Gateway Data Data Data
    22. 22. Data Data Sync Gateway
    23. 23. Sync Gateway Data Data Data Data
    24. 24. Data Sync Gateway Data Data
    25. 25. What  you  get   JSON JSON JSO JSON N JSON          JSON  Anywhere       •  Flexible  JSON  on  device  lets  you   work  with  local  data  &  modify  your   data  structure  on  the  fly  without   impac?ng  your  back-­‐end.   •  Your  users  can  count  on  having  an   amazing  app  experience  with  a  fast   and  unbreakable  local  database       Easy  Sync   •  Effortlessly  sync  local  data  with  a   database  in  the  cloud  for  updates,   replica?on  or  collabora?ve   sharing.   •  In  addi?on,  scale  your  data  ?er   horizontally  and  reliably  as  your   data  and  sync  needs  grow.    
    26. 26. Customers  in  Beta   We  are  in  BETA  and  we  already  have  customers   Confirms  a  need  for  NoSQL  on  mobile    
    27. 27. Infinite  Campus   Classroom  management  plaeorm   In-­‐classroom  management   Course  material  distribu?on  
    28. 28. Picsolve   Theme  park  image-­‐capturing  system  
    29. 29. Ge^ng  Up  And  Running   •  Download  Couchbase  Lite   •  Download  ToDo  Lite  sample  code   •  Copy  framework  into  sample  app  folder   •  Build  &  Run  
    30. 30. IntegraLons   Couchbase  Lite  Plug-­‐in  for  PhoneGap   •  •  •    Support  for  HTML5  developers   Develop  once  in  JavaScript  and  deploy   on  iOS  &  Android   Available  on  GitHub,  Cordova  Plugin   Registry,  and  coming  soon  to   build.phonegap.com   h]ps://github.com/couchbaselabs/Couchbase-­‐Lite-­‐PhoneGap-­‐Plugin   h]p://plugins.cordova.io/#/com.couchbase.lite.phonegap  
    31. 31. IntegraLons   Couchbase  Lite  for  Xamarin   •  •  •  Partnered  to  support  C#  community   Available  on  Developer  Center   Includes  sample  applica?on  to  help   developers  get  started  today   h]p://components.xamarin.com/view/couchbase-­‐lite/  
    32. 32. IntegraLons   Couchbase  Lite  Titanium   •  •  Build  rich  na?ve  apps  for  iOS  &   Android  using  JavaScript  SDK   Now  available  on  the  Appcelerator   Marketplace   h]ps://github.com/couchbaselabs/couchbase-­‐lite-­‐?tanium/   h]ps://marketplace.appcelerator.com/apps/6706?1396013098  
    33. 33. Get  Started   mobile.couchbase.com   Sample  App   hZps://github.com/couchbaselabs/TodoLite-­‐iOS  
    34. 34. AddiLonal  Resources   Webinar  Series:  www.couchbase.com/webinars   ­  Developing  with  Couchbase  Lite  iOS   ­  Developing  with  Couchbase  Lite  Android   ­  Couchbase  Lite  Under  the  Hood     Community  Forum   hZps://groups.google.com/forum/#!forum/mobile-­‐couchbase  
    35. 35. 1.  Download  Couchbase  Lite   www.couchbase.com/download  
    36. 36. 2.  Download  ToDo  Lite  for  iOS   github.com/couchbaselabs/ToDoLite-­‐iOS  
    37. 37. 3.  Plug  In  The  Framework   option •   
    38. 38. Thank  you!   mobile.couchbase.com  

    ×