Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Firebase Cookbook

You're reading from  Firebase Cookbook

Product type Book
Published in Nov 2017
Publisher Packt
ISBN-13 9781788296335
Pages 288 pages
Edition 1st Edition
Languages
Author (1):
Houssem Yahiaoui Houssem Yahiaoui
Profile icon Houssem Yahiaoui

Table of Contents (15) Chapters

Preface 1. Firebase - Getting Started 2. Firebase Real-Time Database 3. File Management with Firebase Storage 4. Firebase Authentication 5. Securing Application Flow with Firebase Rules 6. Progressive Applications Powered by Firebase 7. Firebase Admin SDK 8. Extend Firebase with Cloud Functions 9. We’re Done, Let’s Deploy 10. Integrating Firebase with NativeScript 11. Integrating Firebase with Android/iOS Natively 12. Hack Application's Growth 13. Adding Analytics and Maximizing Earnings 14. Firebase Cloud FireStore

Structuring data within our Realtime Database

The hype over Firebase database structure is real; people just don't know how to do it. The idea behind it is simple and clear--stop thinking in the relational world data structuring because such thing won't simply work in a document-based architecture.

How to do it...

Firebase database is built to be dynamic and flat, so the idea of data redundancy is somehow a must. The idea from all this is to fetch data as fast as possible, and true, in order to add or delete data, you will need it mentioned pretty much everywhere. But that's a cost we will pay if we want to optimize the downloading and data fetching time.

  1. Let me present an example that demonstrates this thought...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}