Reader small image

You're reading from  Flutter Cookbook, Second Edition - Second Edition

Product typeBook
Published inMay 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781803245430
Edition2nd Edition
Languages
Tools
Right arrow
Author (1)
Simone Alessandria
Simone Alessandria
author image
Simone Alessandria

Simone Alessandria wrote his first program when he was 12. It was a text-based fantasy game for the Commodore 64. Now, he is a trainer (MCT), author, speaker, passionate software architect, and always a proud coder. He is the founder and owner of Softwarehouseit. His mission is to help developers achieve more through training and mentoring. He has authored several books on Flutter, including Flutter Projects, published by Packt, and web courses on Pluralsight and Udemy.
Read more about Simone Alessandria

Right arrow

Using Firebase Cloud Firestore

When using Firebase, you can choose between two database options: Cloud Firestore and Realtime Database. Both are solid and efficient NoSQL databases.

In short, you can use both SQL and NoSQL databases to store and manage data.

SQL databases, also called Relational Databases, store data in tables and use a fixed schema, meaning that columns and data types must be defined before storing any data. You generally prefer SQL databases for data that requires complex queries and tasks that involve joining multiple tables.

NoSQL databases store data in different formats, like key-value pairs, documents, or graphs, and don’t require a fixed schema. NoSQL is usually preferred for unstructured or semi-structured data, and simple read/write tasks.

Cloud Firestore is the newer and recommended option in most cases for new projects, so that’s the tool you’ll be using in this recipe.

Getting ready

To follow...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Flutter Cookbook, Second Edition - Second Edition
Published in: May 2023Publisher: PacktISBN-13: 9781803245430

Author (1)

author image
Simone Alessandria

Simone Alessandria wrote his first program when he was 12. It was a text-based fantasy game for the Commodore 64. Now, he is a trainer (MCT), author, speaker, passionate software architect, and always a proud coder. He is the founder and owner of Softwarehouseit. His mission is to help developers achieve more through training and mentoring. He has authored several books on Flutter, including Flutter Projects, published by Packt, and web courses on Pluralsight and Udemy.
Read more about Simone Alessandria