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, 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. Developers can use this service inside their apps via SDK or API.
BaaS has 4 main aspects.
iOS examples from LeanCloud
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];
App inside message system with safe authentication mechanism, convenient push service, and SMS authorization service.
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(中國語)