If you are reading this article most probably you may already know about express JS. Any way to get a start to the article I’ll tell you what is express JS.
What is Express JS?
According to the express js documentation “Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.”, which basically means a backend framework like ruby and rails, and laravel.
So let’s get back to our topic for today, which is bod-parser. If you are a newbie like me to these express js things I…
SOLID principles are some set of object-oriented design principles which help us to write better and clean code. These principles were introduced by Robert C. Martin (a.k.a Uncle Bob).
SOLID stand for :
In this article, we are going to discuss the first SOLID principle, which is the “Single Responsibility Principle”.
We know as humans if we get a higher number of responsibilities at the same time it will be very hard to manage all. So it is much better if…
this keyword. First of all, let’s understand what is this.
In simple terms, we can say that
this refers to the object that is executing the current function. Even though the definition sounds very simple, there are different scenarios that the value of
this keyword assigned differently. Let’s take a look at each scenario, separately…
What is MVC ?
The abbreviation ‘MVC’ stands for ‘Model view controller’. It is an architectural pattern which separates a software application into three main logical components : model, view and the controller. Each of these components have their own responsibilities. Let’s talk about them one by one.
Model is the component which directly interacts with data related logic and data. For example let’s take a Taxi service application. In Taxi service application we have classes like Driver, Car , Customer etc.. This type of classes defines the structure of database and these classes includes methods to manipulate data…