Erik, sorry for a late feedback..
- Any plans to add collections or may basex does and I've overlooked it?
[...]
Flat meaning one collection of multiple docs per database right?
Exactly.. Traditionally, we put our major focus on single, large documents. That's why we decided to keep collections as simple as possible (at least for now). Hierarchical collections could probably implemented rather straight-forward in the backend; conceptual issues would take some more time, however.
- ReST interface: There are two approaches, both have their benefits and I would like to see both available:
[...]
The first beta version of our REST implementation will be released around the end of this month! This might be a good base to discuss further enhancements and changes. We're currently experimenting with two versions, both using Jetty and one of them using JAX-RS.
For example, how ReST purist should we be? GET methods don't modify resources for example. Do we enforce that in the BaseX rest API? How does an application respond with different content (xml, json, other)?
As, in future, XQuery Update might be merged with main XQuery specification, we recently decided to allow XQuery Update via GET and POST. DELETE and PUT will be used to delete/insert collections or documents within collections.
All the best, Christian