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(中國語)
https://github.com/leancloud/ios-simple-demo

日本語のBaaS Docs
https://www.parse.com/docs/jp/

Some BaaS Service Provider:
LeanCloud:https://leancloud.cn/features/modules.html
Parse: https://www.parse.com/

References:
[1]: http://en.wikipedia.org/wiki/Cloud_computing
日本語: http://ja.wikipedia.org/wiki/%E3%82%AF%E3%83%A9%E3%82%A6%E3%83%89%E3%82%B3%E3%83%B3%E3%83%94%E3%83%A5%E3%83%BC%E3%83%86%E3%82%A3%E3%83%B3%E3%82%B0

[2]: http://en.wikipedia.org/wiki/Mobile_Backend_as_a_service

[3]: https://leancloud.cn/docs/ios_os_x_guide.html