One of the reasons I started to this blog was to get some XQuery code samples out there so people can see how cool it is.
With XQuery becoming a standard and a growing list of XQuery based content applications launching (the latest, Bowker's Global Books in Print), I thought we'd take a look at the XQuery out there in the wild:
In support of the really really rapid world of AJAX development, Jason Hunter put together this neat XML -> JSON library. While you can power AJAX directly with XML generated with XQuery, JSON lets you just plug the content right in: http://developer.marklogic.com/svn/commons/trunk/json/.
And how about making a content app with XQuery for all that cool AJAX? Here's a fully featured app from MarkLogic's own Danny Sokolsky based on the XML shakespeare encoded by John Bosak. It has the pillars of an XQuery app like traversing the content to create TOCs and transformations as well as search using MarkLogic's XQuery search extensions: http://developer.marklogic.com/svn/bill/trunk/.
Since XQuery is built for XML, web services are a snap. So how about an XQuery SOAP router: http://developer.marklogic.com/svn/soaprouter/trunk from Darin McBeath of Elsevier.
And what about managing all that XQuery code? Also from Darin is the XQDoc project for creating automated documentation for XQuery and an XQDoc Web Service to keep your documentation in sync with your code.
And finally, since this is a blog, how about an XQuery blog engine? This all XQuery app from Raffaele Sena shows that XQuery is much more than just a way to access content - it's a great way to make content applications: http://developer.marklogic.com/svn/xqlog/trunk/.
So who let the XQuery out? Us content developers, that's who. If you have a project you'd like to get out there get on the xquery developer list (by joining here) and let everyone know!