I'm trying implementation analog of OPC Servers (such as KepServer for example) based on REST technology. I have created prototype core in Java. It's treelike structure for configuration and runtime implementation.
So I'm develop rest server in Ruby. It is included Web (HTML) interface for configuration core and REST interface (JSON,XML) for access to core. But work moves very slowly...
I offer DSL as solution problem with storing configuration in database and development interface for configuration.
I have released DSL for description any treelike structures -
https://github.com/flipback/lipa. I named it Lipa. It's russian name of some tree and second mean word that is fake or mock, it's according with its purpose.
Next step of implementation is REST interface for this structures, I'm going do it on Rack. After I written extensions Lipa for communication with data source (in first order modbus).