Hi,
I just installed basex for the first time and I am very impressed and really looking forward to using it. Thanks for making such a great tool available for free!
I'm not really a developer so this might be an obvious question: using basex's http server, what is the best strategy for ajax-style communication between browser and db?
I am aware of a few approaches:
1) direct httprequest to host:8984/my_db/somequery, but going across ports seems to violate "same origin policy"
2) using jsonp
3) calling from browser to server-script (like the php example in basex docs), which handles request to the db