MarkLogic Node.js API -- Working with Binary Documents

This article first appeared on the MarkLogic Developer Blog In this article we are going to explore the possibilities that Node.js developers have when it comes to managing and working with binary documents in a MarkLogic database. When I first started at MarkLogic I was blown away by how…

Securing a REST API

This article has first appeared on MarkLogic's Developer Blog The source code for the example application discussed in this article - with setup instructions - is available on GitHub. Application architecure Applications using a three tiered architecture have been around for a quite a while - LAMP stack anyone? Recently…

Arrow functions in ES6 / ES2015

This post first appeared on Full Stack Training Arrow functions are a new addition to the latest iteration of JavaScript (ES2015). They allow developers to write more terse functions (i.e. fewer lines of code) but there's also a major difference between a standard JavaScript function expression and an arrow…

Performance monitoring using Node.js, socket.io and MarkLogic

Previously I have worked a lot with sockets and recently I had the opportunity to work with them again - I needed a good example application to demonstrate sockets other than a chat application. The idea that I have come up with was to gather various metrics from Node.js…

Getting started with Ionic

This article first appeared on Full Stack Training. So you had enough of writing web applications and now you'd like to up your game and try to write mobile apps? But who has the time to learn new programming languages and technologies - or even two if you want to…

How is MarkLogic different from MongoDB?

The question above is something that I need to answer at every conference and Meetup that I attend and it comes up in different variations - how is MarkLogic better, what does MarkLogic do differently so on and so forth. I thought I'd collect all the answers in this one…

React components with ES6

Having recently met Nicola at a conference I got immediately infected by his enthusiasm about React. It took me a few weeks to materialise things and get down to writing my first React component. Before we get started if you don't already know React advocates component based programming - simply…

jDays 2015 presentation

I have delivered a talk earlier this year in Gothenburg, Sweden on Single Page Application development using only JavaScript. Please have a look at the recording and see my slides as well.…

Geospatial SPA using JavaScript only - part 2

In the first part of this article series I have discussed the database backend and the JSON document structure. In this part we'll dwelve into how the node.js/Express setup looks like. As a reminder let's go through what kind of documents we actually store in the database. We…