Introducing Firebase Cloud Firestore

Tram Ho

Preface

For system developers, or mobile programmers must have heard or used the Firebase platform. This is a cloud platform launched by Google that aims to provide developers with quick and useful tools to program and improve the best user experience.

This platform provides services such as Firebase Authentication for user authentication, Firebase Storage for storing photo or video content, Firebase Cloud Messaging for push notifications to web apps, mobile apps, Firebase Realtime Database for Provides a place to store data across platforms. And in this article, I will learn and introduce Firebase Cloud Firestore platform – an upgrade of FireBase Database.

content

What is Firebase Cloud Firestore?

Cloud Firestore is a flexible and scalable Database for mobile, web and server developed from Firebase and Google Cloud Platform. Like Firebase realtime database Cloud Firestore helps synchronize data between client-side applications quickly (Realtime) and supports offline data storage in your application.

Cloud Firestore is a cloud-hosted, NoSQL database that client-side applications can directly access through native SDKs. It stores data according to NoSQL data model. Data is stored in document files that contain fields mapped to values. These document files are stored in sets they can use it to organize data and query data. Cloud Firestore supports many simple word data types such as String, Integer or complex data types like nested objects.

main function

  1. Flexibility: Cloud Firestore supports flexible data structures, decentralized data. Store your data in documents, organized into collections. Documents can contain complex objects.
  2. Symbolic queries: You can use queries to retrieve individual documents or to retrieve all of the documents in the collection matching your query parameters. Your queries can consist of multiple filters, a combination of filters and sort.
  3. Real-time updates: Cloud Firestore uses data synchronization to update data on any connected device. It is also designed to perform one-time fetch queries.
  4. Offline support: Cloud Firestore stores data locally, so the app can write, read, listen and query data even when the device is offline. When the device is back online, Cloud Firestore will synchronize any local changes to Cloud Firestore.
  5. Scalability: Bringing capabilities from the Google Cloud Platform designed to utilize the toughest database from the world’s largest applications

How does it work?

Cloud Firestore is a cloud hosted NoQuery database that iOS, Android, and Web applications can directly access through the SDK.Cloud Firestore is also available in Node.js, Java, Python, and Go SDKs. , REST and RPC APIs.

Organized by Cloud Firestore’s NoQuery data model, data stored in documents maps to values. These documents are stored in collections for you to organize data and execute queries

Protect access to your data in Cloud Firestore with Firebase Authentication for Android, iOS, and JavaScript, or identify and manage access (IAM)

Epilogue

Thanks for reading!

If you have any shortcomings or are not in the right place, please advise me. See you next time in another article ^^

Share the news now

Source : Viblo