our blog

We like to share our thoughts.
CSS3

3 CSS properties you might not have heard of

  • By: Kim Massaro
  • Posted on: 2017-01-24
  • Category: CSS(3)

There are many CSS properties that you use on auto-pilot, properties you don’t think about because they are like a second nature in order to get the styling done according to the requirements. However, there are still many properties that you might not have heard off. The main reason of this is probably since they […]

READ MORE
ES6

Merging Collections: Arrays

  • By: Bastiaan Dressen
  • Posted on: 2017-01-19
  • Category: ES6 JavaScript

What are the options for merging arrays in javascript? Javascript is a really flexible language and it has a lot of built-in functionality for working with collections like arrays and objects. However, for merging arrays it doesn’t have that many options. Actually without moving into workarounds (eg. like iterating over arrays and filling another array […]

READ MORE
JavaScript

JavaScript basics: Hoisting, par...

  • By: Tiety Kooistra
  • Posted on: 2017-01-19
  • Category: JavaScript

Recap hoisting with variables In JavaScript basics: Hoisting, part one => variables I discussed JavaScript’s hoisting behavior with variables. Now I will continue with setting out the consequences of hoisting for functions. To get a good start, a small recap. The hoisting definition as stated in part one. function and variable declarations are hoisted/moved to the top of the […]

READ MORE
JavaScript

Add property to functions

  • By: Carina Syemyerdzhyan
  • Posted on: 2017-01-19
  • Category: JavaScript

Functions are the first-class object in JavaScript. Functions have the same behavior as objects. We can easily add a property to a function! Storing functions Consider we need a collection of callbacks and we want to store these callbacks dynamically (only unique callbacks). The naive implementation is creating an array. Using a loop go through […]

READ MORE
ES6

Make arrays unique again!

  • By: Bastiaan Dressen
  • Posted on: 2017-01-19
  • Category: ES6 JavaScript

There is a really easy way to make arrays containing duplicated items unique, although it does require ES6+. Are you ready for it? Brace yourselves…, here we go! let a = [1, 2, 3, 4, 5, 1, 2, 3, 1, 5, 6]; let b = […new Set(a)]; console.log(b); // [1, 2, 3, 4, 5, 6] […]

READ MORE
AngularJS

Angular function binding example...

  • By: Tiety Kooistra
  • Posted on: 2016-12-16
  • Category: AngularJS JavaScript

In an angular directive you can use a function in the parent scope by using the ‘&’ function binding. Why would this be needed? In this example a teacher is creating an online assignment to witch he wants to add some students from a bigger list. To add students a popup is opened to get and […]

READ MORE
JavaScript

JavaScript basics: Hoisting, par...

  • By: Tiety Kooistra
  • Posted on: 2016-12-10
  • Category: ES6 Front-end JavaScript

When you start learning JavaScript you frequently hear two advices. Firstly: declare all your variables at the top of your file, or as high as possible. Secondly: Don’t call a function before you have written it. These are two best practices, but why? Lets take a look at the JavaScript concept of hoisting to figure […]

READ MORE
ES6

Maps in ES6

  • By: Carina Syemyerdzhyan
  • Posted on: 2016-12-01
  • Category: ES6 JavaScript

A map object in ES6 is just a simple key-value map. Javascript objects in maps are very similar to each other. But maps offers a few benefits for us which we can’t get from objects. E.g. in an object keys have to be a string where is in a map it can be anything from […]

READ MORE
Gulp

Gulp cache busting

  • By: Kim Massaro
  • Posted on: 2016-11-23
  • Category: Gulp

Not long ago I had the problem with caching images and CSS in one of the applications I’m working on. I was familiar with the fact that you can set an expiration date on assets, however I wasn’t sure how and what would happen if I would make a change in the files. After a […]

READ MORE
Page 1 of 29