Posts tagged 'JS'

Building apps with Gulp

I never quite liked JavaScript building tools. Grunt always seemed way too complicated for the simple things I wanted to accomplish. Like concatenating files and minifying them. One of the first bash commands that any Linux user learns about is cat. You can just cat a few files together and …

Prototypical inheritance in JavaScript

JavaScript has its own inheritance model that is quite unique among languages. Since JavaScript has no notion of classes yet and since everything is actually an object, we will try to clear the confusion by defining a few terms: A class is a constructor function which has properties and other …

Promises in AngularJS

Promises are quite an old concept that took off only recently in the JavaScript world. Since version 1.2 promises have become such an important part of AngularJS that they cannot be overlooked anymore. In this post we will cover the basic concepts of promises in AngularJS with a few …