RDF Inferencing In Action

If you've been reading this blog for any period of time, you've probably heard me go on about linked data is magically awesome. In this post, I'll show you an example.

Functional Javascript Playground

I'm a big believer that the functional programming approach may be the only way to write Javascript code and stay sane. To continue building up my own skill as well as share some of those opportunities with you, I've created a repository to show and get feedback on examples.

Some Functional Javascript Goodness

The best code is the code that you don't have to write. Functional techniques can help write less - and therefore more reliable - code. Even in Javascript.

Managing a Database Connection in an ExpressJS Application

A Web API or Web application backed by a database of some sort is a pretty typical application architecture regardless of what language or platform we might be looking at. So you can imagine my surprise that I haven’t really ever been able to find a satisfactory answer for how to best accomplish this kind of thing for an Express application that uses MongoDB. Maybe I either don’t know how to search very well, or maybe I just don’t really understand the answers that I’m finding, but the typical kind of answer that I’ve come across in the past reads something like this:

Surprise! JavaScript Guard Clauses

I spent more time then I had planned this weekend debugging an issue in some code I wrote, and at the end of it all, discovered a JavaScript language feature that I had read about a while ago but never used (intentionally, that is). To explain, consider the following predicate function definition (and yes, I know that Underscore has this function - my specific case would have brought in some additional concepts, so I’m simplfying here).