Our blog

We like to share our thoughts.
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

NgClass usage

  • By: Maria Cristina Di Termine
  • Posted on: 2016-12-22
  • Category: AngularJS

AngularJS is one of the most powerful frameworks of based on JavaScript we have at the moment. Mainly, his power is focussed to extend the HTML vocabulary, making your projects readable, clean and quick to develop. This can be possible by the use of directives. AngularJS provides several directives to manipulate the DOM injecting Angular […]

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

Bootstrap 4, so what’s new...

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

Bootstrap, we’ve all heard about or used it. A HTML, CSS and JavaScript framework to create mobile-first, responsive web applications. Personally I’ve used it many times to quickly set up small websites for friends or family, but also in bigger projects where it was easy to use as a grid. Bootstrap has been working on […]

READ MORE
TypeScript

A Typescript project : Get compi...

  • By: Maria Cristina Di Termine
  • Posted on: 2016-11-13
  • Category: Gulp JavaScript TypeScript

Typescript is an open source language created by Microsoft designers for large applications. It’s a class-based object-oriented programming language that brings powerful typing features to JavaScript. There are different reasons why we should use typescript instead of plain JavaScript and two of them are: – Additional features and typings – Freedom to innovate Additional features […]

READ MORE
Page 2 of 29