$darkmode
Elektra 0.11.0
|
To develop a Web UI, we need to be able to remotely configure Elektra via a network socket.
The idea is to use a Pub/Sub concept to synchronize actions which describe changes in the Elektra state.
elektrad
) to be able to connect to Elektra at any time.Don't use pubsub at all.
Instead use REST API implemented by `elektrad`.
nanomsg sounds interesting, but isn't as popular as ZeroMQ, which is why there are no browser JS bindings available (only Node.js, which cannot be easily used for the Web UI).