Author: mohamed

  • Constructor Property Promotion

    Constructor Property Promotion

    With the advent of Magento 2.4.4 and subsequent versions embracing PHP 8, we’re poised to leverage the innovative constructor property promotion feature introduced in PHP 8. This powerful feature streamlines our coding efforts significantly. Traditionally, the practice involved declaring a class property separately and then initializing it within the constructor. Constructor property promotion elegantly condenses…

  • Fix: Plugin mysql_native_password reported: mysql_native_password is deprecated

    If you get this error in MySql error logs Then You need to migrate your users to use caching_sha2_password instead of mysql_native_password So let’s go into work in this article I will show you how to migrate your caching_sha2_password First we will list all effected users using this command Note we have user here is…

  • Mastering Navigation in PhpStorm: Shortcuts to Conquer Content!

    Mastering Navigation in PhpStorm: Shortcuts to Conquer Content!

    This article is your ultimate guide to conquering document navigation in PhpStorm! Forget the endless scrolling and embrace the power of keyboard shortcuts. We’ll dive into two essential maneuvers: reaching the document’s start and end with lightning speed. Mastering Navigation in PhpStorm: Shortcuts to Conquer Content! This article is your ultimate guide to conquering document…

  • Magento 2 Dependency Injection

    Magento 2 Dependency Injection

    Dependency injection: Hey everyone, and welcome to my channel! Today, we’re diving into the world of Magento 2, and specifically, we’ll be exploring a powerful design pattern called dependency injection. But before we jump in, let’s imagine you’re baking a cake. You need ingredients, right? Flour, sugar, eggs… the list goes on. Instead of running…

  • Create a Magento Controller

    Create a Magento Controller

    How to Create a Magento Controller As we discuss in the previous lesson the Controller consist of two parts controllerName and actionName We will create new controller under Kickstart folder Controller/Index/Index.php and we will use predefined template to create our controller For now, we will just use the die() function to output some text to make sure…

  • Magento’s MVC & Routing Mechanism

    Magento’s MVC & Routing Mechanism

    Hello everyone Detailed Look at Magento’s URL Anatomy When you look at a URL for any Magento page, you might see a URL like https://magento.dev/customer/account/create. Magento follows a Model-View-Controller design pattern, also known as MVC. The Controller part of that pattern in Magento follows a very structured format, as each of the parts of the URL…

  • Create new module

    Create new module

    Hello everyone In this lesson we will know how to create new Magento module Magento Module Naming Convention The naming conventions for modules in Magento are straightforward. A module name consists of two parts, a “Vendor” name and a “Module” name. Step 1: Name your module In this course, we’ll use the Itcforu vendor name and the KickStart module…

  • Change WordPress admin URL

    Change WordPress admin URL

    Generate admin url now from here: https://itc-4u.com/vcun

  • Password Generator

    Password Length: Include Numbers (0-9) Include Special Characters (!@#$%^&*()_+) Include Capital Letters (A-Z) Include Small Letters (a-z) Generate Password Generated Password: Copy Password copied to clipboard!

  • Admin Url Generator

    Generated Admin URL: Generate Copy URL copied!