Discuss Scratch

jonascj
New to Scratch
2 posts

Database connectivity from Scratch?

Dear everyone,

I am looking for some way to interact with a database from Scratch, so far my search haven't yielded any results apart from Scratch Modifications (Mods).

Anyone doing database stuff from Scratch and if yes, how so? Ideally I would like to connect to a local SQLite (single file) database, but it could also be a remote database.

Scratch Modifications might very well serve for what I am trying to do since they can contain arbitrary javascript or python code, I'm just asking because it seems like something someone might already have accomplished.

Best regards
/ Jonas

TheGameBuilder
Scratcher
100+ posts

Database connectivity from Scratch?

It would be possible using cloud variables, as they can be modified from external servers. I heard somewhere that this practice(of externally changing cloud variables) is not allowed anymore, though.

jonascj
New to Scratch
2 posts

Database connectivity from Scratch?

Thank you for your reply TheGameBuilder.

https://wiki.scratch.mit.edu/wiki/Cloud_Data

Cloud variables seem interesting for some things, but not playing with SQL since they are just global (across all instances of a scratch project running) variables, not a database that can be queried.

Powered by DjangoBB

Standard | Mobile