• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
XQuery Novelties (XML Holland 2010 - hardcore xml)
 

XQuery Novelties (XML Holland 2010 - hardcore xml)

on

  • 1,160 views

Today, I will tell about the current status and latest novelties of XQuery. We will start with briefly touching it’s history to review its original scope, followed by a description of various of ...

Today, I will tell about the current status and latest novelties of XQuery. We will start with briefly touching it’s history to review its original scope, followed by a description of various of XQueries extensions. Some of the latest proposals will come by. We will also explore the territories beyond its original scope.

Statistics

Views

Total Views
1,160
Views on SlideShare
1,156
Embed Views
4

Actions

Likes
0
Downloads
3
Comments
1

2 Embeds 4

http://www.linkedin.com 3
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • More on XQuery Novelties can be found here:

    http://grtjn.blogspot.nl/2011/10/xquery-novelties-revisited.html
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    XQuery Novelties (XML Holland 2010 - hardcore xml) XQuery Novelties (XML Holland 2010 - hardcore xml) Presentation Transcript

    • XQuery NoveltiesGeert JostenHardcore XML trackXML Holland 11 november 2010
    • Agenda Original Scope Extending Scope Newest Extensions Beyond Scope Summary11 november 2010 Hardcore XML - XQuery 2
    • about XQuery“XQuery is replacing proprietary middleware languages and Web Application development languages.”11 november 2010 Hardcore XML - XQuery 3
    • About XQuery“XQuery is replacing proprietary middleware languages and Web Application development languages.” Observation, glue More and more XQuery applications Beyond original scope11 november 2010 Hardcore XML - XQuery 4
    • Original scope11 november 2010 Hardcore XML - XQuery 5
    • Origin 1999, XPath and XSLT not enough Query languages applied to XML  SQL, OQL, Lorel, ..  XML-QL, XQL XQuery Merged into Quilt XQuery WD in 2001 XQuery XQuery XQuery11 november 2010 Hardcore XML - XQuery 6
    • Origin11 november 2010 Hardcore XML - XQuery 7
    • Extending scope11 november 2010 Hardcore XML - XQuery 8
    • Database features Efficient storage and extraction  XQuery 1.0 Searching Transactional updating Data integrity, Triggers Simultaneous access Security, Crash-recovery Optionally: Versioning ...11 november 2010 Hardcore XML - XQuery 9
    • XQuery and XPath Full Text 1.0 First extension, 2004  W3C Candidate Recommendation Search within specific nodes  Advanced „contains‟ expressions  Options • stemming, wildcards, thesaurus, ...  Relevance ranking Lot of implementations, few compliant11 november 2010 Hardcore XML - XQuery 10
    • XQuery Update Facility 1.0 Introduced in 2006  W3C Candidate Recommendation Updating of individual nodes:  insert, delete, replace, rename, and transform No return values! Various implementations, partly compliant11 november 2010 Hardcore XML - XQuery 11
    • Newest extensions11 november 2010 Hardcore XML - XQuery 12
    • XQuery Data Definition Facility Presented at XML Prague 2010  28msec and ETH Zürich Static declaration:  collections, indexes and constraints Functions:  Updating collections  Probing indexes One implementation?  Zorba / Sausalito11 november 2010 Hardcore XML - XQuery 13
    • Update (PUL) compositions Presented at XML Prague 2010  ETH Zürich and Oracle Storage cheap  Keep all changes Consolidated changes aka composition Versions integral part of tree No implementations?11 november 2010 Hardcore XML - XQuery 14
    • Beyond scope11 november 2010 Hardcore XML - XQuery 15
    • XQuery Scripting Extension 1.0 (SX) W3C Working Draft since 2008 Procedural constructs  While, variable assignment, exit, ..  Breaks functional approach Also allows multiple, incremental updates  Update *and* return results  Very useful for application logic Few implementations yet11 november 2010 Hardcore XML - XQuery 16
    • XQuery 1.1 W3C Working Draft since 2008 Lots of „small‟ improvements  Improved FLWOR  Try/Catch  Output declarations Dynamic function invocation  Mature language, design patterns Not many implementations yet11 november 2010 Hardcore XML - XQuery 17
    • XRX and NoSQL NoSQL:  Use non-relational database  Open source or open standard (like XQuery) XRX:  Xforms + Rest + Xquery  Innovative two-tier architecture  XForms front-end, XQuery back-end, REST api Breaking long-lasting traditions11 november 2010 Hardcore XML - XQuery 18
    • Summary11 november 2010 Hardcore XML - XQuery 19
    • Database features revisited Features covered:  Extraction, Searching, Updating, Data constraints, Versioning  Functional in nature Uncovered:  Storage, Security, Triggers, Crash-recovery..  Mostly technical, necessary?  More lacking?11 november 2010 Hardcore XML - XQuery 20
    • Just rememberXQuery is not just for querying XML!11 november 2010 Hardcore XML - XQuery 21
    • Questions?11 november 2010 Hardcore XML - XQuery 22
    • Further reading W3C:  http://www.w3.org/XML/Query/  http://www.w3.org/standards/techs/xquery XML Prague:  http://www.xmlprague.cz/2010/index.html  http://www.zorba- xquery.com/downloads/xmlprague/papers/pulcomposition.pdf  http://download.28msec.com/sausalito/technical_reading/xqddf.pdf11 november 2010 Hardcore XML - XQuery 23
    • Timeline11 november 2010 Hardcore XML - XQuery 24
    • XQuery and XPath Full Text 1.0 example Contains expressionfor $b in /books/book Combined searchwhere $b/title contains text "improving“ ftand "usability“ ordered distance at most 2 words at startreturn Advanced search criterium $b11 november 2010 Hardcore XML - XQuery 25
    • XQuery Data Definition Facility exampledeclare collection users as element()*;declare automatically maintained index users-by-id on nodes xqddf:collection( xs:QName(“users") ) by @id as xs:string;xqddf:insert-nodes( xs:QName(“users"), <user id=“geert”/> );xqddf:probe-index-point( xs:QName(“users-by-id"), “geert” );11 november 2010 Hardcore XML - XQuery 26