php

263 Publishings has been posted to php Category.

Install Opencart 3.x.x.x Using CLI

Install Opencart 3.x.x.x Using CLI

This article demonstrate how to install Opencart via CLI (Command Line Interface). CLI SAPI(Server Application programming Interface) uses to develop shell application. Where the user commands to the program in the form of lines of texts and Shell or Command Language Interpreter handles the interface. 1. Download the latest Opencart 3.x.x.x from this https://www.opencart.com/index.php?route=cms/download/download&download_id=56. 2. […]

Read More

Working With Database Transactions In Magento2

Working With Database Transactions In Magento2

Introduction In a structure like magento2, it is very difficult to guarantee the consistency of data, the system of EAV(Entity Attribute Value) makes magento2 highly scalable and modular but every thing comes with a cost, managing the data in these structures can be very difficult. To ensure the consistency of data, magento2 uses database transactions. […]

Read More

Namespaces in PHP

Namespaces in PHP

Today we are going to learn about Namespace in PHP.  Let’s start with definition of namespace So “Namespace are basically a way of organising your PHP classes and preventing from any kind of code conflicts . See this example , <?php namespace Webkul; //We have here a namespace with name Webkul and a class Name […]

Read More

Autoloading in PHP

Autoloading in PHP

Today we are going to learn how autoloader works in php. Let’s say we have a  file student.php which have a class name student i want to use this class instance somewhere in other file. For example i am using index.php if i want to create instance of the  student class then first i have to include […]

Read More