All posts by yatendrajoddha

How to convert WordPress website to Progressive Web App

Progressive Web Apps are talk of the town, and your favorite Code4Developers is not far from using this feature. Yes, you read it true, we are now glittered with awesome features of Progressive Web Apps. In this article we will talk how and what we have done with this feature.

Read more

Angular 6 Features

On 4th May 2018 angular team announced new version of Angular i.e., Angular V6. In this major release they are not much focusing on Framework but on toolchain. They have tried to unify the framework, CLI, and Material more. In this article we will talk about some of the major features Angular team have come up with Angular 6.

Read more

Event Delegation in JavaScript

Event delegation is a pattern of adding an event listener to a parent node instead, of adding an event listener to the individual node. The added event listener will check for the bubbled event to find matching child element. In this article we will talk about how to implement an event listener using very trending method in JavaScript i.e., event delegation pattern.

Read more

Spread syntax (three dots) in JavaScript

Spread syntax which is used by typing three dots (…) in JavaScript. It allows an array expression or string or anything which can be iterating to be expanded in places where zero or more arguments for function calls or elements for array are expected. It can also be used for an object expression to be expanded in places where zero or more key-value pairs for object are expected.

Read more

arguments object in JavaScript function

The arguments object is an Array-like object matching to the arguments passed to a function. The arguments object is a local variable available within all (non-arrow) functions. You can refer to a function’s arguments within the function by using the arguments object.

Read more

Default Parameter in JavaScript function

In any programming language we often require having default parameter or default value for the parameter in a function. JavaScript allow us to initialize parameter a default value. If you are not passing any value to the parameter, then the default value of the parameter will be undefined.

Read more

Why Progressive Web Apps?

What if I tell you, by creating a website/webapp you can fulfill the requirement of having mobile application. Yes, that’s true, the concept of creating such an app is called Progressive Web Apps. They called it Progressive because it builds with the core principle of Progressive Enhancement.

Read more

List of all the Error codes or messages in SQL Server

You can get list of all the error codes or messages using below queries

Read more

Event Capturing and Bubbling in JavaScript

The DOM has two approaches for object to sense events: first is top down approach and second is bottom up approach. Top down approach is called event capturing whereas bottom up is known as event bubbling.

Read more

Custom Observable in Knockout JS

Knockout JS is famous and widely used for its two-way binding concept. While developing application we uses ko.observable() to declare a knockout object. Here we will discuss how to create our own custom observable which will work same as observable but with our own functionality.

Read more