Topic archive

Javascript

Browse articles in this topic.

Javascript 17 Mar, 2019

The Architecture of My Blog

I just realized the other day that my blog is in its fifth year now. Since the application is built from scratch, I figured it would be fun to do a write-up of the architecture...

Read article
Javascript 02 Jul, 2017

Using Service Workers

In this post I take a look at service workers in JavaScript. I will show how to use a service worker to support offline loading of an Angular application.

Read article
Javascript 12 Mar, 2017

JavaScript AST

In this post I will discuss JavaScript ASTs and show how you can easily generate an AST of your code using Rollup.

Read article
Javascript 20 Feb, 2017

How To Create A Tech Blog

In this post I want to share some info about how I built up my blog. Hopefully this will be helpful to other bloggers, but I am also looking for feedback and suggestions for...

Read article
Javascript 22 Jan, 2017

IIFE vs UMD

In the following post I will compare immediately-invoked function expressions (IIFE) to Universal Module Definition (UMD) bundles.

Read article
Javascript 21 Dec, 2016

Where is promise.finally?

At this point I've used so many different promise libraries that I've lost track of what's supported natively by ES6 promises. Today I learned that “finally” is not yet part of...

Read article
Javascript 13 Sep, 2015

Angular 2.0 vs Aurelia

Lately I have spent quite a bit of time working in both Angular 2.0 and Aurelia, so I figured I'd share some of my experiences here.

Read article
Javascript 28 May, 2015

Object.defineProperty explained

JavaScript lacks explicit access modifiers, so variable “privacy” is hard to come by :-) . Instead we have to come up with clever workarounds to encapsulate objects to simulate...

Read article
Javascript 09 May, 2015

JavaScript ES6 Linq

EcmaScript 6 offers some new really nice syntax additions to JavaScript. One of them is arrow functions. Arrow functions provide a compact way to create filter functions, so to...

Read article
Javascript 03 May, 2015

JavaScript and bind

One confusing thing about JavaScript is how the meaning of 'this' changes based on execution context. In this post I will demonstrate how to use bind() to inject the meaning of...

Read article
Javascript 18 Apr, 2015

Writing Jasmine unit tests in ES6

Previously I showed how to write application code using ES6, but wouldn't it be nice to use ES6 when writing unit tests as well? In the following post I will demonstrate how to...

Read article
Javascript 25 Dec, 2014

JavaScript and its crutches

There is a growing sentiment among developers that the community is saturated with frameworks that all promise to fix “JavaScript problems”. Some are just frustrated with the...

Read article
Javascript 13 Dec, 2014

Is jQuery still relevant

As so many other developers I got my first introduction to complex client side web applications through jQuery. It was essentially the gateway drug that got most developers...

Read article