pull down to refresh
0 sats \ 0 replies \ @k00b 14 Feb 2022 \ on: Daily discussion thread
Beginning to attempt to model subs in the db. It's kind of an interesting problem because I want subs to be configurable in terms of:
- post types - a job sub should have different post types (job posts) than a 'forum' type sub (links/discussions/media)
- default ranking type - again, a job sub should have a different default ranking (auction based ranking) than a 'forum' type sub (web of trust)
At the same time, I'm trying not to over-design it but instead do the minimum amount such that we can get our first sub done quickly yet do enough abstracting that the model can be easily extended later.
Subs modeled this way become really interesting in the extreme. At some point creating a sub becomes less like creating yet-another-forum and more like creating a website from a bunch of generics (post types, ranking/discovery etc).
Big features like these give me butterflies a bit, because there's a lot of anticipation and a lot of unknowns.