Passing a sequence to xdmp:eval()

Author: Dave Cassel  |  Category: Software Development

When using MarkLogic Server, you’ll sometimes need to execute a command against a different database than the one associated with your application. Enter the xdmp:eval() function. eval() lets you execute any code you can put into a string. Among its several options is <database/>, allowing you to execute a command against a different database. As […]

Upgrading MarkLogic server on Ubuntu 9.10

Author: Dave Cassel  |  Category: Software Development

There are other posts out there describing how to install MarkLogic Server on Ubuntu versions 9.04 and 8.10. This post will update these directions for Ubuntu 9.10 and go over the steps for upgrading from MarkLogic 4.1-2 to 4.1-4. It’s a minor update, but it’s the first time I’ve upgraded my install; might as well […]

Adjacent Sibling Selectors and IE

Author: Dave Cassel  |  Category: Software Development

I came across an interesting little gotcha today while working with CSS’ adjacent sibling selectors. First, a quick intro, in case you’re not familiar with them. <div class=”content”> <h1>Big News</h1> <p>Intro paragraph.</p> <p>Meaningless drivel</p> </div> Sibling selectors let you apply styles to an element based on what it’s next to, rather than the usual way […]

Technical Choices Matter

Author: Dave Cassel  |  Category: Software Development

When you start a project, one of the early choices you need to make is what technologies to use. You use tools that will support your efforts, not get in your way. For Trovz.com, I went with PHP on the server side. Over time, I added CakePHP, and I adopted jQuery for client-side work. I […]

Geek Haiku

Author: Dave Cassel  |  Category: Software Development

While I’m preparing my next post, here’s a little something to chew on: Scripting languages allow much obfuscation but the job gets done. Haiku is easy: 5-7-5 syllables. Let’s see yours in the comments.