Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to store data on Firebase - Delphi XE 10

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

like image 586
diego Avatar asked Mar 20 '16 17:03

diego


People also ask

How does Firebase store its data?

Data is stored as JSON and synchronized in realtime to every connected client. React Native Firebase provides native integration with the Android & iOS Firebase SDKs, supporting both realtime data sync and offline capabilities.

Can you store an object in Firebase?

Cloud Storage for Firebase is built for app developers who need to store and serve user-generated content, such as photos or videos. Cloud Storage for Firebase is a powerful, simple, and cost-effective object storage service built for Google scale.


2 Answers

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.

like image 179
Spinettaro Avatar answered Nov 04 '22 01:11

Spinettaro


There is an open source project called Firebase4Delphi. It provides access to the REST API in Delphi.

like image 30
Robert Love Avatar answered Nov 04 '22 01:11

Robert Love