In this tutorial, I will show you how to dynamically import class with no SSR in Next.js. Probably you already have seen this Next.js documentation regarding dynamically importing component with n...
Test Doubles Stubbing & Mocking
What are test doubles? Test doubles are a substitute for production apps used for testing purposes. There are at least five (5) types of test doubles according to Gerard Meszaros but we are going t...
How to use FullCalendar in Next.js
This tutorial has been updated for React v18, Next.js v13, and FullCalendar v6. If you are looking for the older version of this tutorial, you can access it here. In this tutorial, we would be...
Rails file upload using ActiveStorage
In this tutorial, we would be learning to upload files in Rails. Rails file upload have become easier since the release of Active Storage. It allows us to handle file uploads without using any gem....
Advantages and Disadvantages of UUID
What is UUID? A universally unique identifier (UUID) also known as globally unique identifier (GUID) is a 128-bit number used to identify computer systems information. UUID Versions V1 – Genera...
How to create a basic authentication in Ruby on Rails
In this tutorial, we will be creating a basic authentication in Ruby on Rails. Step 1: Adding a password_digest field to the model. This field will be used for authenticating the user. Step 1.1-A...
How to convert HTML to PDF in PHP
In this tutorial, we will be learning on how to convert HTML to PDF in PHP. There are many PHP libraries around the internet nowadays but most of them just don’t work like you expected it to be. I...
How to resize an image in PHP
In this tutorial, we will learn to resize an image in PHP. Whenever you are doing something like a CMS for your website that requires an image to be uploaded then you can have a problem where user...
How to display number of post views WordPress
In this tutorial, we would be learning on how to display number of post views WordPress using a WordPress plugin. Tracking the views of your post and see them growing can be a satisfaction for the...
Converting timesamp to time ago in PHP like Facebook
In this tutorial, we will be learning on how to convert timestamp to time ago in PHP. Most of you have noticed that the famous social networking site Facebook uses the time ago instead of posting ...