Adding layout to Magento 2 Module

Magento2 page layout is based on container. Every container is can have multiple blocks inside it.Each block is connected with their block object (ViewModel Object) that behaves like source for block phtml file. How does Magento page layout arranged in Magento 2: Next segment of our blog is “How to add new block under any(…)

Create Basic Module of Magento 2

Before I dig into coding parts of our first Module development using Magento 2:- Let me add some input into this direction that will further help us to understand further . Magento 2 is not based on MVC Magento 2 is not based on MVC (Model View Controller) pattern. Instead its based on MVVM (Model(…)

What is Docker and its advantages

Docker is the one VM replacement for multiple VMs. As per the creator from Docker.com “Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud”. This definition itself explanatory that Docker is one stop solution for developers where a developer(…)

Create a new plugin in Magento 2

The plugins (also known as Interceptor) is a class that modify the behavior of public class by intercepting the function call and running code before, after or with (around) function call. By creating the plugin we create substitute or extend the functionality of existing functionality (the same that we were doing in magento 1 rewrite).(…)

Class Initialization in Magento 1.x

Dependency Injection is a way of class initialization . Class Initialization was also available in Magento 1  so why dependency injection in Magento 2? To know the answer of this question lets see how object initialization was available in Magento 1 and what was the problem into it. Object Initialization in Magento 1.x Lets take(…)

New concepts introduced in Magento 2

In this article we will see some new concepts introduced in magento 2 Trait is a new feature introduced in PHP 5.4 that has provided a new way to use multiple inheritence. In other words trait has overcome the problem of interface. See details of traits at here Reflection is a PHP library that provides(…)

Why Traits in Magento 2

In PHP, Multiple inheritence was supported with the help of Interface. But interface implementation is not flexible like class inheritance. So to make this happen traits came into the picuture. We will understand this concept with below :- With the help of inheritance we make our code re-usable, it means same property and methods doesn’t(…)

Technical Specification and kick off details for Magento 2

Operating systems (Linux x86-64) Minimum 2 GB  RAM Composer Web servers Apache 2.2 or 2.4 OR  Nginx 1.8 MySQL 5.6 PHP (5.6.x Or 7.0.2) Magento 2 installation is a two step process. Project setup/Downloading the code base from https://magento.com/tech-resources/download and unzip Installation of magento project … Traverse to your document root (by using cd command)(…)

Install and Uninstall Magento 1.x patch

In any stable product we might see some vulnerability, security threat, bug. Magento is not the exception it has millions of users/merchants who are running their successful stores. In view of same respective product owner release the fixes for possible/identified problem. These releases are known as patch.   Go to https://magento.com/tech-resources/download and open the tab(…)

General architecture of Laravel based application

In a general purpose Laravel application, the typical architecture is as below. Based on the architecture diagram you can see that every customer request is being served from based on their route configuration. In this blog we will see all different components.   The only major difference laravel architecture has, their routing so we will(…)