WordPress Optimization Techniques
The following are some of the best known techniques to improve the performance of your WordPress site:
1. Selecting the Right Hosting Plan
One of basic requirement for a high performance site is selecting a reputable and high Read more…
Understanding PHP data sanitization with an example
How to Use Bootstrap 4 Accordions with Examples
The accordion is a kind of collapsable list which shows one item at a time. These items are panels and an accordion resembles a tab control with tabs, but is vertically stacked by default. There are two bootstrap Read more…
Introduction To WordPress Shortcodes and How to Use them
What is a shortcode?
A shortcode is a WordPress-specific code that lets you do effective things with a very little effort. We can embed the files or can create objects that would normally require Read more…
Overview and Features of Firefox Developer Tools
Like most of the browsers, Firefox also provides certain developer tools that help the developer to examine, explore, and debug websites and web apps.
Opening Developer Tools:
There are three ways to open Developer Read more…
Here is a simple approach to invoke file download operation in the browser for bytes array available on the server:
I am receiving the file in the format of bytes array from Read more…
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 -m
Shell #> top
you may find Read more…
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 to be compatible with Read more…
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 i.e. Read more…
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 can create a Read more…
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 to create server based applications Read more…
What is the purpose of multiple .htaccess files in CakePHP?
In Cakephp, contained .htaccess files are as follows:
CakePHP root directory .htaccess redirects everything to your CakePHP app (means to webroot). We can also Read more…
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 code at a particular Read more…
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. Use the Read more…
Built in Web Server in PHP and How to Use it
What is Built in Web Server?
Built-in web server is used for development and testing the PHP application without using LAMP, just launch the built-in server from the Read more…
How to install and update WordPress in local machine
Here are the steps to install WordPress on local machine:
1. Download zip file of WordPress new version – Using this \link https://codex.Wordpress.org you can download the zip of WordPress of new version Read more…
How to create a PDF on air (in a variable) and sending it as an email attachment?
Problem:- I need to create a PDF and send it as an attachment with email but I don’t have permission to write a new PDF file Read more…
What is Node Package Manager (NPM), how to install, uninstall and update It? How to create module in Node JS?
How to create and customize Bootstrap tooltips (with examples)
A tooltip is a small pop up that appears when user places mouse pointer over an element such as link, button, icon or any other element to provide information about the element being hovered.
How to Read more…
A callback is a function that can be called on the completion of a given task to prevent blocking. As a result of it other code will run without waiting for a task to complete. This feature makes node.js highly scalable as it Read more…