Firestore Data Modeling - Five Cool Techniques

preview_player
Показать описание

- 25% off PRO Membership use code: lORhwXd2
Рекомендации по теме
Комментарии
Автор

1:32 array -contains
2:47 AND, OR, NOT - feat. TAG
5:04 composite strings - feat. Commets
7:33 Query an Array of IDs
8:48 duplication -feat. Follow

void
Автор

Awesome video! That topic is really important, I wish we had more content like this.

devcaio
Автор

The composite strings were super useful! Thank you so much!!!!

AbdallaElmedny
Автор

@fireship hey Jeff, best video I’ve seen yet on modeling data with Firestore. No nonsense with real world and code examples. Excellent! One quick sanity check: was this created before collectionGroup queries were announced? It seems like at least #5 would be solvable using one. Just checking. Thanks!

someonlinevideos
Автор

That last social networking problem is a seriously complex one when deleting, editing posts come into the picture.
A simple database won't be enough. I recommend going to Big data if you have thousands of active users/active requests at any moment of time.


Even if you have less load then that, I recommend using other services in conjunction like message broadcasting, caching, defer db writes, batch writes etc. This may sound like a lot of work for a single feature but trust me, when you scale, it will save you a hell lot of troubles.

MYMPSWORLD
Автор

The query an Array of IDs is just what I need. Thank you.

ShinnKQ
Автор

Awesome video! Fluid and clear explanation 👌

WatchLionProductions
Автор

You have read my mind, I was just scratching my head trying to do some data modeling.

TimeoutMegagameplays
Автор

It took me about half an hour to understand those last few minutes, but thanks to that I got a better understanding of Firebase

pawekoaczynski
Автор

Thank you for the amazing work!!! more video like this please :D

alexwchenpro
Автор

LOL. Loved the footage in the beginning, where the guy is stress out .MAGICAL

goldfish
Автор

had to watch this at 0.75x speed to make it sound like it wasn't playing at 1.5x speed

joshblf
Автор

Awesome video. Love the clarity and getting straight to the point. I need to up my game to get my videos shorter and to the point faster :) Thanks for the video.

FilledStacks
Автор

At 6:55 I wanted to call the spelling police but you've corrected yourself. Great tutorial Jeff!

ResoCoder
Автор

The problem is in real world application development, requirements change constantly and it’s impossible to accurately plan ahead. In these cases, if you had chosen to use NoSQL you’re going to be pretty screwed because your firestore model won’t work as soon as the requirements change.

On the other hand, if you used SQL you can just easily add a new relation.

I think it’s a little misleading to frame firestore as a good idea for application development when most data models can’t be entirely planned for up front

reactmagic
Автор

Excelent explanation, I now understand everything. Deep down the true answer is: don't use non-relational databases.

MM-tsjy
Автор

"in" operator is really helpful

fire_boat
Автор

What is a better way to organize data in firestore in my case? A list of individual small entrepreneurs (like haircutter, manicurist, beautician, etc). Each has personal info (geolocation, skills), a list of services with pricing, and a dynamic schedule, that updates when somebody books the time. I guess it's a simple structure, but I don't have experience in firestore and in any backend things, and just don't want to shoot myself in the foot

qqycqpz
Автор

the best database for internet of things data

MashaoleMogale
Автор

could you do a video in how to use firestore converter in good way? love ur videos :)

mossasameer