Ramin Ahmadi | Personal website of Ramin Ahmadi

Articles.

A proposal to better estimate and plan Agile projects

To understand how agile came about, we need to discuss earlier software development processes. The waterfall model, is one of the earliest software development approaches. When talking about waterfall, people think about a process where project starts with definition of requirements, a solid design based on the requirements, then implementation ...

Difference between null and undefined in JavaScript

As a front end developer you might have checked value of variables for null value or undefined. For example asking for a non-existing property of an object. let cars = {};console.log(cars.BMW); //returns undefine now a simple if statement will tell you if BMW exists in cars variable. Here is how to check ...

What is HTTP method OPTIONS?

The HTTP OPTIONS method is a type of HTTP call that explains what are the options for a target resource such as API endpoint. a client can use target resource’s URL to use OPTIONS method or use * to target the entire server. public GetOtaAdaptor(): Promise<Model.OtaAdapter> { ...

Creating custom element with Angular 6

Angular elements are framework agnostic custom HTML elements that are made out of Angular components. This is the latest, and in may I add the coolest, Angular 6 feature that allows maximum re-usability of components as they can be used in a wide variety of frameworks and environments. But what is ...

Web sockets and how they work

Foundation of web as we all know is based on Hypertext Transfer Protocol (HTTP) which uses request-response protocol. This, in a nutshell, means a web browser submits an HTTP request message to server and server which, holds resources, returns appropriate response message. However, servers weren’t allowed to send messages to ...