[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [ANN] XQuery in the Browser, JavaScript Edition

  • From: Leigh L Klotz Jr <leigh.klotz@xerox.com>
  • To: Fourny Ghislain <gfourny@inf.ethz.ch>
  • Date: Thu, 06 Jan 2011 15:53:05 -0800

Re:  [ANN] XQuery in the Browser
Title: [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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.