Skip to main content

Mobile Backend As A Service (BaaS) platform for Android

Many mobile apps and games rely on a backend service for things that can’t be done solely on hosted device, such as sharing and processing data from multiple users, or storing large files. Backend as a service (BaaS) provides a centralised database and other features to manage user-generated data and application data. The developer can link applications to the backend service and backend service expose APIs to manage users, integrate push notification and analytics. BaaS is a recent development of cloud computing technology.

Using backend services provide developers functionalities to manage users, data and to analyse real-time changes actively. Backend service should be able to handle the offline case gracefully and minimise battery drain. Back in the day developers had to develop custom backend platforms using server-side technologies. And developers had to scale up and down according to the user base and app usage. It was time-consuming in terms of resources and skills.

Most mobile BaaS providers provide common features such as push notifications, user management, file storage, database and analytics. But few provide functionalities beyond above features. For example, Firebase integrated with some of the services provided by Google. But Firebase is not part of Google Cloud Platform.

In this article, I'm going to explore briefly about the Firebase.

Firebase


Google revised its Firebase version at Google I/O 2016 developer conference. And it is integrated with features like GCM (Google Cloud Messaging) and it is called FCM (Firebase Cloud Messaging). 

It is integrated with Analytics that provide insights into the App. Firebase Analytics collects usage and behaviour data from the app and user. It’s free, simple to implement and provide unlimited data. And provides unlimited reporting for up to 500 distinct events.

Google has integrated its Cloud-based Test Lab into the Firebase. Even though it is not available with the free plan, it provides testing of the mobile apps on the real hardware.

The two-tier architecture of Firebase allows mobile app and Firebase platform to manipulate data directly. This creates important differences in how security and data validation are handled. In Firebase, the developer specifies authentication and validation as declarative rules using Firebase console without additional coding. Firebase is a fully managed platform. In fully managed platforms, tasks such as upgrades and autoscaling managed by the vendor by imposes limitations on configurations. In unmanaged platforms, the developer has full control over the configuration of the platform.

Firebase is recommended for limiting on-device data storage by storing JSON data and files with Firebase, gracefully handling the offline case, authenticating users through a verify of identity providers and rapid development of a backend service.

Firebase provides following features. 
  1.  Analytics.
  2. Cloud Messaging.
  3. Authentication.
  4. Real-time Database.
  5. Storage.
  6. Hosting.
  7. Test Lab.
  8. Crash Reporting.
  9. Notifications.
  10. Remote Config.
  11. App Indexing.
  12. Dynamic Links.
  13. Invites.
  14. AdWords.
  15. AdMob.
You can learn more about Firebase by reading the following book. It covers most of the features provided by the Firebase platform.


Comments

  1. A very good and informative article indeed. It helps me a lot to enhance my knowledge about mobile backend as a service. Also visit our page:- mobile backend as a service I really like the way the writer presented his views.

    ReplyDelete

Post a Comment

Popular posts from this blog

Alternatives to the SQLite in Android

At the moment there are several embeddable databases and libraries out there that you can use in a mobile application. In this post, I examine most popular libraries and databases and highlight some of their characteristics. Realm Realm is a mobile platform and a replacement for SQLite & Core Data. According to the website, it has more than 100k active developers. Realm is fully open source and distributes under Apache License. Realm Mobile Database is much faster than an ORM, and often faster than raw SQLite due to zero-copy design. Some of the benefits of Realm are fast queries, safe threading, encryption of data and reactive architecture. You can learn more about Realm by visiting this page . Sugar ORM Sugar ORM is a library that can be used to interact with SQLite database using Object-Relational Mapping. Object-Relational Mapping (ORM) is a technique that used to query and manipulate data from a SQLite database using an object-oriented paradigm. And Sugar ORM tak

Laravel 5.4 Bootstrap row class for every 3 columns

Sometimes you need to show three or four columns in a row using Laravel 5.4 and blade template engine. Here I show how to do it using chunk function in Laravel blade. As the first step let's get products from the database and pass it to the blade view. And let's check our blade file. In the following example,  @ foreach  takes the  $ products array and chuck it. In this example, I split it by three. You can pass any number according to your specification. And you will see the inner @ foreach loop through  $ items. If you have any question please comment it and I will try to solve it.