Adding maps to AppBuilder applications

Author: Dave Cassel  |  Category: Software Development

Using MarkLogic’s Application Builder makes it a snap to put together an application quickly. Whenever I build an app this way, I feel like I’ve gotten 80% of what I need. This post shows how to take the next step and add a common feature: maps. To illustrate these steps, I’m going to use an […]

MarkLogic and the Amazon API

Author: Dave Cassel  |  Category: Software Development

I’ve been working with MarkLogic Server for more than a year now, and one thing I’ve enjoyed is how easy it makes some things that used to be hard (or at least, harder). But there are some thing that the MLS API doesn’t provide. What to do? Run back to LAMP? No, no, no. Delegate. […]

Working with JavaScript in MarkLogic’s Office plugins

Author: Dave Cassel  |  Category: Software Development

MarkLogic Server (MLS) has some pretty cool plug-ins to help you work with Microsoft Office. After you configure and install the plugin, you can now have a side panel in PowerPoint populated by one of your web apps. Here’s an example of how I’ve seen this used: you’re doing some research using a MarkLogic-based search […]

XPath: using the root element

Author: Dave Cassel  |  Category: Software Development

In XQuery, I commonly find myself writing XPath statements to navigate into some block of XML to find some tasty nugget that’s in there somewhere. When doing so, I’ve found one particular aspect that frequently throws me off, getting me empty results instead of the information I wanted. Having finally figured it out, and after […]

Gotcha – sequence index evaluation

Author: Dave Cassel  |  Category: Software Development

Every now and then I get caught by this little gotcha, so I figured I’d share and hopefully by writing about it, I’ll remember to do this right. Let’s start with a little something simple, shall we? let $seq := (1 to 100) return $seq[10] Simple, as promised. I create a sequence of numbers from […]

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 […]

Interview projects

Author: Dave Cassel  |  Category: Software Industry

I’m in the process of changing jobs. After 5+ years working with Lockheed Martin, I’m moving to Mark Logic. The process of finding a new company gave me a topic to discuss here. I interviewed with two companies, and both required something I hadn’t been asked to do before: complete a project as part of […]