Hi Alex,
On Mon, May 21, 2018 at 11:23 AM Alexander Holupirek alex@holupirek.de wrote:
If you (and maybe others) are interested we could give a webinar about RESTXQ and the nuts and bolts of it.
If something like this is possible, please count me as being Very
Interested.
Cheers, Alex
Best, Bridger
On 21. May 2018, at 16:48, Christian Grün christian.gruen@gmail.com
wrote:
Hi France,
RESTXQ is certainly what will cover all your requirements. Did you have
a look at it? The DBA code, which is distributed along with BaseX, could be helpful to understand better what can be done with this API.
Hope this helps, Christian
France Baril france.baril@architextus.com schrieb am Mo., 21. Mai
2018, 16:40:
Hi,
In one of my projects, we are trying to refactor our code so it uses a
node.js client. We have extensive functions that do more than just get data in our .xqm. They were implemented around the http server and our web application was calling the REST functions we implemented using jquery AJAX request. All the examples we looked at in the documentation that don't use the http server pass entire queries as a string to the server.
We were wondering if we can call functions from our .xqm modules
directly (ex. namespace:do-this(param0, param1)) or if any request that uses functions from our .xqm files need to pass through the rest API.
If we can call our .xqm functions more directly, could you point us to
an example to help us understand how it would work?
Thanks!
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com