Hi,
I'm new at this, so please excuse if I missed something obvious...
BaseX implements a REST interface via basexhttp and JavaScript frameworks like Ext JS allow you to use a REST interface for accessing data. So I thought it may be possible to create a Web interface to a corpus stored in BaseX that enables users to search the corpus and update the annotations *without* writing server-side code.
The first obstacle I encountered is that under the same-orgin policy browsers consider localhost and localhost:8984 two separate domains and inhibit XmlHttpRequests calls, and basexhttp seems not to support cross-origin resource sharing (see http://enable-cors.org/).
Using BaseX as a data store for an Ext JS component without having to write server-side code seems very attractive. However, I'm now wondering whether this approach makes sense at all. Has anybody tried to do something like this?
Thanks in advance!
Best regards