As a learning project I started looking into how to mimic some basic features of a no-code platform. I usually code in Java/Python, have good knowledge over Javascript/HTML, but wanted to use this to pick up React or Vue frameworks. I am more of a backend dev than front end.
I understand the mechanics of the drag and drop of components, and the relationship graph flow representation in JSON for instance. What I am lacking knowledge about is how the JSON object is then loaded into an executable script, and how the execution is managed, especially when you have multiple users or even multiple flow running in parallel from the same user.
Any suggestions on how to accomplish this?
A very basic crude example:
Each block is a drag and drop visual component within the web app ui.
Which then is turned into its equivalent code script (say in Python)
def sum(a,b): return a+b x=2 y=3 print(sum(x,y))
The script is executed
$ python diagramm.py > run1.log
run1.log content shown within the web app