• Maps and Profiling Performance

    Kurt Cagle over at XML Today posted a great blog about the map:map library in MarkLogic.  map:map is a hashtable-like map implementation inside MarkLogic that has measurable performance advantages over raw sequences and predicates in XQuery.  Wait … performance advantages?  How can one tell?  The quickest way is to punch...

  • Turn OFF Automatic Directory Creation

    Consider this an opinionated pro-tip.  When you create a new database in MarkLogic there is a setting called directory creation that defaults to “automatic.”  You don’t want that for your content databases.  You want “manual.” Directory creation: automatic creates directory property fragments for inferred parent folders as you insert documents into URIs...

  • XQuery and HTML5

    XQuery is amazing at generating server-side dynamic XHTML.  PHP, Java, .Net and the like are good too but don’t have the advantage of a seamless connection to a storage model.  However, they do hav a big advantage over XQuery when it comes to HTML5 because they can serialize non-XML compliant...

  • Databases for the Front-End Developer

    Don’t tell my bosses over at MarkLogic, but I hate databases.  I’m a front-end programmer through and through.  User centered design, human computer interfaces … that sort of thing.  I cringe at the concept of relational algebra and cry at the first mention of changing the physical data model.  You might...