3 ms·
What situations do you encounter where you don't care about the structure of the data? The only ones I've ever encountered have been logging, where it's only pu
by SchemaLoad 1y ago
What situations do you encounter where you don't care about the structure of the data? The only ones I've ever encountered have been logging, where it's only purpose is to be manually text searchable, and something like OpenStreetMap where everything is just a key value store and the structure is loosely community defined.
As soon as you have a loosely defined object you can't access any specific keys which makes it useless for 99% of times you want to store and retrieve data.
- 999900000999 1y agoYou define the data schema client side. That's the entire idea behind Firebase. It makes prototyping much faster. I don't know how well it scales, but it works for most smaller projects.
- graealex 1y agoWait until you hear about ORMs.
- 999900000999 1y agoI still have to create tables. I still have to migrate tables, these are all things I don't need to worry about with firebase. It all depends on what you need to actually do. The only real weakness of Firebase is the Google lock in.
- SchemaLoad 1y agoYou still have to worry about data migrations without a schema though. Unless you just never access old records.
- 999900000999 1y agoDepends. Let's say you have an object called box. It has 3 properties, the id, it's name and it's weight. 4 months later you add a 4th property. Cost, odd records that don't have a cost just return null for that field.