What’s a PHP composer? How to use PHP composer in your PHP Application? What are the benefits of using composer in your application?
PHP Composer is a dependency manager. It manages the dependency of PHP packages in your application. Using composer you can pull the required library and dependencies and manage them in one place. The concept of a composer is similar to npm in node.js and gem in Ruby.
Let’s first understand what is a dependency.
PHP 7 Features Explained with Code Examples.
PHP 7 is the newest version of PHP released last year. PHP community has introduced a lot of new features in their latest version. In this tutorial, we are going to learn about new features added in PHP 7.
What is an interface in PHP? An interface is an important concept in an object oriented programming.
In this tutorial, we’ll discuss following points.
1. What is an interface?
2. How to create an interface in PHP.
3. What’s the importance of using an interface in our PHP application?
Interface in PHP
What is an Interface in PHP?
An Interface defines a contract for what a class can do, without saying anything about how the class can do it. Through interfaces, we define what a class can do, the classes that implement interface define how it can do it.
To understand the concept of an interface let’s take an example of a caching system. There are different types of caching available such as File system, Memcache, Redis etc. First, we need to define what a cache can do (I mean different operations), how we do it? we can do it through an interface. A class (Such as Memcache, Redis etc) which implements cache interface will define how they will do it.
NOTE – An interface will not add any additional functionality in your code but it outlines a standard format to which your classes need to use.
Abstract class vs interface in PHP. What’s the Difference between an abstract class and interface in PHP? It is one the most important oops concept asked in an interview.
In this tutorial, You are going to learn some important differences between an abstract class and interface.
Late Static Binding is a very important concept in PHP. In this tutorial, We’ll learn what is late static binding and how to use this concept.
In PHP, late static binding is used to reference the called class in the context of static inheritance.
In this htaccess tutorial series, you will learn about htaccess configuration and it’s usage.
htaccess refers to Hypertext Access. It is a directory level configuration file, used by Apache Web Server. htaccess file contains set of directives, which is read by Apache web server and apply to the directory on which this file is placed.
Difference between double and triple equals in PHP
What’s the difference between double and triple equals in PHP? PHP supports both double (==) and triple (===) comparison. Then when to use double equal to and when to use triple equal to in our code.
How to access localhost from anywhere using any device.
How to Access Localhost from Anywhere
How many times, you have been working on an application (or an app) and you have designed and completed your application nicely. You have set up everything very nicely on your local system. Now you want to show this work to your client, who is sitting on a remote location. Also, you want to test this application on a different device ( such as mobile, tablets etc). To do these things, either you have to host your application on a public server, or you can use any service which allows to access localhost from anywhere.
WordPress is no doubt one of the largest used CMS and blogging application that is being used worldwide. WordPress has lots of excellent in-built features and it is quite user friendly.
What is an abstract class in PHP and when to use an abstract class in your application? In this tutorial, we’ll learn about abstract class and their implementation.
Abstract Class in PHP