Mobile Backend as a service 再進化,Firebase 結合了 AngularJS,就變成了 AngularFire
前陣子玩了一下AngularJS,後來不知道在哪看到了一個很厲害的Backend as a service 與AngularJS結合的Demo影片,為了怕自己又忘記這個蠻威的結合,所以寫一下
AngularFire
The easiest way to wire up a backend for your Angular app.
http://angularfire.com
既然他是by Firebase 當然要看一下什麼是 Firebase囉,Firebase提供 Mobile Backend as a service的服務,讓你的app資料可以存放在它的平台,透過它提供的SDK來存取資料,不需要自己架設資料庫主機、Web服務的主機,不用買機器,也不用買頻寬當然也就不需要請人來維護它們
Scalable real-time backend Build apps fast without managing servers
Firebase
https://www.firebase.com/index.html
關於 Firebase的介紹文
http://wired.tw/2012/05/23/firebase
個人覺得其中Firebase最強大的部分在於:
Real-time Synchronization
Firebase takes a new approach to the way data is moved around an app. Rather than using a traditional request & response model, it works by synchronizing data between devices. Whenever your data changes, all clients are immediately notified within milliseconds. The synchronized data is also persisted, allowing new clients to be immediately updated.
其他關於一些提供Mobile Backend as a service的服務的介紹
The mBaaS market provides a wide range of choices ranging from pure-play mBaaS vendors likeAppcelerator, Kinvy, Parse (recently acquired by Facebook) and StackMob or you can work with IaaS/PaaS providers that offer mBaaS functions, like Google and Microsoft.
http://www.tomsitpro.com/articles/mobile-app-development-platforms-mbaas,2-649.html
這裡有一篇整理了好多好多的 Provider資料
http://baas.apievangelist.com/companies.html
Kii Capital
http://en.kii.com
特別註解一下,他們有針對大陸地區提供特別的服務,應該是在大陸境內有建置服務主機,這樣才不會因為存取 API速度太慢,流失大陸的使用者
http://en.kii.com/pricing/distribution/
StackMob
https://www.stackmob.com
幾乎跟Parse一模一樣的服務內容,個人覺得他們的SDK比Parse難用一點,後台操作方式也需要學習一下沒有那麼直覺。
Parse
https://parse.com
個人覺得他們的SDK用起來最方便,文件也很完整,還有 Web Hosting的服務。
Kinvey
http://www.kinvey.com/
沒有實際用過,網站上的開發者資料排版蠻舒服的。
Backendless (Beta)
https://backendless.com/
比較特別的地方是提供了Streaming的功能..
User Service – facilitates user registrations, login, logout, session management.
Data Service – is responsible for data management – storage, retrieval, updates and deletion.
Messaging Service – handles message publishing, broadcast, filtered message delivery and native mobile push notifications.
Files Service – is responsible for file uploads, downloads and file sharing.
Media Service – provides support for video and audio streaming (up and down) and server-side recording.
Geo-Location Service – supports geo spatial data imports and geo queries.