Discussion:
[xquery-talk] restxq status
e-letter
2013-12-21 11:20:56 UTC
Permalink
Readers,

Having decided to use basex as an xml database, encountered an
unofficial draft 'restxq'
(http://exquery.github.io/exquery/exquery-restxq-specification/restxq-1.0-specification.html).
According to this document, there is no facility within xquery to use
it on a web server to process requests to and from a web browser
client. This is surprising; is it true?

What is the long term future of restxq, from the perspective of
learning its language?
Adam Retter
2013-12-21 17:10:49 UTC
Permalink
RESTXQ itself is supported in eXist, BaseX and to a certain extent in
Marklogic.

XQuery has no support for processing or responding to HTTP requests, this
is what RESTXQ is trying to solve.

If you would like some background I would recommend reading the paper from
the XML Prague 2012 conference, it's available in the proceedings or at my
website www.adamretter.org/presentations.xml.

RESTXQ will continue to develop, personally I have just lacked time to
update the spec.
Post by e-letter
Readers,
Having decided to use basex as an xml database, encountered an
unofficial draft 'restxq'
(
http://exquery.github.io/exquery/exquery-restxq-specification/restxq-1.0-specification.html
).
According to this document, there is no facility within xquery to use
it on a web server to process requests to and from a web browser
client. This is surprising; is it true?
What is the long term future of restxq, from the perspective of
learning its language?
_______________________________________________
http://x-query.com/mailman/listinfo/talk
e-letter
2013-12-21 17:36:25 UTC
Permalink
Post by Adam Retter
XQuery has no support for processing or responding to HTTP requests, this
is what RESTXQ is trying to solve.
Again, this is surprising; was expecting to re-visit the w3 web site
to find another x... to review! ;)
Post by Adam Retter
If you would like some background I would recommend reading the paper from
the XML Prague 2012 conference, it's available in the proceedings or at my
website www.adamretter.org/presentations.xml.
UK domain required in the URL: www.adamretter.org.uk/presentations.xml
David Lee
2013-12-21 18:01:55 UTC
Permalink
Its useful to consider "layers" of software.

XQuery itself is a data processing language with very minimal (almost none) support for application level services.
This is like C or core Java or basic languages ... the language itself doesnt have support for application services (http, web services etc).
Those are supplied by infrastrucdture, frameworks, libraries or other products.

XQuery is *embedded* into many products that DO support these services.
Like C or Java. Java as a language by itself knows nothing about web servers , but Java inside of a J2EE environment (like Tomcat or JBoss) does.
Same with XQuery.

So when you are looking for app sevice support you generally are exiting the realm of pure XQuery and entering the realm of a particular host framework.


-----Original Message-----
From: talk-***@x-query.com [mailto:talk-***@x-query.com] On Behalf Of e-letter
Sent: Saturday, December 21, 2013 12:36 PM
To: Adam Retter
Cc: ***@x-query.com
Subject: Re: [xquery-talk] restxq status
Post by Adam Retter
XQuery has no support for processing or responding to HTTP requests,
this is what RESTXQ is trying to solve.
Again, this is surprising; was expecting to re-visit the w3 web site to find another x... to review! ;)
Post by Adam Retter
If you would like some background I would recommend reading the paper
from the XML Prague 2012 conference, it's available in the proceedings
or at my website www.adamretter.org/presentations.xml.
UK domain required in the URL: www.adamretter.org.uk/presentations.xml
_______________________________________________
***@x-query.com
http://x-query.com/mailman/listinfo/talk
Michael Sokolov
2013-12-21 20:29:56 UTC
Permalink
There is also this spec: http://expath.org/spec/webapp which defines a
protocol for providing web services in xquery. Lux (luxdb.org) supports
this (the request/response protocol, not the packaging spec); I'm not
sure whether it has been adopted by BaseX or any other system

-Mike
Post by e-letter
Readers,
Having decided to use basex as an xml database, encountered an
unofficial draft 'restxq'
(http://exquery.github.io/exquery/exquery-restxq-specification/restxq-1.0-specification.html).
According to this document, there is no facility within xquery to use
it on a web server to process requests to and from a web browser
client. This is surprising; is it true?
What is the long term future of restxq, from the perspective of
learning its language?
_______________________________________________
http://x-query.com/mailman/listinfo/talk
Loading...