Magento 30 Days learning Series

10 – Magento learning – Day 10/30 – Magento commands Overview

Magento 2 provides a set of CLI (Command Line Interface) commands that you can use to perform various tasks, such as managing the application, installing modules, running tests, and more. Here is a list of commonly used Magento 2 CLI commands along with a brief description of their purpose: General Commands:bin/magento setup:upgrade: Upgrades the Magento

10 – Magento learning – Day 10/30 – Magento commands Overview Read More »

09 – Magento learning – Day 9/30 – Magento Module structure in detail

app/code/VendorName/ModuleName/├── Block/├── Controller/├── etc/│ ├── module.xml│ ├── di.xml│ ├── routes.xml│ └── …├── Helper/├── Model/├── Setup/│ ├── InstallSchema.php│ ├── UpgradeSchema.php│ ├── InstallData.php│ ├── UpgradeData.php│ └── …├── Ui/│ └── component/├── view/│ ├── adminhtml/│ │ ├── layout/│ │ ├── templates/│ │ └── …│ └── frontend/│ ├── layout/│ ├── templates/│ └── …├── i18n/├── Plugin/├── Console/├── Test/│ ├── Unit/│ └──

09 – Magento learning – Day 9/30 – Magento Module structure in detail Read More »

08 – Magento learning – Day 8/30 – Magento design patterns

Magento 2 follows several design patterns to achieve modularity, extensibility, and maintainability. Here are some of the key design patterns used in Magento 2: Model-View-Controller (MVC) Pattern:As mentioned earlier, Magento 2 follows the MVC pattern to separate the concerns of data (Model), presentation (View), and application logic (Controller). This pattern helps to organize the codebase

08 – Magento learning – Day 8/30 – Magento design patterns Read More »

07 – Magento learning – Day 7/30 – How MVC exacly works on Magento

Magento 2 follows the Model-View-Controller (MVC) architectural pattern to organize and manage the codebase. The MVC pattern helps to separate the concerns of data, presentation, and application logic, making the codebase more modular and maintainable. Here’s how Magento 2 implements the MVC pattern: Model:The Model represents the data and business logic of the application. In

07 – Magento learning – Day 7/30 – How MVC exacly works on Magento Read More »

06 – Magento learning – Day 6/30 – Database patterns used on Magento

Magento uses several database patterns to manage its data. Here are some of the key patterns used in the Magento database architecture: Entity-Attribute-Value (EAV): Magento extensively uses the EAV pattern to provide a flexible and extensible data model. This pattern allows for storing a wide range of attributes for entities (such as products, categories, and

06 – Magento learning – Day 6/30 – Database patterns used on Magento Read More »

05 – Magento learning – Day 5/30 – How to Create Custom theme in Magento?

Create Theme Directory: Inside your Magento installation, navigate to the app/design/frontend directory. Create a directory for your theme. For example, VendorName/theme. Create Theme Configuration: Inside your theme directory, create a theme.xml file. This file defines the theme configuration. Here’s an example of a theme.xml file: Modify the <title> element with your theme’s title and update

05 – Magento learning – Day 5/30 – How to Create Custom theme in Magento? Read More »

04 – Magento learning – Day 4/30 – How to create a custom extension in Magento?

To create a custom extension in Magento 2, follow these steps: Set up the Extension Structure: In the root directory of your Magento installation, navigate to app/code. Create a directory structure for your extension as follows: Create the registration.php File: Inside the ModuleName directory, create a registration.php file with the following content:php Create the module.xml

04 – Magento learning – Day 4/30 – How to create a custom extension in Magento? Read More »

03 – Magento learning – Day 3/30 – Admin Overview of Magento and Adobe Commerce.

The Magento Admin is the central hub where you can manage all aspects of your Magento store. From products and inventory to customers and orders, the Admin gives you the power to control every aspect of your business. The Admin is divided into two main sections: the Navigation pane and the Content pane. The Navigation

03 – Magento learning – Day 3/30 – Admin Overview of Magento and Adobe Commerce. Read More »

02 – Magento learning – Day 2/30 – How to start with Magento or Adobe Commerce? Magento installation

Overview: To start with Magento or Adobe Commerce (formerly known as Magento Commerce), you’ll need to follow these steps for the installation process: Remember to refer to the official Magento or Adobe Commerce documentation for more detailed installation instructions, troubleshooting steps, and best practices. Detail Magento and Adobe Commerce are both powerful e-commerce platforms that

02 – Magento learning – Day 2/30 – How to start with Magento or Adobe Commerce? Magento installation Read More »

11 – Magento learning – Day 11/30 – Deployment modes and Differences between them

Magento 2 has three deployment modes: default, developer, and production. Each mode has its own set of features and benefits, and the best mode for you will depend on your specific needs. Here is a table that summarizes the key differences between the three modes: Mode Features Benefits Drawbacks Default Compiles code and generates static

11 – Magento learning – Day 11/30 – Deployment modes and Differences between them Read More »

14 – Magento learning – Day 14/30 – Design Patterns – Model, Resource Model, repository, etc

In Magento 2, design patterns are reusable solutions to common software design problems. They provide a structured approach to solving specific challenges and help in creating scalable, maintainable, and flexible code. Magento 2 leverages several design patterns to achieve its architecture and functionality. Here are some design patterns commonly used in Magento 2: Singleton Pattern:

14 – Magento learning – Day 14/30 – Design Patterns – Model, Resource Model, repository, etc Read More »

13 – Magento learning – Day 13/30 – Advance PHP Concepts

When working with Magento, having a solid understanding of advanced PHP concepts is beneficial for developing and customizing the platform effectively. Here are some key advanced PHP concepts that are relevant to Magento: Object-Oriented Programming (OOP): Magento is built using an object-oriented architecture, so a strong grasp of OOP principles is essential. Familiarize yourself with

13 – Magento learning – Day 13/30 – Advance PHP Concepts Read More »

12 – Magento learning – Day 12/30 – Object Manager and its use

he Object Manager refers to a fundamental component of the Magento framework. It is a dependency injection (DI) container that manages the creation and retrieval of objects throughout the system. The Object Manager is responsible for resolving dependencies between classes and providing instances of requested objects. While the Object Manager in Magento 2 provides a

12 – Magento learning – Day 12/30 – Object Manager and its use Read More »

01 – Magento Learning – Day 01/30 – Magento | Adobe Commerce – What Is Magento and Adobe Commerce?

Magento is an open-source e-commerce platform written in PHP.It uses multiple other PHP frameworks such as Laminas (formerly known as Zend Framework) and Symfony.Magento source code is distributed under Open Software License (OSL) v3.0.Magento was acquired by Adobe Inc in May 2018 for $1.68 billion. More than 150,000 [3] online stores have been created on

01 – Magento Learning – Day 01/30 – Magento | Adobe Commerce – What Is Magento and Adobe Commerce? Read More »