In this post, we dive into building a full five-card draw poker game with a configurable number of players. Written in XQuery 1.0, along with MarkLogic extensions to the language, this game provides examples of some great programming capabilities, including usage of maps, recursions, random numbers, and side effects. Hopefully, we will show those new to XQuery a look at the language that they may not get to see in other tutorials or examples.
Apache NiFi introduces a code-free approach of migrating content directly from a relational database system into MarkLogic. Here we walk you through getting started with migrating data from a relational database into MarkLogic
Aggregates like count and sum are heavily used in RDBMS. For people learning MarkLogic, the first match for the same set of functions (fn:count, cts:count, fn:sum, cts:sum) are generally not the right choice. Let's take a look at their lexicon-driven counterparts.