The Right Tool, The Right Idiom

As more and more traditionally-trained developers have migrated into the Javascript space, I've seen quite a few attempts to bring across idioms, patterns, and even and tools commonly found in large OO code bases. Some of those things have made their way into the core language itself and some have caused the creation of new languages. Nearly all of these examples illustrate the application one tool chain's idioms onto another - and in many of the above examples, the result is unintentional and unnecessary complexity.

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: