To start building the GUI for rubyk, I decided to first implement an iPhone remote because:
The first problem I fell upon was how to build the proxy tree and manage the asynchronous calls (update and change value). It took me some time but I finally wrapped my head around the idea of a ProxyFactory that you sub-class in your specific gui environment, providing the necessary hooks to build the gui widgets.

Add a device (part of the ProxyFactory pattern).
Here is the list of commands (part of oscit protocol) that are used to build the proxy tree.

Sync states between a remote and a proxy.
And finally, this is what happens when values are changed:

Value change notifications between a remote and a proxy.
I started writing the tests for this setup. The code will be part of the liboscit library.
Funding from the Swiss Federal Office of Culture to write the graphical frontend to rubyk !
General ideas for the design of rubyk.
comments