this in JavaScript

Sep 19, 2024

JavaScript object is a powerful data structure that contains both data and methods. Consider the following example.

Hono Tutorial Pt. 4

Sep 11, 2024

As the adjustment for the credentials are done in the previous article, we are now ready to create the CRUD end-points for the Contact resource. But, before that, I would like to cover a few methods that are needed in CRUD end-points such as fetching value(s) from dynamic params, reading request body, fetching value(s) from query string, and so on.

Styling in React

Sep 7, 2024

Although, there are many possible ways you can use styles in React application, following are the general categories to choose from.

Hono Tutorial Pt. 3

Aug 7, 2024

Before we go further and learn more about the Hono framework, the one thing that is bothering me is database credentials written in code. We should adjust the existing code by removing the credentials from the code and put it within the .env file. We should never hard-code the secret(s) as per 12factor app.

Hono Tutorial Pt. 2

Aug 6, 2024

In this article, we are going to connect the database in Hono application. For the purpose of demonstration, we are going to use PostgreSQL database and postgres as npm package. You are free to use any other package and database as steps will be similar except you need to consult the respected documentation for initial setup.

Phoenix Framework Pt. 3

Aug 5, 2024

The routes of the application are defined within the lib/hello_web/router.ex file. In this file, look for the following code snippet.

Phoenix Framework Pt. 2

Aug 4, 2024

In this article, I am going to briefly explain to you the purpose of a few files and folders present in this hello Phoenix project. This will be brief. Because, as you start to become familiar with Phoenix projects, it will become second nature to you.

Phoenix Framework Pt. 1

Aug 3, 2024

This article assumes that you already know Elixir programming language. Further, following are the software you have on your computer.

Hono Tutorial Pt. 1

Aug 2, 2024

This is the first article in a series where we are going to build a simple back-end application in Hono in Node.js environment.

PostgreSQL

Jul 28, 2024

I suggest PostgreSQL when someone asks for the recommendation on what database one should use. I use PostgreSQL when I am learning or building something in a new web framework or library. I use PostgreSQL when I want to experiment with databases. PostgreSQL is the default choice for me in most of the cases.