Mark Johnson

Passionate web designer and art lover.

REST API

REST Endpoints Design Pattern

In this post I'll present a suggested design pattern and implementation for this design pattern using a Node + Express REST API with ES Classes. Personally, I hate writing the same code again and again.


0 Comments14 Minutes

concurrency issues

Concurrency – Watch out for globals in node.js AMD modules!

globals, or global variables are known to be risky.
However using the ‘var’ keyword should ensure file level definition.
As such shouldn’t it be safe to use module level variables?

The answer is no, and it should be avoided at all costs.


1 Comment4 Minutes

Async JS Clock

Async JS – Waiting for things the JavaScript way…

This blog posts bring clarity to the various asynchronous or async JS mechanisms that exist. It covers Callbacks, Promises, Generators and Async / Await in more details and provides great references for those that want to learn more.


2 Comments12 Minutes

How To Hire Awesome Engineers? (Good vs Bad Cold Calls)

Hiring engineering these days is very challenging for many reasons. With today's story we will review some of the approaches that work and what doesn't. Read now to find out how to get the really good guys interested in you.


0 Comments22 Minutes