How can we put multiple ng-app directives in a single page in AngularJS
What is ng-app directive?
The “ng-app” directive designates the root-element of the AngularJS application or we can say it initializes an angularJS application, usually Read more…
Bootstrap tabs – How to create with Examples
In Bootstrap, tabs can be created with “nav-tabs” class.
<ul class="nav nav-tabs">
User Read more…
Record Logs with Nlog .Net Package – Explanation and Examples
Nlog is a free .Net platform based framework designed for generating logs to record the history of events that help to troubleshoot errors and exceptions. Logging is one of the major important area for developers that helps Read more…
Introduction to Bootstrap 4 and what is new in it
Bootstrap 4 final stable version was released on January 18th, 2018. There are lots of new changes in this version.
1) FlexBox Support:- Earlier Bootstrap’s layout was powered by float Read more…
Upload Files using Node.js
When we build any web application, we often need to upload some files via our application. For uploading files using Node.js, we use “Formidable” module. You can download this module or install it using npm.
Command for Installation of Formidable Read more…
Difference among isset, is_null and empty in PHP
Php has different methods to check the value of the variable. The methods isset(), empty() and is_null() are very useful methods and all returns a boolean value. Let see the difference between these methods for different variable values Read more…
.htaccess in wordpress, its purpose & how to edit it
.htaccess file in wordpress is used for the functionality like redirecting visitors to our site, beefing up site’s security etc. .htaccess is the distributed configuration file which is only readable by server. It’s a hidden Read more…
WordPress REST APIs – Introduction and Example
What is an API?
API stands for Application Programming Interface. It is a piece of software that works as a bridge between two different applications.
For example suppose you have to post something on facebook Read more…
Handling zip file download completion and cancellation event (PHP)
Problem: I am working on a project in which user needs to download a zip file from the website. I am creating zip file on the server temporarily which should be Read more…
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…