Blog

All Blog Posts  |  Next Post  |  Previous Post

Seamless no-code Firebase backend for TMS WEB Core apps

Bookmarks: 

Monday, July 31, 2023

In the newest release v2.2 of TMS WEB Core, we have significantly improved the integration with Google's Firebase, in particular also the design-time integration. Now it is possible to configure your Firebase tables for use in TMS WEB Core apps via simple data-binding.

What is Google Firebase?

Firebase is a set of backend cloud computing services and application development platforms provided by Google. It hosts databases, services, authentication, and integration for a variety of applications, In short, this means that you can use data storage on the Google infrastructure that is used as central database for your TMS WEB Core apps. This data storage is available through REST APIs. 

Integration in TMS WEB Core

The integration of Firebase in TMS WEB Core is twofold. First of all, there is the TWebFirestoreClientDataSet component. Underlying, this dataset will use the Firebase REST API to work with the data storage from Google and expose this to a TMS WEB Core app as dataset that can be bound to DB-aware controls (pretty much like in a VCL application). This means working with data in the Firebase backend can be done in an almost no-code way.
Secondly, we've integrated this also at design-time. This means that directly from the Delphi IDE, you can setup the various tables and table metadata configuration you want. From this configuration, your 
TWebFirestoreClientDataSet can be initialized automatically with all fields you want and you're ready to connect this to DB-aware controls on the form via the TWebDataSource.

Learn about the Firebase integration step by step

Our colleague Dr. Holger Flick, also author of the TMS WEB Core bible, has created a new video where this is explained step by step. After creating your Firebase account at Google and setting up your API keys, you're basically ready to start using Firebase as database backend for your TMS WEB Core apps.


Set your first steps with Firebase

Whether you use the trial version of TMS WEB Core of the full licensed version, you can get started with Firebase using the free tier that Google offers. Discover for yourself how you can get a working web application backed with data in the Google Firebase cloud in just a very short time.  








Bruno Fierens


Bookmarks: 

This blog post has received 3 comments.


1. Tuesday, August 1, 2023 at 4:25:50 AM

Hi,

Is it possible to use Firebase together with Sphinx?

Kind regards,
Erik

ERIK FIDLERS


2. Tuesday, August 1, 2023 at 8:52:21 AM

Firebase has its own authentication & authorization mechanism, so we haven''t looked at mixing this with Sphinx.

Bruno Fierens


3. Saturday, August 12, 2023 at 11:03:08 AM

This is an excellent addition to the WEB Core platform. WAY easier to use than myCloudData!

Given that Firebase is a noSQL DB, are there any plans to support it in Aurelius, Query Studio, and/or Data Modeler? I don''t see any mention of it with those products. Also, what about VCL? (I do very little with FireDac...) I mean, I see a use-case for accessing a Firebase DB both directly from a WEB Core app, as well as from the XData back-end that''s supporting it, and possibly a separate VCL-based Admin tool.

TWebFirestoreClientDataset QUESTION: Is "Collection Name" analogous to "Table Name"?

Schwartz David




Add a new comment

You will receive a confirmation mail with a link to validate your comment, please use a valid email address.
All fields are required.



All Blog Posts  |  Next Post  |  Previous Post