Delivering two talks at Devfest Gandhinagar 2019

Ahmadabad is always very close to me as I did my first public speaking in this city back on 24 July 2010.  Since then I have been trying to do at least one workshop or talk each year here, so continuing the ritual, I am again coming to Ahmadabad/Gandhinagar on 13th October to speak inContinueContinue reading “Delivering two talks at Devfest Gandhinagar 2019”

Simplifying Maps in the JavaScript

Maps is a data structure, which stores the key/value pair in an ordered way.  Since the inception of the JavaScript, objects are primarily used for the map.  Consider the below code listing:   To store two key/value pairs, we have created an object foo and using the keys such as id and color to retrieveContinueContinue reading “Simplifying Maps in the JavaScript”

Why you need Proxy objects in JavaScript

JavaScript is not truly Object Oriented language, hence implementing requirements as stated below could be challenging. For example, Throw an error if the setting value of a property does not satisfy a particular condition If the property does not exist on set some default value instead of undefined If the property does not exist onContinueContinue reading “Why you need Proxy objects in JavaScript”

Step by Step implementing Two-Way Data Binding in Vanilla JavaScript

Data Binding is one of the most important features of all the frameworks. It ensures that the data model and the views are in sync with each other. It is very fundamental feature of any MV* frameworks such that Model-View-Controller, Mode-View-ViewModel, and Model-View-Presenter, etc. Popular JavaScript based frameworks such that React, Angular have their wayContinueContinue reading “Step by Step implementing Two-Way Data Binding in Vanilla JavaScript”

Video : Four ways of creating an object in JavaScript

There are four ways an object can be created in JavaScript object as a literal Using the new operator, also knows as constructor invocation pattern Using the Object.create() method Using the class starting ES6 Watch full video here : https://www.youtube.com/watch?v=JPNM2Pr-6Lo Source Code : https://gist.github.com/debugmodedotnet/f3608fb337a809e2139a9e8c4a5eb8c6 For more such learning videos, subscribe to  https://www.youtube.com/c/geek97

Type of Undeclared Variable in JavaScript: What is it?

  Have you ever thought, what is type of undeclared variable in JavaScript? I know, the first thing that might come to mind is: how can an undeclared variable have a type? Yes, in JavaScript it is possible. To understand it, let us start with understanding types in JavaScript. There are seven built in types in JavaScript.ContinueContinue reading “Type of Undeclared Variable in JavaScript: What is it?”

Presented in ng-India 2019

ng-India is India’s largest conference on Angular and JavaScript. It happened on 23 Feb in Gurgaon, India and was attended by around 350 developers around India. There were speakers from all across world teaching on various topics such as Ivy rendering, Webpack, RxJS, Change Detection in Angular, Directives, ViewEncapsulation, ngRx etc. I also had anContinueContinue reading “Presented in ng-India 2019”

Video – Arrow Function in JavaScript

Arrow function was introduced in ECMA 6.  It is different than function statement or expression , as it does not have its own ‘this’ , and can also not be used as constructor.  Some important points about Arrow function are: It does not have prototype property It does not have arguments parameter It does notContinueContinue reading “Video – Arrow Function in JavaScript”