Alim's Blog

๐ŸŽ‰Hello, welcome to my blog!๐ŸŽ‰

Find me on
Learning TypeScript as a JavaScript Developer: Chapter 2 (Types)

Learning TypeScript as a JavaScript Developer: Chapter 2 (Types)

16 Feb 2024|3 MIN READ

In 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 more
Learning TypeScript as a JavaScript Developer: Chapter 1 (Introduction)

Learning TypeScript as a JavaScript Developer: Chapter 1 (Introduction)

08 Sep 2023|6 MIN READ

When 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 more
Explaining Maximum Subarray Sum problem with Kadane's Algorithm

Explaining Maximum Subarray Sum problem with Kadane's Algorithm

07 Oct 2022|3 MIN READ

There 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 more
Developing a simple URL shortener with node, express, ejs and mysql

Developing a simple URL shortener with node, express, ejs and mysql

17 Dec 2021|7 MIN READ

A 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 more
Its time to learn Typescript

Its time to learn Typescript

10 Dec 2021|2 MIN READ

Javascript 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 more
My first react native app from scratch

My first react native app from scratch

08 Dec 2021|8 MIN READ

React 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 more
React with TypeScript

React with TypeScript

19 Oct 2021|6 MIN READ

At 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 more
An overview of TypeORM

An overview of TypeORM

05 Oct 2021|7 MIN READ

One 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 more
Some interesting facts about JavaScript

Some interesting facts about JavaScript

28 Jul 2021|2 MIN READ

We 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 more
Avoid using inline css styles

Avoid using inline css styles

20 Jul 2021|2 MIN READ

While 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 more
VS Code Thunder Client: An awesome alternative to Postman

VS Code Thunder Client: An awesome alternative to Postman

05 Jul 2021|3 MIN READ

Suppose 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 more
Managing external libraries in AWS lambda functions

Managing external libraries in AWS lambda functions

04 Jul 2021|4 MIN READ

The 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 more
CSS preloaders from scratch

CSS preloaders from scratch

21 Jun 2021|2 MIN READ

Most 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 more
Should I start using a CSS preprocessor?

Should I start using a CSS preprocessor?

25 Jan 2021|2 MIN READ

If 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 more
Collapsible Menu using only CSS

Collapsible Menu using only CSS

24 Nov 2019|2 MIN READ

Collapsible 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 more
Good Practice on conditional rendering with && in React

Good Practice on conditional rendering with && in React

16 Nov 2019|1 MIN READ

React 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

Created by M A Alim