Task #516
openTask #512: Firebase learning phase 1: Documentation
Firebase learning phase 1: Documentation[Vĩ]
100%
Description
1 Firebase
1.1 What is Firebase?
Firebase is a platform for developing mobile and web applications, offering simple and powerful APIs without the need for a backend or server.
1.2 How Firebase Works
1.2.1 What is Firebase Realtime Database?
Data is received in JSON format, and it is always synchronized in real-time across all client connections.
For cross-platform applications, all clients use the same database, which is automatically updated with the latest data whenever developers make changes to the application. All of this data is transmitted over a secure SSL connection with a 2048-bit certificate.
In case of a network loss, data is stored locally. Therefore, any changes are automatically updated to the Firebase server. Additionally, older local data is automatically updated to ensure it is up-to-date with the server.
1.2.2 What is Firebase Authentication?
A notable feature of Firebase is building user authentication steps using Email, Facebook, Twitter, GitHub, and Google. It also provides anonymous authentication for apps. Authentication operations help keep user information secure and prevent account theft.
1.2.3 What is Firebase Hosting?
The final aspect of Firebase mentioned in this article is providing hosting services. Hosting is delivered through SSL secure CDN technology.
2 Firestore
Cloud Firestore is a flexible, scalable database for mobile, web, and server applications developed by Firebase and Google Cloud Platform. Similar to Firebase Realtime Database, Cloud Firestore enables rapid (real-time) data synchronization between client-side applications and supports offline data storage in your application.
Cloud Firestore is a cloud-hosted NoSQL database that client-side applications can access directly through native SDKs. It stores data in a NoSQL data model, where data is stored in documents containing fields mapped to values. These documents are stored in collections, which can be used to organize and query data. Cloud Firestore supports various data types, from simple ones like strings and integers to complex data types, including nested objects.