JavaScript
-
Basic JavaScript arrays reminder
I’m pretty bad when it comes to remembering syntax details for languages I don’t use every day, especially since I…
Read More » -
Creating a hash in Node.js
Introduction We require hashes everywhere, like setting the password in database as hash instead of plain text password, to check whether if…
Read More » -
Lazy inter-module communication with require() and webpack
Motivation CommonJS’ modules can be loaded on demand with require.ensure(…). Example: require.ensure(["module-a"], function(require) { var a = require("module-a"); // module-a can…
Read More » -
First steps with Angular 2: 8 cool features
I’ve been doing some work the last couple of weeks with Angular2. I really like it. Not just because it…
Read More » -
Javascript Timer Example
The aim of this example is to explain the timing events in javascript. The javascript window.setTimeout(function, milliseconds) function is used…
Read More » -
ES6 and beyond – What i really like
Hi dear software companions. It has been a long time. A lot had happened in between. I even changed a…
Read More » -
Angular.js Single Page Application Example
Angular.js is one of the frameworks in the programming world that is acutely becoming one of the most widely-used of…
Read More » -
Angular.js $location Example
One of the scenarios that you may have encountered while using AngularJS in your project is having to use the…
Read More » -
Unobtrusive JavaScript via AJAX in Rails
For now, the main way to add dynamic content to a webpage is with JavaScript. Ideally, we want to update a…
Read More »