Hi Christian, the feature is excellent. It definitely helps us in managing remote DBs that run on headless machines.
It happens, from time to time, that we need to modify one single attribute or text() in an XML resource. By now we access the resource via REST GET, copy and paste it into a tool like Postman change it there and then run the REST PUT on the URL. Since the dba is doing already good part of the job it would be nice to be able to modify the XML inline (in the textarea) and re-save the resource. Maybe one could add a Modify button to the Rename, Download, Replace toolbox that appears on top of textarea displaying the resource.
Thanks for the useful addon. M.
P.S. I completely overlooked that the RESTXQPATH been reset to 'restxq'? It took me 10 minutes to understand why I wasn't able to run dba! ;-D
On 11 December 2014 at 23:30, Christian Grün <christian.gruen@gmail.com mailto:christian.gruen@gmail.com> wrote:
Hi all, This is yet another update on the next, upcoming version of BaseX: We have added a new database administration (DBA) web frontend to our ZIP and EXE distributions. It allows you to create and administrate databases, evaluate queries in realtime, view log files, manage users, and more. It was completely written with XQuery and RESTXQ, apart from a few lines of Javascript code. The new frontend was added due to the known shortcomings of the Java GUI, which cannot be used to run queries on other servers. As a consequence, we have removed the server dialog from the desktop application. We hope that DBA will help you to write your own web applications based on RESTXQ! Some more infos and design goals can be found in our Wiki [1]. Have fun, we are looking forward to your feedback, Christian PS: NO, the web frontend does not provide all the cute features of the desktop gui, like the treemap, scatterplot, syntax highlighting, etc… But it may provide some of them in future. Your contributions are welcome! [1] http://docs.basex.org/wiki/DBA