SlideShare uma empresa Scribd logo
1 de 26
Geert Josten
Hardcore XML track
XML Holland
XQuery Novelties
11 november 2010
2
Agenda
 OriginalScope
 ExtendingScope
 NewestExtensions
 BeyondScope
 Summary
11 november 2010 Hardcore XML - XQuery
3
about XQuery
“XQuery is replacing proprietary middleware
languages and Web Application
development languages.”
11 november 2010 Hardcore XML - XQuery
4
About XQuery
“XQueryis replacingproprietarymiddleware
languagesand WebApplication
developmentlanguages.”
 Observation,glue
 More and more XQuery applications
 Beyond originalscope
11 november 2010 Hardcore XML - XQuery
5
Original scope
11 november 2010 Hardcore XML - XQuery
6
Origin
 1999,XPath and XSLTnot enough
 Query languagesappliedto XML
 SQL, OQL, Lorel, ..  XML-QL, XQL
 Merged into Quilt
 XQuery WD in 2001
11 november 2010 Hardcore XML - XQuery
XQuery
XQuery
XQuery
XQuery
7
Origin
11 november 2010 Hardcore XML - XQuery
8
Extending scope
11 november 2010 Hardcore XML - XQuery
9
Database features
 Efficientstorageand extraction XQuery 1.0
 Searching
 Transactional updating
 Data integrity,Triggers
 Simultaneousaccess
 Security,Crash-recovery
 Optionally:Versioning
 ...
11 november 2010 Hardcore XML - XQuery
10
XQuery and XPath Full Text 1.0
 First extension,2004
 W3C Candidate Recommendation
 Searchwithinspecificnodes
 Advanced ‘contains’ expressions
 Options
• stemming, wildcards, thesaurus, ...
 Relevance ranking
 Lot of implementations,few compliant
11 november 2010 Hardcore XML - XQuery
11
XQuery Update Facility 1.0
 Introducedin 2006
 W3C Candidate Recommendation
 Updatingof individualnodes:
 insert, delete, replace, rename, and transform
 No return values!
 Variousimplementations,partlycompliant
11 november 2010 Hardcore XML - XQuery
12
Newest extensions
11 november 2010 Hardcore XML - XQuery
13
XQuery Data Definition Facility
 Presented at XMLPrague 2010
 28msec and ETH Zürich
 Static declaration:
 collections, indexes and constraints
 Functions:
 Updating collections
 Probing indexes
 One implementation?
 Zorba / Sausalito
11 november 2010 Hardcore XML - XQuery
14
Update (PUL) compositions
 Presented at XMLPrague 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
15
Beyond scope
11 november 2010 Hardcore XML - XQuery
16
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 yet
11 november 2010 Hardcore XML - XQuery
17
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 yet
11 november 2010 Hardcore XML - XQuery
18
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 traditions
11 november 2010 Hardcore XML - XQuery
19
Summary
11 november 2010 Hardcore XML - XQuery
20
Database features revisited
 Featurescovered:
 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
21
Just remember
XQuery is not just for querying XML!
11 november 2010 Hardcore XML - XQuery
22
Questions?
11 november 2010 Hardcore XML - XQuery
23
Further reading
 W3C:
 http://www.w3.org/XML/Query/
 http://www.w3.org/standards/techs/xquery
 XMLPrague:
 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.pdf
11 november 2010 Hardcore XML - XQuery
24
Timeline
11 november 2010 Hardcore XML - XQuery
25
XQuery and XPath Full Text 1.0 example
for $b in /books/book
where $b/title
containstext "improving“ftand "usability“
ordereddistanceat most 2 wordsat start
return
$b
11 november 2010 Hardcore XML - XQuery
Contains expression
Combined search
Advanced search criterium
26
XQuery Data Definition Facility example
declare collection users as element()*;
declare automaticallymaintainedindexusers-by-id
on nodesxqddf: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

Mais conteúdo relacionado

Destaque

Tribus urbanas arantxa, clara, laura marquina, miguel angel
Tribus urbanas arantxa, clara, laura marquina, miguel angelTribus urbanas arantxa, clara, laura marquina, miguel angel
Tribus urbanas arantxa, clara, laura marquina, miguel angelalbertocl9
 
Nick Armstrong - Ignite Fort Collins #5 - Confessions of an Ignite Whore
Nick Armstrong - Ignite Fort Collins #5 - Confessions of an Ignite WhoreNick Armstrong - Ignite Fort Collins #5 - Confessions of an Ignite Whore
Nick Armstrong - Ignite Fort Collins #5 - Confessions of an Ignite WhoreNick Armstrong
 
Re-Membering Siva: Visual Meditations on Siva, Shakti & DIY Erotic Enlightenm...
Re-Membering Siva: Visual Meditations on Siva, Shakti & DIY Erotic Enlightenm...Re-Membering Siva: Visual Meditations on Siva, Shakti & DIY Erotic Enlightenm...
Re-Membering Siva: Visual Meditations on Siva, Shakti & DIY Erotic Enlightenm...W. David Kubiak
 
How to create erotic art
How to create erotic artHow to create erotic art
How to create erotic artsexyadventures
 
A arte de gostar de mulher
A arte de gostar de mulherA arte de gostar de mulher
A arte de gostar de mulherpietra bravo
 
Rise of the Arctic Cougar
Rise of the Arctic CougarRise of the Arctic Cougar
Rise of the Arctic Cougarhowsyourpony
 
The erotic brain by adolf tobeña
The erotic brain by adolf tobeñaThe erotic brain by adolf tobeña
The erotic brain by adolf tobeñacultura 3.0
 
Caught on cam:Sunny Leone pink show!!
Caught on cam:Sunny Leone pink show!!Caught on cam:Sunny Leone pink show!!
Caught on cam:Sunny Leone pink show!!telugustop.com
 

Destaque (9)

Tribus urbanas arantxa, clara, laura marquina, miguel angel
Tribus urbanas arantxa, clara, laura marquina, miguel angelTribus urbanas arantxa, clara, laura marquina, miguel angel
Tribus urbanas arantxa, clara, laura marquina, miguel angel
 
Rubia
RubiaRubia
Rubia
 
Nick Armstrong - Ignite Fort Collins #5 - Confessions of an Ignite Whore
Nick Armstrong - Ignite Fort Collins #5 - Confessions of an Ignite WhoreNick Armstrong - Ignite Fort Collins #5 - Confessions of an Ignite Whore
Nick Armstrong - Ignite Fort Collins #5 - Confessions of an Ignite Whore
 
Re-Membering Siva: Visual Meditations on Siva, Shakti & DIY Erotic Enlightenm...
Re-Membering Siva: Visual Meditations on Siva, Shakti & DIY Erotic Enlightenm...Re-Membering Siva: Visual Meditations on Siva, Shakti & DIY Erotic Enlightenm...
Re-Membering Siva: Visual Meditations on Siva, Shakti & DIY Erotic Enlightenm...
 
How to create erotic art
How to create erotic artHow to create erotic art
How to create erotic art
 
A arte de gostar de mulher
A arte de gostar de mulherA arte de gostar de mulher
A arte de gostar de mulher
 
Rise of the Arctic Cougar
Rise of the Arctic CougarRise of the Arctic Cougar
Rise of the Arctic Cougar
 
The erotic brain by adolf tobeña
The erotic brain by adolf tobeñaThe erotic brain by adolf tobeña
The erotic brain by adolf tobeña
 
Caught on cam:Sunny Leone pink show!!
Caught on cam:Sunny Leone pink show!!Caught on cam:Sunny Leone pink show!!
Caught on cam:Sunny Leone pink show!!
 

Semelhante a Xml holland - XQuery novelties - Geert Josten

XQuery Novelties (XML Holland 2010 - hardcore xml)
XQuery Novelties (XML Holland 2010 - hardcore xml)XQuery Novelties (XML Holland 2010 - hardcore xml)
XQuery Novelties (XML Holland 2010 - hardcore xml)Geert Josten
 
XQuery Novelties (XML Holland 2010)
XQuery Novelties (XML Holland 2010)XQuery Novelties (XML Holland 2010)
XQuery Novelties (XML Holland 2010)Geert Josten
 
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...InSync2011
 
Migration from FAST ESP to Solr
Migration from FAST ESP to SolrMigration from FAST ESP to Solr
Migration from FAST ESP to SolrTNR Global
 
XML London 2013 - Architecture of xproc.xq an XProc processor
XML London 2013 - Architecture of xproc.xq an XProc processorXML London 2013 - Architecture of xproc.xq an XProc processor
XML London 2013 - Architecture of xproc.xq an XProc processorjimfuller2009
 
The power of faceted search in alfresco
The power of faceted search in alfrescoThe power of faceted search in alfresco
The power of faceted search in alfrescoXeniT Solutions nv
 
Extending XForms with Server-Side Functionality
Extending XForms with Server-Side FunctionalityExtending XForms with Server-Side Functionality
Extending XForms with Server-Side FunctionalityMarkku Laine
 
Ample SDK - Open Source GUI Framework
Ample SDK - Open Source GUI FrameworkAmple SDK - Open Source GUI Framework
Ample SDK - Open Source GUI FrameworkBéla Varga
 
Introducing apache pivot 2010 06-11
Introducing apache pivot 2010 06-11Introducing apache pivot 2010 06-11
Introducing apache pivot 2010 06-11ConchiLebron
 
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1Marco Gralike
 
Best Practices - Mobile Developer Summit
Best Practices - Mobile Developer SummitBest Practices - Mobile Developer Summit
Best Practices - Mobile Developer Summitwolframkriesing
 
XML Amsterdam - Creating structure in unstructured data
XML Amsterdam - Creating structure in unstructured dataXML Amsterdam - Creating structure in unstructured data
XML Amsterdam - Creating structure in unstructured dataMarco Gralike
 
Andres Gutierrez "Phalcon 3.0, Zephir & PHP7"
Andres Gutierrez "Phalcon 3.0, Zephir & PHP7"Andres Gutierrez "Phalcon 3.0, Zephir & PHP7"
Andres Gutierrez "Phalcon 3.0, Zephir & PHP7"Fwdays
 
Office OpenXML: a technical approach for OOo.
Office OpenXML: a technical approach for OOo.Office OpenXML: a technical approach for OOo.
Office OpenXML: a technical approach for OOo.Alexandro Colorado
 
Expertezed 2012 Webcast - XML DB Use Cases
Expertezed 2012 Webcast - XML DB Use CasesExpertezed 2012 Webcast - XML DB Use Cases
Expertezed 2012 Webcast - XML DB Use CasesMarco Gralike
 
XForms workshop slides
XForms workshop slidesXForms workshop slides
XForms workshop slidesewg118
 
Local Storage for Web Applications
Local Storage for Web ApplicationsLocal Storage for Web Applications
Local Storage for Web ApplicationsMarkku Laine
 

Semelhante a Xml holland - XQuery novelties - Geert Josten (20)

XQuery Novelties (XML Holland 2010 - hardcore xml)
XQuery Novelties (XML Holland 2010 - hardcore xml)XQuery Novelties (XML Holland 2010 - hardcore xml)
XQuery Novelties (XML Holland 2010 - hardcore xml)
 
XQuery Novelties (XML Holland 2010)
XQuery Novelties (XML Holland 2010)XQuery Novelties (XML Holland 2010)
XQuery Novelties (XML Holland 2010)
 
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
 
Migration from FAST ESP to Solr
Migration from FAST ESP to SolrMigration from FAST ESP to Solr
Migration from FAST ESP to Solr
 
XML London 2013 - Architecture of xproc.xq an XProc processor
XML London 2013 - Architecture of xproc.xq an XProc processorXML London 2013 - Architecture of xproc.xq an XProc processor
XML London 2013 - Architecture of xproc.xq an XProc processor
 
The power of faceted search in alfresco
The power of faceted search in alfrescoThe power of faceted search in alfresco
The power of faceted search in alfresco
 
Extending XForms with Server-Side Functionality
Extending XForms with Server-Side FunctionalityExtending XForms with Server-Side Functionality
Extending XForms with Server-Side Functionality
 
Ample SDK - Open Source GUI Framework
Ample SDK - Open Source GUI FrameworkAmple SDK - Open Source GUI Framework
Ample SDK - Open Source GUI Framework
 
Introducing apache pivot 2010 06-11
Introducing apache pivot 2010 06-11Introducing apache pivot 2010 06-11
Introducing apache pivot 2010 06-11
 
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
 
Linq To XML Overview
Linq To XML OverviewLinq To XML Overview
Linq To XML Overview
 
Best Practices - Mobile Developer Summit
Best Practices - Mobile Developer SummitBest Practices - Mobile Developer Summit
Best Practices - Mobile Developer Summit
 
XML Amsterdam - Creating structure in unstructured data
XML Amsterdam - Creating structure in unstructured dataXML Amsterdam - Creating structure in unstructured data
XML Amsterdam - Creating structure in unstructured data
 
Andres Gutierrez "Phalcon 3.0, Zephir & PHP7"
Andres Gutierrez "Phalcon 3.0, Zephir & PHP7"Andres Gutierrez "Phalcon 3.0, Zephir & PHP7"
Andres Gutierrez "Phalcon 3.0, Zephir & PHP7"
 
Office OpenXML: a technical approach for OOo.
Office OpenXML: a technical approach for OOo.Office OpenXML: a technical approach for OOo.
Office OpenXML: a technical approach for OOo.
 
Expertezed 2012 Webcast - XML DB Use Cases
Expertezed 2012 Webcast - XML DB Use CasesExpertezed 2012 Webcast - XML DB Use Cases
Expertezed 2012 Webcast - XML DB Use Cases
 
XForms workshop slides
XForms workshop slidesXForms workshop slides
XForms workshop slides
 
Is Ldap Dead ?
Is Ldap Dead ?Is Ldap Dead ?
Is Ldap Dead ?
 
OpenDj Fossa2011
OpenDj Fossa2011OpenDj Fossa2011
OpenDj Fossa2011
 
Local Storage for Web Applications
Local Storage for Web ApplicationsLocal Storage for Web Applications
Local Storage for Web Applications
 

Último

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

Xml holland - XQuery novelties - Geert Josten

  • 1. Geert Josten Hardcore XML track XML Holland XQuery Novelties 11 november 2010
  • 2. 2 Agenda  OriginalScope  ExtendingScope  NewestExtensions  BeyondScope  Summary 11 november 2010 Hardcore XML - XQuery
  • 3. 3 about XQuery “XQuery is replacing proprietary middleware languages and Web Application development languages.” 11 november 2010 Hardcore XML - XQuery
  • 4. 4 About XQuery “XQueryis replacingproprietarymiddleware languagesand WebApplication developmentlanguages.”  Observation,glue  More and more XQuery applications  Beyond originalscope 11 november 2010 Hardcore XML - XQuery
  • 5. 5 Original scope 11 november 2010 Hardcore XML - XQuery
  • 6. 6 Origin  1999,XPath and XSLTnot enough  Query languagesappliedto XML  SQL, OQL, Lorel, ..  XML-QL, XQL  Merged into Quilt  XQuery WD in 2001 11 november 2010 Hardcore XML - XQuery XQuery XQuery XQuery XQuery
  • 7. 7 Origin 11 november 2010 Hardcore XML - XQuery
  • 8. 8 Extending scope 11 november 2010 Hardcore XML - XQuery
  • 9. 9 Database features  Efficientstorageand extraction XQuery 1.0  Searching  Transactional updating  Data integrity,Triggers  Simultaneousaccess  Security,Crash-recovery  Optionally:Versioning  ... 11 november 2010 Hardcore XML - XQuery
  • 10. 10 XQuery and XPath Full Text 1.0  First extension,2004  W3C Candidate Recommendation  Searchwithinspecificnodes  Advanced ‘contains’ expressions  Options • stemming, wildcards, thesaurus, ...  Relevance ranking  Lot of implementations,few compliant 11 november 2010 Hardcore XML - XQuery
  • 11. 11 XQuery Update Facility 1.0  Introducedin 2006  W3C Candidate Recommendation  Updatingof individualnodes:  insert, delete, replace, rename, and transform  No return values!  Variousimplementations,partlycompliant 11 november 2010 Hardcore XML - XQuery
  • 12. 12 Newest extensions 11 november 2010 Hardcore XML - XQuery
  • 13. 13 XQuery Data Definition Facility  Presented at XMLPrague 2010  28msec and ETH Zürich  Static declaration:  collections, indexes and constraints  Functions:  Updating collections  Probing indexes  One implementation?  Zorba / Sausalito 11 november 2010 Hardcore XML - XQuery
  • 14. 14 Update (PUL) compositions  Presented at XMLPrague 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
  • 15. 15 Beyond scope 11 november 2010 Hardcore XML - XQuery
  • 16. 16 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 yet 11 november 2010 Hardcore XML - XQuery
  • 17. 17 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 yet 11 november 2010 Hardcore XML - XQuery
  • 18. 18 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 traditions 11 november 2010 Hardcore XML - XQuery
  • 19. 19 Summary 11 november 2010 Hardcore XML - XQuery
  • 20. 20 Database features revisited  Featurescovered:  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
  • 21. 21 Just remember XQuery is not just for querying XML! 11 november 2010 Hardcore XML - XQuery
  • 22. 22 Questions? 11 november 2010 Hardcore XML - XQuery
  • 23. 23 Further reading  W3C:  http://www.w3.org/XML/Query/  http://www.w3.org/standards/techs/xquery  XMLPrague:  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.pdf 11 november 2010 Hardcore XML - XQuery
  • 24. 24 Timeline 11 november 2010 Hardcore XML - XQuery
  • 25. 25 XQuery and XPath Full Text 1.0 example for $b in /books/book where $b/title containstext "improving“ftand "usability“ ordereddistanceat most 2 wordsat start return $b 11 november 2010 Hardcore XML - XQuery Contains expression Combined search Advanced search criterium
  • 26. 26 XQuery Data Definition Facility example declare collection users as element()*; declare automaticallymaintainedindexusers-by-id on nodesxqddf: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