15
Sep
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 […]
31
Aug
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 […]
13
Jul
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 […]
20
May
Author: Dave Cassel | Category:
Software Development
[Update: This post was originally labelled “Calling a function on all permutations of a sequence”. John Boyer was kind enough to point out that the function works for power sets rather than permutations, so I’ve updated this post accordingly. Thanks, John!] A project I’m working on required me to call a function on the power […]
03
May
Author: Dave Cassel | Category:
Software Development
Welcome to part 5 of my series on designing a RESTful chess service. Don’t worry — today’s is the last of the planning posts, then we get to some code. The last two steps laid out by the authors of RESTful Web Services are to consider the typical course of events and to consider error conditions. […]
26
Apr
Author: Dave Cassel | Category:
Software Development
This is part four in a series of posts walking through the process of building a RESTful chess service. I’ve been slacking off a bit in the pace of my posts, but hopefully that will pick back up — I have a bit more travel coming up, and evenings spent hanging out in hotel rooms […]
30
Mar
Author: Dave Cassel | Category:
Software Development
In part 2 of this series, I defined the data set and resources for my service. I’ve been following the procedure listed in RESTful Web Services for how to lay out the service. Here are those steps again: Figure out the data set Split the data set into resources For each resource: Name the resources […]
21
Feb
Author: Dave Cassel | Category:
Software Development
In part 1 of this series, I laid out my goals for a RESTful chess service, based on the RESTful Web Services book from the O’Reilly series. The authors present a procedure for designing services, the first two of which are: Figure out the data set Split the data set into resources The use cases […]
15
Feb
Author: Dave Cassel | Category:
Software Development
I recently got a copy of RESTful Web Services, a book in the O’Reilly series that I read some time ago. I first read it when I was introduced to REST as an architectural style. It helped me get my head around a number of the concepts. I decided that I want to refresh my […]
31
Jan
Author: Dave Cassel | Category:
Software Development
A friend of mine is learning JavaScript and jQuery and I recently helped her out with a problem she was having. She wanted to mouse over an image and have another <div/> appear, giving information about the image. Okay, nothing real strange there. But in her initial implementation she would mouse over the trigger image, […]