Category: Web Development
Understanding Disk Cache in Linux
Understanding Disk Cache in Linux Disk cache allocates memory (RAM) used by operating system to increase the performance, like in Linux and in windows. Sometimes when you check RAM utilization in Linux OS using the below command Shell #> free
Why and How to use spl_autoload_register?
Purpose and Usage of spl_autoload_register with example __autoload is an older method. This method was first introduced in PHP 5 as a magic function but now this method is deprecated as of PHP version 7.2.0. If we want our code
Salesforce | Sort “wrapper class” objects alphabetically based on a String parameter
Suppose we have a Wrapper class with fName as a string instance variable and we want to sort a list of objects alphabetically based on value of this variable. Implement Comparable interface global class MyWrapperclass implements Comparable { public String
Introduction to Magic Methods in PHP
Here we will go through different Magic Methods in PHP The PHP functions which starts with the double underscore “__” are called magic methods. These are the methods which are always defined in classes, and can not be used alone
Classes used to style responsive bootstrap table
Classes used to style responsive bootstrap table (Bootstrap-4) Nowadays tables are used in creating calendars or score charts. Due to widespread usability, it’s necessary that we create the opt-in responsive tables so that it is accessible on any device. You
How to Instantiate a Web Server in Node js
How to Create and Access a Web Server in Node js To access web pages of any web application we need a web server. The web server handles all http requests for the web application. Node.js framework is mostly used
How to create and run multiple cron Jobs in Laravel?
Here is the process for creating and runnning multiple cron Jobs in Laravel Cron: It is a scheduler which runs after a specific interval or at specific time. It should be used when developer wants to run a piece of
Different ways to clear WordPress Cache
What are the different ways to clear WordPress Cache? Sometimes WordPress sites load slow or do not load modified content because of cache problems. How to clear the cache of wordpress site or pages? Some methods are explained below: 1.
PHP script scheduling without cron jobs
PHP script scheduling without cron job Sometimes a website built in php needs to schedule a script on daily or hourly basis – for example, Reminder Emails, Newsletter emails or Database backups to be taken automatically. Normally, these types of
