Dear Sirs,
I am coming from the "content-side" of xml, therefore please excuse the maybe simple questions. (I did a lot xml, xslt, now xquery; a lot vba; a little objective C and C - but not much client-cerver-things).
I am trying out BaseX-features. This is, what I´ve done so far: - Installation (Mac-Version) was easy. - Creating a Database via the GUI was easy. - Testing XQuery in the GUI was easy as well. - Now I tried the server: First I started the server with the Gui-Menu-Commands: it works. Fine: I can access the Server by the Command-Line of the Gui, e.g. get an answer to the command "list" or get the answer on a "xQuery …" .
The Problem is now: I am searching an easy tutorial or explanation, how I can access the Server from a Browser (e.g. Safari), or for example from a loaded webpage in the browser, which has appropriate xml-/xquery/javascript-code to access the database (how do I write that cods?).
I already tried to connect to the server via Mac-webDAV: does not work, whereas from the Gui, I can connect to the server. In the Browser, I tried "http://localhost:1984/rest" :no response.
Is there any easy tutorial, how jetty interacts with baseX-server? Are there books on how to set up the client-server architecture of baseX?
Where (which directory) has a static html-page to be placed, which I can call via localhost? (That seemed to me the first simple step to access the server.) The next logical step would be to route the http:// - request to the database-server?! As far as I understand, this is done by the various APIs, e.g. php or node.js?
Hope, you understand my needs... I am very interested in baseX as the results so far seem very promising to me.
Thanks in advance for an answer (English or German).
Dieter Zanzinger München zanzinger@alice-dsl.de