Follow

>Decide to restart Indie Storefront Project after the Steam and Itch controversies
>Decide to use a NoSQL DB this time because nested SQL statements make my brain hurt
>Both MongoDB and CouchDB have repositories that lack release files which makes them insecure and disabled by default on apt
>The only other solution I can think of is Elasticsearch which isn't intended to be used as a DB.

:bunhdknife:

· · Web · 2 · 0 · 2

As it turns out, the latest version of MySQL has support for JSON, bringing the best of both relational databases and document-oriented databases, and I can run this all on a simple LAMP server. That's good to know.
:abunhdhappy:

> Decide to use a NoSQL DB

BDSM

You don't need nested SQL statements, you can just run multiple queries and join in the app.

@cjd True, but document oriented databases just make more sense to me, especially since I'm used to OOP.

@xianc78 @cjd i heard that these days you can just put json into postgresql and it works just fine
SQL annoying for small tasks, and also annoying for large tasks.

NoSQL goes from being The Easiest Thing Ever to Gouge Your Fucking Eyes Out With A Rusty Spoon complexity depending on what you need it to do.

@cjd I just want to create a simple site where people can upload their indie games and mods. Last time I tried to do that, I gave up on it after implementing comments because you are supposed to have two tables: comment and comment_link (at least this is standard practice). It just became to tedious.

Don't let relational database best practice nerds tell you how to live your life. Just make a schema that's going to be easy to populate and easy to query. If you find yourself needing to do something weird, you can make an index later.
@xianc78 @cjd Most people will redirect users to their discord anyways.

Can be put later

@vokainen099 @cjd Also, I wanted people to be able to upload an unfixed amount of screenshots for each game/mod. It got way to complex and I underestimated myself.

@xianc78 @cjd The closest thing we have to that is Moddb, although they're largely stuck in the 2000s UI-wise, but I will forgive them since they've been alive for so long they're almost an institution

Do not push yourself too hard, mister. Priority here is a solution to the payment processor issue. Websites can wait

@vokainen099 @cjd The solution to the payment processor issue is a crypto-only store front (though crypto payments would have to be added later). Don't put too much faith in MasterCard reversing their decision or the government stepping in.

@xianc78 @cjd Never did, in fact. Problem is, there was a time even Valve accepted crypto payments as bitcoins. Had they continued, maybe switching to stablecoins instead, they wouldn't be in this position.

It's also on Valve, although they may have being pressured to drop bitcoin support
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.