Docker: Dockerize Laravel Application
We need to run 2 main containers for running a Laravel application- PHP FPM and Nginx
We need to run 2 main containers for running a Laravel application- PHP FPM and Nginx
Docker is a platform for managing container-based applications. Using the container-based approach we can separate our application from the actual physical machine, and run it in a self-contained environment.
Installing Docker is very easy. Wheather on any desktop environment(like Windows, Linux or macOS) or on a server environment, then installation is simple.
Linked list is a linear collection of data. A linked list is a data structure, that can store any data type. Data is stored in a linear order, and we can only traverse through the list and then select some items.
Here is a comparison between Interface, Abstract class, and Trait in PHP. Let’s take a look at that side-by-side comparison in a table.
An Abstract class is a partially implemented class, as the abstract methods(in the class) do not contain their definition. Those methods are defined in the class that extends the Abstract class.
A Doubly linked list is similar to a Singly Linked List, but it holds reference to the previous node also. So we can traverse both forward and backward from any node. In this article, we are discussing in detail, the implementation of Doubly Linked List in JavaScript and TypeScript.
Interfaces are contract that ensures the availability of methods/actions that an object must contain. By implementing an interface, a class agrees to contain the definitions of the methods declared in the interface. Interfaces have just the declaration/signature of the method, and the classes(that implement the interface) must have the definition of those methods.
Graphs are data structures with connected nodes/vertexes. We are using the adjacency list approach to represent a Graph here. In this article, we are discussing the implementation of Graph in JavaScript and TypeScript.
PHP is one of the most popular programming languages for web application development. PHP is easy to learn and easy to use. PHP stands for “PHP Hypertext Preprocessor”.