Hello List
I am testing the use of BaseX to deliver modest amounts of XML data through the RESTXQ API. See http://www.semantechs.co.uk for the illustration.
I am looking for suggestions for client side graphics packages that can consume the json-ml provide by BaseX
I am also interested in any other suggestions for improving utility/performance
Thanks
Peter
On 12/09/2012 08:47 PM, pw@themail.co.uk wrote:
Hello List
I am testing the use of BaseX to deliver modest amounts of XML data through the RESTXQ API. See http://www.semantechs.co.uk for the illustration.
I am looking for suggestions for client side graphics packages that can consume the json-ml provide by BaseX
I am also interested in any other suggestions for improving utility/performance
Hello,
what you probably need is a shared presentation model. I wouldn't use any human readable presentation, but a binary protocol to exchange data, for instance the needed node pages to draw the treemap or any other visualization.
The "real" model resides on the server, but the presentation model is shared, thus for instance the server knows immediately when you push a button or change any other GUI component state and the server reacts and sends a response. Thus the visualizations are located at the client, but for instance queries are executed on the server and only the results are sent to the client. But as suggested you probably need the Java POJOs (for instance I think ANode and so on).
At least that's something on my radar (for another project, but should be pretty much the same for each Swing/JavaFX Application) and that's how I would do it.
kind regards Johannes
basex-talk@mailman.uni-konstanz.de