ANDROID APPS USING FIREBASE!

Ever thought of a platform that would help you develop android apps quickly?The answer to this is the FIREBASE platform.

The Firebase real-time database provides us with the ability to save, retrieve and sync our data with our NoSQL cloud database. This data can be synced across all clients in real time.It allows secure access to the database directly from client-side code.

 Let’s have a look on what this firebase is all about!

WHAT IS FIREBASE?

Firebase offers a number of different services built-in, including some basic analytics. Firebase is a Backend-as-a-Service (BaaS) for mobile and web to build powerful apps.It was launched by Google to support web-based backends. Initially developed as a YC11 startup, it further developed into a next-generation app on Google Cloud Platform.

It supports the web, iOS, OS X, and Android clients. Applications using Firebase can just utilize and control information, without thinking about how information would be put away, and synchronized crosswise over different examples of the application in real time. With Firebase, you don’t need to stress over-provisioning servers or building REST APIs with just a little bit of configuration; you can allow Firebase to make a chance to take every necessary step: storing data, verifying users, and implementing access rules. Firebase liberates developers to focus on making impressive client experiences. You do not have to manage servers or write APIs. Firebase is like your server, your API, and your data store, where everything that is written can be modified or changed as per your needs.

WHY USE FIREBASE?

The Firebase Realtime Database lets you build rich, collaborative applications by allowing secure access to the database directly from client-side code. Data is persisted locally, and even while offline, realtime events continue to fire, giving the end user a responsive experience. When the device regains connection, the Realtime Database synchronizes the local data changes with the remote updates that occurred while the client was offline, merging any conflicts automatically. 

The Realtime Database provides a flexible, expression-based rules language, called Firebase Realtime Database Security Rules, to define how your data should be structured and when data can be read from or written to. When integrated with Firebase Authentication, developers can define who has access to what data, and how they can access it.

The Realtime Database is a NoSQL database and as such has different optimizations and functionality compared to a relational database. The Realtime Database API is designed to only allow operations that can be executed quickly. This enables you to build a great realtime experience that can serve millions of users without compromising on responsiveness.

WHAT FIREBASE DOES?

Firebase relates to a set of tools offered by Google to build scalable applications in the cloud. The core product is their realtime database. Not to be confused with their production realtime database, Firebase also has a Cloud Firestore product in beta which purports to address some of the limitations I will be pointing out in their realtime database. While it looks like a great piece of technology, it is still too new for anyone to be building production systems on.

IMPLEMENTATION PATH:

  1. Integrate the firebase realtime database SDKs
  2. Create realtime Database references
  3. Set data and listen for changes
  4. Enable offline persistence
  5. Secure your data

CONCLUSION:

Firebase is best thought of as a persistent hash datastructure in the cloud. For the layman, think of a Firebase database as elements in a set where you can retrieve or set values via a key.

Firebase relates to a set of tools offered by Google to build scalable applications in the cloud. The core product is their realtime database. Not to be confused with their production realtime database, Firebase also has a Cloud Firestore product in beta which purports to address some of the limitations I will be pointing out in their realtime database. While it looks like a great piece of technology, it is still too new for anyone to be building production systems on.

 

 

2 comments on “ANDROID APPS USING FIREBASE!

Comments are closed.