MBaaS (Mobile Backend As a Service)

27
MBaaS(Mobile As a Backend Service) @Folio3,building A Presenter: Imam Raza

description

This presentation is the result of RnD carried out on different available MBaaS market solutions. It discuss the popular ones in detail

Transcript of MBaaS (Mobile Backend As a Service)

Page 1: MBaaS (Mobile Backend As a Service)

MBaaS(Mobile As a Backend Service)@Folio3,building A

Presenter: Imam Raza

Page 2: MBaaS (Mobile Backend As a Service)

Agenda

Market StatisticsWhat is Baas/MBaaS?MBaaS Features MBaaS TypesMBaaS comparison ChartCloud MBaaS ProvidersOpensource MBaaS Providers

Page 3: MBaaS (Mobile Backend As a Service)

Market Statistics• MarketsandMarkets forecasts the

global BaaS market to grow from

$216.5 million in 2012 to $7.7 billion in 2017

• The factors driving the overall market include • Increase in adoption of smart phones,

tablets.• Demand for fast time to develop and

deploy.• Ability to address security and

performance needs and challenges in vendor selection

Monday, September 19, 2011

Page 4: MBaaS (Mobile Backend As a Service)

What is MBaaS (in Short)?

“Turn-on infrastructure” for mobile applications.

Monday, September 19, 2011

Page 5: MBaaS (Mobile Backend As a Service)

What is MBaaS (in long)?• Solutions that provide pre-built, cloud

hosted components for developing mobile application backends.

• reduce the time and complexity required to build mobile applications.

• allow developers to focus on core features instead of low-level tasks.

Monday, September 19, 2011

Page 6: MBaaS (Mobile Backend As a Service)

MBaaS Features • DataStore API for storage on cloud• Binary Storage• Device Syncing and Caching, • Push Notifications• Online/offline workflow• Integration with Social Networking

site(twitter/facebook etc)• Secure Connectivity• Ability to automatic generate REST-

based interfaces to read and write dataMonday, September 19,

2011

Page 7: MBaaS (Mobile Backend As a Service)

MBaaS Providers

Monday, September 19, 2011

Page 8: MBaaS (Mobile Backend As a Service)

MBaaS Types• Cloud MBaaS

Cloud hosted solution.

• Opensource MBaaSAn on-premise offering which

is typically Free and Open Source in nature.

Monday, September 19, 2011

Page 9: MBaaS (Mobile Backend As a Service)

Comparison Chart

Monday, September 19, 2011

Feature Cloud \MBaaS

Opensource MBaaS

Ease of Use Yes. This is both from a Getting Started standpoint as well as Deployment standpoint

No. Depending on the quality of documentation of the project, you can get up and running fairly quickly.

Enterprise Integration

B2C offeringsIn majority of the offerings, Enterprise integration is not an option.

B2E offeringsNatural fit for Enterprise integration since it will usually come with out-of-the-box integration framework that is technology-agnostic.

Pricing Structure usage per month based pricing

The software is Free and Open Source for use

Page 10: MBaaS (Mobile Backend As a Service)

Cloud MBaaS providers• Parse [https://www.parse.com/]• StackMob [https://www.stackmob.com/]• Sencha [http://docs.sencha.io/current/

index.html/]• Kinvey [http://www.kinvey.com/]• Applicasa [http://www.applicasa.com/]• Anypresence [

http://www.anypresence.com/]• Appacitive [http://appacitive.com/]• Cloudmine [https://cloudmine.me/]Monday, September 19,

2011

Page 11: MBaaS (Mobile Backend As a Service)

Cloud MBaaS providers• Scottyapp [http://scottyapp.com/]• API-O-Mat [http://www.apiomat.com/]• APP42 CloudAPI [

http://api.shephertz.com/]• Kii [

http://www.kii.com/en/technology/kiicloud]

• Kumulos [http://www.kumulos.com/]• Feedhenry [

http://www.feedhenry.com/]• API Engine [

https://apiengine.io/features]• Appcelerator Cloud http

://www.appcelerator.com/cloud/]

Monday, September 19, 2011

Page 12: MBaaS (Mobile Backend As a Service)

Opensource MBaaS providers

• OpenMobster [http://www.openmobster.com/l]

• LoopBack [http://strongloop.com/strongloop-suite/loopback//l]

• OpenKit [http://openkit.io/]• BaasBox [http://www.baasbox.com/]• Helios [http://helios.io/]

Monday, September 19, 2011

Page 13: MBaaS (Mobile Backend As a Service)

StackMob

Monday, September 19, 2011

Page 14: MBaaS (Mobile Backend As a Service)

Stackmob syncing process

Monday, September 19, 2011

Page 15: MBaaS (Mobile Backend As a Service)

synching typical approach__block SMCoreDataStore *blockCoreDataStore = self.appDelegate.coreDataStore;

[client.session.networkMonitor setNetworkStatusChangeBlockWithFetchPolicyReturn:^SMFetchPolicy(SMNetworkStatus status) {

if (status == SMNetworkStatusReachable) {

// Initiate sync

[blockCoreDataStore syncWithServer];

return SMFetchPolicyTryNetworkElseCache;

} else {

return SMFetchPolicyCacheOnly;

}

}];Monday, September 19,

2011

Page 16: MBaaS (Mobile Backend As a Service)

Fetch Policy• SMFetchPolicyNetworkOnly• SMFetchPolicyTryNetworkElseCache• SMFetchPolicyCacheOnly• SMFetchPolicyTryCacheElseNetwork

Monday, September 19, 2011

Page 17: MBaaS (Mobile Backend As a Service)

Save Policy• SMSavePolicyNetworkThenCache• SMSavePolicyNetworkOnly• SMSavePolicyCacheOnly

Monday, September 19, 2011

Page 18: MBaaS (Mobile Backend As a Service)

Kinvey

Monday, September 19, 2011

Page 19: MBaaS (Mobile Backend As a Service)

Kinvey(Syncing) PhoneGap Sample CodeKinvey.init({appKey : 'App Key',appSecret : 'App Secret',sync : { enable: true }});

Monday, September 19, 2011

Page 20: MBaaS (Mobile Backend As a Service)

Kinvey(Syncing) PhoneGap Sample Code// The app is in online mode.Kinvey.Sync.online();// The app is in offline mode.Kinvey.Sync.offline();

Monday, September 19, 2011

Page 21: MBaaS (Mobile Backend As a Service)

Kinvey(Syncing) PhoneGap Sample Code// Switch application state when the on-

and offline$(window).on({offline : Kinvey.Sync.offline,online : Kinvey.Sync.online});

Monday, September 19, 2011

Page 22: MBaaS (Mobile Backend As a Service)

Parse(Saving offline)// Create the object.PFObject *gameScore = [PFObject

objectWithClassName:@"GameScore"];gameScore[@"score"] = @1337;gameScore[@"playerName"] = @"Sean

Plott";gameScore[@"cheatMode"] = @NO;[gameScore saveEventually];Monday, September 19,

2011

Page 23: MBaaS (Mobile Backend As a Service)

Features Comparison

Monday, September 19, 2011

FeaturesStackMob parse feedhenry sencha.io kinveyLoopBack OpenmobsterDatastore API(Custom Objects) x x x x x

xBinary storage x x x xPush API x x x x x xOffline/caching x x x xOffline/caching for PhoneGap x

Geolocation x x x xsocial integration x x ? xAnalyticsx ? xAuthentication Access control x ? x x

Price 499$/month basic plan free ? free for 100 usersopensource opensource

Page 24: MBaaS (Mobile Backend As a Service)

Live Session with StackMob/Parse

Monday, September 19, 2011

Page 25: MBaaS (Mobile Backend As a Service)

Possible future Types of MBaaS Stack

• OpenSource MBaaS • Cloud MBaaS• Closed Source MBaaS• Home Grown

Page 26: MBaaS (Mobile Backend As a Service)

Which one to Choose?

• There is no single right answer.• It depends on the project requirement.• Make yourself aware of the costs you

will incur in using the service.• Take close look at the documentation.• Parse is relatively easy to get started

but stackmob has rich set of API.

Monday, September 19, 2011

Page 27: MBaaS (Mobile Backend As a Service)

Questions