Guide

/Guide

How to debug Magento 2 code with Xdebug and PhpStorm (Part 2)

By | May 15th, 2017|Guide, Magento 2|

Introduction In this second part of the series, I’m going to guide you how to start a debugging session, place a breakpoint and track the debugging progress. But before we begin, make sure that you have installed and set up Xdebug with PhpStorm. If you don't know how to do it, please visit our instructions [...]

How to manage Cookie in Magento 2

By | May 10th, 2017|Guide, Magento 2, Uncategorized|

Cookie is a small piece of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing. Then, whenever he is back, he can easily get those data. It’s really convinent, isn’t it? In this blog, I would like to introduce you a detailed guide [...]

Create a Widget in Magento 2

By | April 26th, 2017|Guide, Magento 2, Uncategorized|

Widget is a manageable component of Magento 2, which allows users to display data anywhere on their own front-end site. So are you looking for the way how to create a widget in Magento 2? You're welcome! In this blog, I would like to share with you the detailed procedure of adding a custom widget [...]

How to debug Magento 2 code with Xdebug and PhpStorm( Part 1)

By | April 21st, 2017|Guide, Magento 2, Uncategorized|

Debug Magento 2 with Xdebug and PhpStorm Introduction Debugging is critical in the development process of any system. Some developers like to log things out, some like to print it right on the screen, but most prefer run-time debugging. Correctly debug your application will save you tons of time and effort. To debug Magento [...]

Install new language in Magento 2

By | April 14th, 2017|Guide, Magento 2, Uncategorized|

In Magento, the default language is English. So the question now is: Can we add another language for our Magento site? Of course it's a Yes. Just pick the desire language for your site and follow this step-by-step procedure.   Step 1: Installing new language package First, locate your desire language package. Here is some [...]

Magento 2 Cache Guide

By | April 7th, 2017|Guide, Magento 2, Uncategorized|

Introduction Caching is an inseparable part in any systems, especially for a complex and data-dependent one like Magento 2. Almost everything in Magento has its own cache: modules, themes, … and improper cache management may turn your developing experience into a living hell. So we will have a quick look on Magento 2 cache directories [...]

Six-pack IT developer. Possible or not?

By | March 28th, 2017|Guide, Uncategorized|

  Have you ever looked in the mirror and wondered if you can have a six-pack body despite being an IT developer who must spend hours in front of computer? Congratulations! You just found the right place! Although I am by no means an expert on body fitness, but based on my own experience, I [...]

How to use Knockout JS on a Magento 2 Frontend Page

By | March 24th, 2017|Guide, Magento 2|

Knockout JS (KO) is a Javascript library which is used on frontend in Magento 2. It implements Model-View-View Model (MVVM) design pattern. You can find Knockout JS Magento 2 on almost every page. Today we will create a simple Front-end page in Magento 2 using Knockout JS. The main usage of Knockout JS is to help you [...]

Power up and beautify your terminal by using Zsh

By | March 17th, 2017|Guide, Magento 2|

  Introduction As a developer, working with terminal is a must. Indeed, we spend a better part of the day working on Terminal: Comparing different commits, making changes through Vim and running scripts. So why don’t we make it looks better, more comfortable and even more powerful than before? Our today blog will introduce to [...]

Magento 2 modes: default, developer and production

By | March 14th, 2017|Guide, Magento 2|

There are 3 Magento 2 modes of operation that your system will be running on: developer, product and default mode. This setting is configured in your app/etc/env.php file, which is the value of ‘MAGE_MODE’ key. Your current Magento 2 modes can be seen in app/etc/env.php file Now we should know what each of [...]