creators_name: Fourny, Ghislain creators_name: Pilman, Markus creators_name: Florescu, Daniela creators_name: Kossmann, Donald creators_name: Kraska, Tim creators_name: McBeath, Darin type: conference_item datestamp: 2009-04-06 19:11:40 lastmod: 2009-04-07 14:02:43 metadata_visibility: show title: XQuery in the Browser ispublished: pub full_text_status: public pres_type: paper abstract: Since the invention of the Web, the browser has become more and more powerful. By now, it is a programming and execution environment in itself. The predominant language to program applications in the browser today is JavaScript. With browsers becoming more powerful, JavaScript has been extended and new layers have been added (e.g., DOM-Support and XPath). Today, JavaScript is very successful and applications and GUI features implemented in the browser have become increasingly complex. The purpose of this paper is to improve the programmability of Web browsers by enabling the execution of XQuery programs in the browser. Although it has the potential to ideally replace JavaScript, it is possible to run it in addition to JavaScript for more flexibility. Furthermore, it allows instant code migration from the server to the client and vice-versa. This enables a significant simplification of the technology stack. The intuition is that programming the browser involves mostly XML (i.e., DOM) navigation and manipulation, and the XQuery family of W3C standards were designed exactly for that purpose. The paper proposes extensions to XQuery for Web browsers and gives a number of examples that demonstrate the usefulness of XQuery for the development of AJAX-style applications. Furthermore, the paper presents the design of an XQuery plug-in for Microsoft’s Internet Explorer. The paper also gives examples of applications which were developed with the help of this plug-in. date: 2009-04 pagerange: 1011-1011 event_title: 18th International World Wide Web Conference event_location: Madrid, Spain event_dates: April 20th-24th, 2009 event_type: conference refereed: TRUE citation: Fourny, Ghislain and Pilman, Markus and Florescu, Daniela and Kossmann, Donald and Kraska, Tim and McBeath, Darin (2009) XQuery in the Browser. In: 18th International World Wide Web Conference, April 20th-24th, 2009, Madrid, Spain. document_url: http://www2009.eprints.org/102/1/p1011.pdf