Introduction of Backend as a Service

Im Roy Xue, the new intern from China.

Today, Im going to introduce BaaS. Cloud platform is getting popular around the world. Previously, Azure and AWS provide IaaS and PaaS services[1], it provides great convenience to developers. As now, companies like Parse, LeanCloud start to provide BaaS service which makes App development easier than before.

BaaS is Backend as a Service, is a model for providing web and mobile app developers with a way to link their applications to backend cloud storage and APIs exposed by back end applications while also providing features such as user management, push notifications, and integration with social networking services.[2] Developers can use this service inside their apps via SDK or API.

BaaS has 4 main aspects.

1. Storage

App developers don’t need to worry about building backend anymore. BaaS will provide server and backend structure which apps needed. Storing data is schema-free, app only need to use JSON format to store data, and developers can use CDN to speed up file storage. This storage SDK support all platforms, including:iOSAndroid、Window Phone、Unity 3D、Cocos2D-x and JavaScript

iOS examples from LeanCloud[3]

AVObject *gameScore = [AVObjectobjectWithClassName:@"GameScore"];
[gameScore setObject:[NSNumber numberWithInt:1337]  forKey:@"score"];
[gameScore setObject:@"Steve" forKey:@"playerName"];
[gameScore setObject:[NSNumber numberWithBool:NO]   forKey:@"cheatMode"];
[gameScore save];
2. Message

App inside message system with safe authentication mechanism, convenient push service, and SMS authorization service.

3. Analysis

Analysis plays an important role in nowadays app development, by data analysis, we can know more details about user, and how to improve app services. BaaS provide easy way to run analysis on databases and return results on website.

4. App Modules

Feedback, In-App Search, Event API, OAuth Login can be done in several lines.

BaaS Demo provided by LeanCloud(中國語)

日本語のBaaS Docs

Some BaaS Service Provider: