XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] [ANN] XQuery in the Browser, JavaScript Edition

Title: [xml-dev] [ANN] XQuery in the Browser, JavaScript Edition
This is a pretty exciting development.  We discussed it at the W3C Forms WG meeting and are looking forward to some experiments with XForms and XQuery together.  We already have a plan to recommend XPath 2.0 for XForms 1.2 (advancing from XPath 1.0), and a working XQuery superset is even better news.

If we could get XForms and XQuery  together -- and more importantly, if we could get them together in today's desktop browsers -- there would be a great benefit on the web.

There are a few implementations of XForms done in JavaScript now; among those listed at http://www.w3.org/MarkUp/Forms/wiki/XForms_Implementations I think it like that both Ubiquity XForms and AgenceXML XSLTForms are in a position to experiment with this.  In fact, Claudius Teodorescu has already done one integration with the plugin version of xqib.

Looking at a few of the samples you've shown in XQIB with an XForms implementation, I think that there are things that XQuery is great at, and some where XForms is better. 

Here's an example:

http://xformstest.org/klotz/2011/01/xqib-comparison/wx/

which is a re-casting of

http://www.xqib.org/js/WeatherREST.html

Note that the XForms version is markup-heavy and the XQuery version is script-heavy.  The UI part of the XForms version is pretty well separated from the presentation version, though a few hacks are used to provide for conditional presentation of info (it's a little hard to display the Zeus image when none of the other conditions match).  XForms 1.2 should make this part smoother.

Leigh.


On 01/03/2011 08:58 AM, Fourny Ghislain wrote:
32676455-7454-4DD3-BF91-B016162205F9@inf.ethz.ch" type="cite">

Dear all,

Last year, at XML Prague 2010, we presented our latest release of the XQuery in the Browser plugin. While the audience seemed enthusiastic about this idea, using a plugin was seen as insurmountable obstacle to a wider adoption of using XQuery on the client layer.

So we decided to get rid of the plugin.

It is our pleasure to introduce an alpha preview of XQuery in the Browser, JavaScript Edition. The principle remains the same: the XQuery code put inside a script tag (type text/xquery) gets executed. The difference is: there is nothing to install.

A preview of some samples is available under http://www.xqib.org/js

More information (supported browsers, how to write your own XQuery code…) is available under http://www.xqib.org

Your feedback is welcome.

Kind regards and happy new year,
Ghislain





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS