Component FB4D

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,199
Credits
4,009
FB4D - the OpenSource Cross-Platform Library for Firebase

The Google Firebase Cloud Database is used in many mobile and web applications worldwide and there are well-documented libraries for many languages and platforms. For Delphi, the cross-platform library FB4D supports the Firebase Realtime Database, the Firestore Database, the Firebase Storage (for file storage), and Firebase Functions (for calling server functions). For authentication, FB4D currently supports email/password authentication and anonymous login.

The library builds on the Firebase REST-API and provides all functionality with synchronous and asynchronous methods for the usage within GUI application, services and background threads. Both frameworks VCL and Firemonkey are supported. The library is a pure source code library and relies on class interfaces. For clean and short application code it supports fluent interface design.

Wiki​

This project offers a Для просмотра ссылки Войди или Зарегистрируйся. Four example applications and a Для просмотра ссылки Войди или Зарегистрируйся on the wiki will help you to start working with the library. For more detailed questions, the Для просмотра ссылки Войди или Зарегистрируйся will provide the answers you need.

You can find more learning videos on the following Для просмотра ссылки Войди или Зарегистрируйся.

Major Change log​

This log informs about interface changes and important library enhancements that need the attention of users of this library.
  • April 7, 2021: Revised RT DB Listener
  • March 26, 2021: New optional cache to accelerate the repeated access to storage objects. Additional IFirebaseStorage.GetAndDownload method in order to simplify the download from the storage. Для просмотра ссылки Войди или Зарегистрируйся
  • March 12, 2021: New option in FB4D.SelfRegistrationFra framework to support enter display name and upload profile image when registering a new user. Для просмотра ссылки Войди или Зарегистрируйся
  • March 8, 2021: Real Time Database creation has changed within the Firebase Console. The Firebase ID is no longer sufficient to access newly created RT DBs. A Firebase URL is now required, which can also include the server location. Для просмотра ссылки Войди или Зарегистрируйся.
  • March 5, 2021: A new listener detects changes within the Firestore Database without pooling. Для просмотра ссылки Войди или Зарегистрируйся.

Prerequisites​

This library requires at least Delphi 10.3 Rio Update 2

The sample projects are developed and prepared for Delphi 10.4.2 Sydney.

Hint: Support from Delphi 10 Seattle to Delphi 10.2 Tokyo has been discontinued since the introduction of the Firestore Listener in March 2021. Delphi 10.3 Update 1 and earlier version are not longer supported because of an issue in the RTL.​

Delphi is a registered trademark of Для просмотра ссылки Войди или Зарегистрируйся.

Supported Platforms​

FB4D is developed in pure object pascal and can be used with Firemonkey on all supported plattforms. The library and its sample projects are currently tested with Win64/Win32, Mac64/32, Linux64 by using FMXLinux, iOS64 and Android. (Hint to mobile platforms: The TokenJWT to perform the token verifcation requires the installation of the OpenSSL libraries). For more information about using OpenSSL see the Для просмотра ссылки Войди или Зарегистрируйся

Limitation on Linux64​

Due to a bug in the Linux RTL, all HTTPRequests that transfer data to the server by using the Patch method are currently not working. Put and Post methods work. This affects the Realtime DB method Patch and the Firestore method InsertOrUpdateDocument for both synchronous and asynchronous accesses. This bug affects all Delphi version which supports Linux64 up to the newest Delphi 10.4.2.

Для просмотра ссылки Войди или Зарегистрируйся

Submodules​

For authorization token verification and token content extraction this library uses the Delphi JOSE JWT library. Thank you Paolo Rossi for your great library!

Для просмотра ссылки Войди или Зарегистрируйся
 

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,199
Credits
4,009
FB4D v1.2
Скрытое содержимое могут видеть только пользователи групп(ы): Premium, Местный, Свои
 

ADSoft

Местный
Регистрация
1 Окт 2007
Сообщения
223
Реакции
86
Credits
1,084
FB4D v1.3
Скрытое содержимое могут видеть только пользователи групп(ы): Premium, Местный, Свои
 

ADSoft

Местный
Регистрация
1 Окт 2007
Сообщения
223
Реакции
86
Credits
1,084
FB4D v1.3 (update)
Скрытое содержимое могут видеть только пользователи групп(ы): Premium, Местный, Свои