programsam / binkjs

Music archival site BINK, rewritten as a Node.js express app
0 stars 1 forks source link

Thoughts on Identifiers #98

Open programsam opened 6 years ago

programsam commented 6 years ago

It might make sense to use the node UUID npm to generate ids for jams and entities. Then we’d want to shortlink to them as well, right? Or we make some kind of slug generator?

In the nosql world we’d put all these entities in the same DB, so they’d kinda have to have uuids so that musician 3 doesn’t screw up jam 3.

But it also might make sense for us to have uuids in general because they are universally unique across systems, and that’s quite incredible. Maybe it doesn’t get us much. Just something to consider.