Community blogging update: MarkLogic 6, Roxy, XQuery 3.0, and more

by Evan Lenz

What? Three months since our last community blogging update? I'm afraid so. The good news is that you've now got a wealth of good material to catch up on, so yay!

A lot has happened since the last update, including the release of MarkLogic 6 in September with attendant fanfare in the blogosphere. In fact, Cody Nolden launched his latest blog site at the impetus of the MarkLogic release in a middle-of-the-night fit of inspiration:

Next we have some posts exploring new features in MarkLogic 6. Dave Cassel introduces the MarkLogic Content Pump (mlcp):

Ryan Dew talks XQuery 3.0 and higher-order functions, all new in MarkLogic 6:

Dave Cassel provides some tutorials on how to utilize the in-database map/reduce functionality that's new in MarkLogic 6, and Ryan Dew also experiments with the new feature:

With the introduction of the MarkLogic REST API and Java API, Cody Nolden calms any fears about XQuery going away. He writes: "In addition to adding all of this cool REST API and Java API goodness, MarkLogic 6 has also bolstered the power of XQuery by adding a lot of cool new features from the 3.0 specs.":

Adam Fowler, our community's newest MarkLogic blogger extraordinaire, discusses the value and implementation of alerting applications in MarkLogic:

In an earlier article, he utilizes Norm Walsh's OAuth library and MarkLogic 6's built-in JSON-to-XML conversion utilities to access and store Twitter data (he admits to not yet having tried out MarkLogic's new REST API with its built-in support for JSON):

Are you familiar with Roxy yet? Roxy is an MVC framework for XQuery applications. It's the brain child of some hard-working MarkLogic consultants who decided they'd like to make their work a bit easier. It's inspired by Ruby on Rails. Gary Russo provides a great intro to the framework (from last August):

And Adam Fowler really kicks the tires of Roxy in a four-part series (so far!):

This isn't a blog post per se, but Telly Stroumbis has posted a fascinating video demo of his use of MarkLogic to analyze Internet traffic data (about which he presented at MarkLogic World 2012). Here are links to both his video and his slide presentation (with audio):

Another new blogger (at least regarding things MarkLogic) shows what technique he used to help binary email attachments play nicely with Microsoft Outlook:

On the nuances of advanced search functionality, we hear from both Ryan Semerau and Adam Fowler:

Dave Cassel discusses XML data modeling and namespaces:

Speaking of namespaces, another new MarkLogic blogger, Nelson Wells, and the already-prolific Adam Fowler try to help you avoid the pain namespaces can sometimes (okay, routinely) cause. Both of these posts are marked "part 1" so it sounds like more helpful warnings are on the way!

On the new code side of things, Ryan Dew created a performant localization library utilizing maps:

And Micah Dubinko prototyped an XQuery-based lexer utilizing regular expressions:

After writing some XQuery-related posts about detecting empty sequences and generating unique IDs, respectively, Ryan Dew employed a clever trick to achieve static checking against an XQuery library module (by temporarily converting it to a main module):

Speaking of tricks, Dave Cassel shows how you can use cts:near-query to effectively run a search for an element value as well as the value of an attribute on that element:

Michael Blakeley shows you how to protect dynamic (eval'd) code from attack by watching out for your use of external variables:

Last but not least, Dave Cassel provides helpful steps on how to migrate an app generated by App Builder to a different server:

And that's all for this update! Let me know if you are blogging about MarkLogic and I will add you to my watch list so I can feature your writing in a future update!

Comments