Cubit in Flutter

What is Cubit? Cubit is a state management. It is a subset of the bloc package that does not given credit to events and instead uses methods to emit new states. It’s a class that stores an observable state, the […]


What is BLoC? BLoC stands for Business Logic Components; it aims to separate the application’s business logic from User Interface, making the application code more unambiguous, scalable, and testable. Flutter bloc is one of the state management for Flutter applications. Bloc […]

How to upgrade Magento 2

rm -rf var/cache/*  var/page_cache/*  var/view_processed/* generated/code/* pub/static/frontend/ pub/static/adminhtml/ Php bin/magento setup:upgrade Php bin/magento setup:di:compile Php bin/magento setup:static-content:deploy –f Chmod 777 -R var/ pub/ generated/ Take Backup of your running website Create a Backup Backing up the Magento 2 store before […]

Create Data and Schema Patches in Magento 2

A data patch is a class that contains data modification instructions like update, Insert, delete. A schema patch is a class that contains schema modification instructions like create, drop, alter. 1. It is defined in a <Vendor>/<Module_Name>/Setup/Patch/Data/<Patch_Name>.php file and implements \Magento\Framework\Setup\Patch\DataPatchInterface 2. Patches […]

Faster Composer comes to Magento 2

One of the more exciting improvements included in Magento 2.4.2 is the support of Composer 2.0. In our tests, this brought a substantial speed increase and less memory usage to Composer commands run against your Magento project code. How do you benefit […]