Yes, it is absolutely conceivable to use Processing to read and write data on a remote server. You can achieve this by making use of its built-in networking libraries
- Network / Libraries / Processing.org
is a simplified wrapper around the core java.net library.
To read and write data on a remote server with Processing, you can use HTTP requests (GET/POST) for data exchange.
Related:
This is a while back and I won’t be revisiting this anytime soon.
I did come up with a simple proof of concept with a local Python server and communicating to it with a Processing client sketch.
I have done this in the past and needed a serious refresher!
This should be enough to get you started!
Client:
Python server running in command window:
Python server in editor:
Saves to log.txt file:
This was familiar to me and that simplified things.
There will be a learning curve.
Have fun!
:)