Introduction Pagination is an important concept in building data-driven applications. When pulling out the records from the database, a large number of records may be fetched. For instance, when running the query for active users or users belonging to some specific location, a large number of users in hundreds or even thousands can be returned. Displaying this huge number of …
Implementing PHP Rate Limiting Using Redis on Ubuntu 20.04: A Tutorial
Redis, also called Remote Dictionary Server, is an open-sourced in-memory database. It is a data-structured storage system that runs on a server’s RAM, which is much quicker than the fastest Solid State Drive (SSD). As a result, Redis is very responsive and an excellent fit for rate limiting. Rate limiting restricts the number of times a user may request a …
Using Git Branches: A Tutorial
Git is an open-source version control system (VCS) that can handle projects of every size. This DevOps tool is free and open-source (Git source code on GitHub). It tracks changes in the source code, allowing multiple developers to work in sync on a non-linear development. Git was first introduced back in 2005 by Linus Torvalds. This guide will showcase how …
Your Guide to Installing Drupal on Ubuntu 20.04
Introduction Drupal is one of the most preferred Content Management Systems(CMS) for running blogs and managing enterprise content. Developers and businesses prefer it because of its robustness and usability. It is very customizable and it can be extended to implement a wide variety of use cases. In this tutorial, we will demonstrate how to install Drupal on Ubuntu 20.04 with …
Adding Swap Space on Ubuntu 20.04: A Tutorial
Adding swap space to your server is an excellent option to compensate for out-of-memory errors. Linux allows users to add swap space in their system when the amount of RAM in the system is full. When you create a dedicated space partition, you will allow your physical memory to run smoothly without much worrying about low disk space. Swap Overview …
Implementing Flex Layout in Angular: A How-To Guide
Introduction CSS Flex Layout is used to create flexible fluid layouts. However, when using Angular there are scenarios when we need more dynamic control over the layouts. Further, using CSS Flexbox requires complicated styling which can be hard for many developers. Flex Layout is a component engine that aims to solve this problem. It provides a set of directives that …
Installing and Configuring Virtual Network Computing (VNC) on Ubuntu 20.04
Virtual Network Computing (VNC) is a screen-sharing system used to access graphical user interfaces remotely. It uses the remote frame buffer protocol allowing one server (user side) to connect with another side (client). VNC is safe, secure, and works on all operating systems. RealVNC, UltraVNC, Xfce, TightVNC, to name a few, are the most popular VNC clients used today. Among …
Setting Up a Redis Server as a Session Handler for PHP on Ubuntu 20.04
Redis is an open-source in-memory cache and storage system, also referred to as a data structure server. It offers advanced support for several data types, such as hashes, lists, sets, bitmaps, and many more. Because of its excellent performance, Redis finds its popularity in leading industries and top MNCs. Benefits of Redis When it comes to speed, there is no …
Forwarding Ports with Iptables in Linux: A How-To Guide
Port forwarding also referred to as port mapping, is a method for allowing remote devices to connect to a specific service within your private local-area network (LAN). As the name suggests, the process involves forwarding requests for a specific port to another port or network. It modifies the destination of the packet in-flight and is considered a type of network …
Working with Docker Data Volumes on Ubuntu 20.04
Introduction Docker Data Volumes is an important concept when containerizing your applications. Knowing this concept is vital for ensuring the best experience of your containerized application along with reliable persistence and data management. However, while this concept is important, it is also confusing and complex for many developers. It is important for developers and DevOps specialists to be able to …
Using HTTP client Axios in a React Application: A Tutorial
Many web apps face the necessity of interfacing with a REST API at some point in their development. For React-based web apps, we can use Axios, a lightweight HTTP client based on the $http service within Angular.js v1.x. The features are similar to JavaScript’s native Fetch API. Axios is promise-based, allowing us the ability to incorporate JavaScript’s async and await …
Installing Apache Tomcat 9 on Ubuntu 20.04
Apache Tomcat software is a Java-based HTTP server that can run Java technologies like Java Servlet, JavaServer Pages (JSP), and Java Expression Language. The advanced built-in customization options, high flexibility, and impressive stability make the software highly in-demand and a popular pick among developers globally. Let’s see what makes Apache Tomcat stand out among competitors: Open-Source Apache Tomcat is an …