How I spent hours displaying objects from chips into a dropdown

The task of copying an object in JavaScript Yesterday, I had a simple user story at work. The user story was to simply display data that the user selects on an Angular Material chips input into an Angular Material dropdown. To be honest the data I was working with was a complex object from a […]

Inheritance and Prototypes in JavaScript

Things I didn’t realize existed in JavaScript In java every class inherits from a class called Object. This Object class has methods like toString() and equals() that other classes can use by default. That means, without defining such methods in themselves. Hence an object of Employee.java class can invoke the toString() function. And this is […]

Working with the current index in Angular ngFor

Angular ngFor directive helps us loop over an item and interpolate it in our template file. Most of the time we might also be interested to get the current index in Angular ngFor. Furthermore, we might be interested in whether the items are located on the even or odd index. Angular provides an easy way […]

Modules and Namespaces in JavaScript

modules and namespaces in javascript

For most of us, modules and namespaces in JavaScript were kinds of tricky. We import a bundle and it does the magic. How and why is abstracted away. And before modules, ideas of IIFE, closure, etc made this arena unreachable for junior JavaScript developers. Besides the easiness it brings, modularity has a number of advantages. […]

Your subscription could not be saved. Please try again.
Your subscription has been successful.

Learn Modern PHP

Subscribe to learn modern PHP in the most simple way.