Browse the archive

Category: Web

How To: Generate Swagger REST API Client

Overview As the web continues to grow and evolve, API’s are where all the magic happens that powers this innovation. REST API’s have become increasingly more favoured by developers for their ease of use over other alternatives (XML I’m looking at you). Unfortunately, REST API’s can sometimes become a bit unwieldy in terms of documenting […]
Read article

Solved: Why Async/Await does not work with .forEach

The Problem Javascript offers a number of different ways to iterate over an array. Recently while using the array.forEach syntax, I came across some interesting behaviour when using them with the async/await syntax. To demonstrate. Lets take the following Javascript code which simply prints some messages to the console every 2 seconds. function waitForTwoSecs(i) { […]
Read article

How To: Deep Clone a JavaScript Object

Overview JavaScript is becoming ever increasingly more popular as time goes by. While JavaScript has many advantages, it also has many interesting quirks or nuances that can catch out new beginners. In this post I’ll show you how to deep clone a JavaScript object. Problem Okay … before we go any further … lets take […]
Read article

How To: Google Analytics In Chrome Extensions

Background Google has replaced its legacy analytics library https://ssl.google-analytics.com/ga.js with the new and improved Universal Analytics library https://www.google-analytics.com/analytics.js. I’ve been working on a Google Chrome Browser Extension but had some trouble integrating it with Google Analytics. Google’s own tutorial hadn’t yet been updated to use the new analytics library. In this post I’ll explain how […]
Read article

Top 7 VS Code Extensions

I love Visual Studio Code! It’s a fantastic lightweight, cross-platform source code editor from Microsoft. Best of all, it’s FREE!!! Starting with Visual Studio Code Beta (0.10.1 version) you can install extensions from the Visual Studio Code Marketplace to further enhance its functionality. Here’s is my list of must-have extensions for VS Code:
Read article

Progressive Web Apps: Future of the Web?

Decisions, Decisions, Decisions … In today’s rapidly evolving world of technology there has always been a clear distinction between mobile apps and websites. They each bring along their own set of pros and cons. Although native mobile apps provide a first class user experience, they tend to have a higher barrier to entry; they require installation […]
Read article