Learning TypeScript as a JavaScript Developer: Chapter 2 (Types)
16 Feb 2024|3 MIN READIn the world of programming, types play a crucial role in defining the behavior and characteristics of variables, functions, and data structures. In this second part of our series on learning TypeScript as a JavaScript developer, we'll delve into the concept of types both in JavaScript and TypeScript, highlighting
Read moreLearning TypeScript as a JavaScript Developer: Chapter 1 (Introduction)
08 Sep 2023|6 MIN READWhen I first learned JavaScript, one thing gave me immense pleasure that is I can define a variable without writing its type. It gave me the same vibe as writing python codes. In js, after initializing a variavle `let a = 5` we can assign it like `a =
Read moreExplaining Maximum Subarray Sum problem with Kadane's Algorithm
07 Oct 2022|3 MIN READThere is no alternative of solving dynamic programming related problems in order to get a job in **FAANG** or big companies and also be a very good programmer. We developers often try to ignore problem solving and focus on only development but we need to remember that in order
Read moreDeveloping a simple URL shortener with node, express, ejs and mysql
17 Dec 2021|7 MIN READA URL shortener is a pretty simple system that shortens longer URLs. On hitting the short URL, a user is automatically redirected to the actual URL. The main advantage of this is a user can share a short form of a very long URL. Today I would like to
Read moreIts time to learn Typescript
10 Dec 2021|2 MIN READJavascript has been a very popular language. From being a scripting language that used to run in a browser to having node runtime environment has taken it to another level. At present we can build scalable website with js libraries like `react` and also build cross platform mobile applications
Read moreMy first react native app from scratch
08 Dec 2021|8 MIN READReact has been a very popular javascript library for developing user intefaces basically the front end of web applications. In the similar way react native is also a very popular library for building cross platform mobile applications. It means by writing javascript code we can generate both android and
Read moreReact with TypeScript
19 Oct 2021|6 MIN READAt present react js has been a very popular library to build beautiful and scalable user interfaces. Today I would like to build a demo react project with typescript. ### Project setup We would like to use the `create-react-app` environment built by facebook developer team to create our project.
Read moreAn overview of TypeORM
05 Oct 2021|7 MIN READOne of the most popular Object Relational Mapping or ORM is TypeORM. At first lets talk a bit about ORM. As the name suggests, ORM is a programming technique that relates or maps object oriented model to relational database model. In a nutshell, you can craete or query data
Read moreSome interesting facts about JavaScript
28 Jul 2021|2 MIN READWe all know that javascript is one of the most popular programming languages now-a-days. Javascript is a very strange language in deed. One reason is it has got syntax similar to `C`, `C++` and `Java` but semantically this is not similar which makes developers confused. Another weird thing to
Read moreAvoid using inline css styles
20 Jul 2021|2 MIN READWhile developing a website we can add styles in various ways. We can write css styles in a css file and import it in html file, write in `<style>` tag of `<head>` or write inline style within each element of the `<body>`. I would like to share some problems
Read moreVS Code Thunder Client: An awesome alternative to Postman
05 Jul 2021|3 MIN READSuppose you are working on the front end of a project. You are using a `VS Code` editor. You have successfully designed the user interfaces and now its time to bind data from back end api. You are given a collection of rest api endpoints. So at first you
Read moreManaging external libraries in AWS lambda functions
04 Jul 2021|4 MIN READThe popularity of microservices is increasing everyday. The main reason behind this is that we do not need to take care of the server related configurations. Just write down your code and see the magic. Definitely [aws lambda](https://aws.amazon.com/lambda/) is one of the best microservices to perform varieties of tasks.
Read moreCSS preloaders from scratch
21 Jun 2021|2 MIN READMost of the websites now-a-days fetch data from remote server and then display it to the user. This very fetching of data being an asynchronous task it takes some times to be displayed. In the meantime preloader or loader is shown to the user. Using css `selectors` and `animations`
Read moreShould I start using a CSS preprocessor?
25 Jan 2021|2 MIN READIf you want to be a good web developer then having a sound knowledge in `css` is a must. It is `css` which makes a website look so beautiful. In small projects where there will be a few `html` files, writing pure css codes does not bother us much.
Read moreCollapsible Menu using only CSS
24 Nov 2019|2 MIN READCollapsible menu is a very common component in a website. It is usually a list of items which can be expanded and collapsed by clicking on the menu title or icon. Watching the component we usually think it can only be done using javascript but the same functionality can
Read moreGood Practice on conditional rendering with && in React
16 Nov 2019|1 MIN READReact is a very popular javascript library. The main reason is its using of virtual DOM. We know that we use JSX where we can render HTML components using javascript. Conditional rendering is a very common way of rendering where we render a component when certain condition is satisfied.
Read more