couchbase_tlv_2014_intro to mobile

39

Upload: couchbase

Post on 08-May-2015

847 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Couchbase_TLV_2014_Intro to mobile
Page 2: Couchbase_TLV_2014_Intro to mobile

Couchbase  for  Mobile  

Ilam  Siva  –  Senior  Product  Manager  

Page 3: Couchbase_TLV_2014_Intro to mobile

The  Impact  of  Mobile  IT’S  EVERYWHERE  

Page 4: Couchbase_TLV_2014_Intro to mobile

The  Power  of  Mobile  -­‐  Learning  Then        Now  

Classrooms,  Whiteboards,    One-­‐Size-­‐Fits-­‐All  Learning  

Mul?-­‐Media,  Self-­‐Paced,  Adap?ve,  Interac?ve,  Anywhere  Any?me  

Page 5: Couchbase_TLV_2014_Intro to mobile

The  Power  of  Mobile  -­‐  Point  of  Sale  Then        Now  

Big  +  odd  looking  machines,  receipt  printers,  cash  drawers  

Simple,  elegant  tablet  +  square  reader,    email  receipts,  touch  signing    

Page 6: Couchbase_TLV_2014_Intro to mobile

The  Power  of  Mobile  -­‐  Expenses  Then        Now  

Paper  receipts,  manual  spreadsheet  entry,  paper  signature  rou?ng    

Email/photo  receipt,    e-­‐rou?ng,  e-­‐signature  

Page 7: Couchbase_TLV_2014_Intro to mobile

The  Next  Wave  of  Mobile  Apps  …will  be  different  

You  can  do…  More  with  the  device  

More  offline  

More  collaboraLon  

More  with  data  

Data  

Data  

Page 8: Couchbase_TLV_2014_Intro to mobile

Couchbase  Mobile  =  The  Next  Big  Thing  

Mobile   Data   Cloud   Next  Big  Thing  

Page 9: Couchbase_TLV_2014_Intro to mobile

Couchbase  Mobile    

The  only  NoSQL  database  for  mobile  

Page 10: Couchbase_TLV_2014_Intro to mobile

Mobile  –  The  Next  GeneraLon    of  Apps    

 Couchbase    Server  

   

Single  User  Interac?on      -­‐  Voice,  Text      -­‐  Personal  Apps  

Mul?-­‐User  Interac?ons        -­‐  Group  and  Social        (Facebook,  Games,  Video)  

Local  Sensor    Applica?ons  e.g.,  Medical  

Interac?ng  with  Enterprises  

Page 11: Couchbase_TLV_2014_Intro to mobile

JSON  Anywhere    

Couchbase  Server  

•  JSON  on  the  wire  ­  No  need  for  data  

transforma?on  

•  JSON  in  the  cloud  ­  Flexible  data  model  ­  High  performance  ­  Easy  scalability  

ServerSync GatewayLiteJS N

JS N

JS N

•  JSON  on  the  device  ­  Developers  increasingly  prefer  NoSQL  database  

Page 12: Couchbase_TLV_2014_Intro to mobile

The  Complete  Mobile  SoluLon  

Page 13: Couchbase_TLV_2014_Intro to mobile

Architecture  

   

SERVER  3      

SERVER  1      

SERVER  2  

Couchbase  Server  

   

Channel

Sync  Gateway  

Channel

   

Channel

Sync  Gateway  

Channel

Couchbase  Lite  for  iOS  and  Android  

On Premise In the cloud

Page 14: Couchbase_TLV_2014_Intro to mobile

Couchbase  Lite  The  only  NoSQL  Database  for  Mobile  Devices  

•  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  Lite

Couchbase  Lite    

Android  

Couchbase  Lite    iOS  

Page 15: Couchbase_TLV_2014_Intro to mobile

Couchbase  Lite  Full  Feature  List  

Features   Benefits  

NaLve  APIs     Manage  your  mobile  database  using  APIs  op?mized  specifically  for  iOS  and  Android  

REST  APIs   REST  APIs  provide  an  alterna?ve  access  method  based  on  your  development  needs  

JSON  support     Use  a  flexible  data  model  designed  for  mobile  object-­‐oriented  apps.  Adapt  to  your  applica?on  needs  with  immediacy  and  li]le  impact  

Easy  sync  with  Couchbase  Sync  Gateway   Get  sync-­‐ready  in  less  than  a  few  lines  of  code.  Focus  on  applica?on  development,  not  syncing  

Peer  to  peer  support  via  REST  APIs      

Communicate  with  nearby  devices,  even  offline,  with  our  REST  API-­‐enabled  P2P  support  

Data  rouLng  via  channels     Get  users  only  the  data  they  need  for  a  focused,  relevant  app  experience  

Changes  Feed        

Provides  developers  visibility  and  no?fica?on  into  data  changes    

Indexing  and  querying  for  JSON   Use  powerful  secondary  indexes  to  query  your  data  on  the  device  

AuthenLcaLon  plug-­‐ins   Use  popular  exis?ng  third-­‐party  authen?ca?on  services  like  Facebook  and  Mozilla  Persona  instead  of  wri?ng  your  own  

AZachment  support  on  device  and  in  the  cloud   Manage  binary  data,  like  photos  and  large  files,  separately  from  your  JSON  documents  for  op?onal,  speedier  sync  

Page 16: Couchbase_TLV_2014_Intro to mobile

What  you  get  

Lite

Couchbase  Lite    

Android  

Couchbase  Lite    iOS  

­  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  

Page 17: Couchbase_TLV_2014_Intro to mobile

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  

•  Benefits  ­  10x  reduc?on  in  development  

?me  ­  Scales  to  support  millions  of  

users  

Sync Gateway

Page 18: Couchbase_TLV_2014_Intro to mobile

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    

 

Page 19: Couchbase_TLV_2014_Intro to mobile

Doc  1   Channel  A  

Doc  2  Channel  A  

Channel  B  

Channel  A  &  B  

Channel  B  

Doc  1  Doc  2  

Doc  2  

Page 20: Couchbase_TLV_2014_Intro to mobile

Sync Gateway

Dat

a D

ata

Page 21: Couchbase_TLV_2014_Intro to mobile

Sync Gateway

Dat

a

Data

Dat

a

Page 22: Couchbase_TLV_2014_Intro to mobile

Sync Gateway

Data

Dat

a D

ata

Page 23: Couchbase_TLV_2014_Intro to mobile

Sync Gateway

Dat

a Da

ta

Page 24: Couchbase_TLV_2014_Intro to mobile

Sync Gateway

Data

Data

Dat

a D

ata

Page 25: Couchbase_TLV_2014_Intro to mobile

Sync Gateway

Data

Dat

a D

ata

Page 26: Couchbase_TLV_2014_Intro to mobile

What  you  get  

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.    

JSONJSONJSON

JSONJSON          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      

Page 27: Couchbase_TLV_2014_Intro to mobile

Customers  in  Beta  We  are  in  BETA  and  we  already  have  customers  

Confirms  a  need  for  NoSQL  on  mobile  

 

Page 28: Couchbase_TLV_2014_Intro to mobile

Infinite  Campus  Classroom  management  plaeorm  

In-­‐classroom  management   Course  material  distribu?on  

Page 29: Couchbase_TLV_2014_Intro to mobile

Picsolve  Theme  park  image-­‐capturing  system  

Page 30: Couchbase_TLV_2014_Intro to mobile

Ge^ng  Up  And  Running  

•  Download  Couchbase  Lite  •  Download  ToDo  Lite  sample  code  

•  Copy  framework  into  sample  app  folder  

•  Build  &  Run  

Page 31: Couchbase_TLV_2014_Intro to mobile

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  

Page 32: Couchbase_TLV_2014_Intro to mobile

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/  

Page 33: Couchbase_TLV_2014_Intro to mobile

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  

Page 34: Couchbase_TLV_2014_Intro to mobile

Get  Started  

mobile.couchbase.com  

Sample  App  

hZps://github.com/couchbaselabs/TodoLite-­‐iOS  

Page 35: Couchbase_TLV_2014_Intro to mobile

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  

Page 36: Couchbase_TLV_2014_Intro to mobile

1.  Download  Couchbase  Lite  

www.couchbase.com/download  

Page 37: Couchbase_TLV_2014_Intro to mobile

2.  Download  ToDo  Lite  for  iOS  github.com/couchbaselabs/ToDoLite-­‐iOS  

Page 38: Couchbase_TLV_2014_Intro to mobile

3.  Plug  In  The  Framework  

•     option

Page 39: Couchbase_TLV_2014_Intro to mobile

Thank  you!  

mobile.couchbase.com