MBaaS (Mobile Backend As a Service)

Post on 06-May-2015

5.912 views 1 download

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)

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

Presenter: Imam Raza

Agenda

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

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

What is MBaaS (in Short)?

“Turn-on infrastructure” for mobile applications.

Monday, September 19, 2011

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

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

MBaaS Providers

Monday, September 19, 2011

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

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

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

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

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

StackMob

Monday, September 19, 2011

Stackmob syncing process

Monday, September 19, 2011

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

Fetch Policy• SMFetchPolicyNetworkOnly• SMFetchPolicyTryNetworkElseCache• SMFetchPolicyCacheOnly• SMFetchPolicyTryCacheElseNetwork

Monday, September 19, 2011

Save Policy• SMSavePolicyNetworkThenCache• SMSavePolicyNetworkOnly• SMSavePolicyCacheOnly

Monday, September 19, 2011

Kinvey

Monday, September 19, 2011

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

Monday, September 19, 2011

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

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

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

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

Live Session with StackMob/Parse

Monday, September 19, 2011

Possible future Types of MBaaS Stack

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

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

Questions