how to store data on Firebase - Delphi XE 10

diego picture diego · Mar 20, 2016 · Viewed 7.6k times · Source

What is the best way to connect to Google´s Firebase DBaaS from Embarcadero Delphi XE 10 ?

I am not sure how to do it from AnyDAC. Or if exists a component out there (i coundnt find one on search)

Any help? thank you

Answer

Spinettaro picture Spinettaro · Jun 21, 2016

Firebase was acquired by Google and now makes available many tools and features (Cloud Messaging, Authentication, Realtime Database, Storage, Hosting etc...) If you are looking for a service that store and sync app data in realtime, the Realtime Database it's for you. Realtime Database: "A cloud-hosted NoSQL database. Data is stored as JSON, synced across connected devices in milliseconds, and available when your app goes offline." . Firebase provides SDK library for Android, iOS and Web (Javascript). In addition makes available a REST API interface and, as Robert Love said in previous post, Firebase4Delphi (I wrote it) library provides access to the REST API in Delphi. Here there is an example of how to use library.