developer

/Tag:developer

Attaching PDF file to email on Magento 2

In Magento 2, The lib/internal/Magento/Framework/Mail/Template/TransportBuilder Class takes responsibility for preparing and sending email, but it's still lacking a method for attaching PDF files. However, since the TransportBuilder Class uses Message class, which inherits from \Zend_Mail, we are now able to add attachments programmatically. Here is how we do it. Step 1: Create TransportBuilder Class Step [...]

By | June 29th, 2017|Magento 2 Guide|0 Comments

How To Install Magento 2 Running On Zend Server On Ubuntu

In this blog, I'd like to share with you the step-by-step procedure of how to install Magento 2 running on Zend Server on Ubuntu. Step 1: Install Zend Server First of all, you can go to the following website to download Zend Server package: http://www.zend.com/en/products/server/downloads The package usually will be save in Downloads Then open [...]

By | June 1st, 2017|Magento 2 Guide|0 Comments

How to debug Magento 2 code with Xdebug and PhpStorm (Part 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 [...]

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

How to manage Cookies in Magento 2

A 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 convenient, isn’t it? In this blog, I would like to introduce you a detailed [...]

By | May 10th, 2017|Magento 2 Guide|0 Comments

Create a Widget in Magento 2

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 [...]

By | April 26th, 2017|Magento 2 Guide|0 Comments

Six-pack IT developer. Possible or not?

  Have you ever had a dream of becoming a six-pack developer? Or 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 [...]

By | March 28th, 2017|Magento 2 Guide|0 Comments

How to use Knockout JS on a Magento 2 Frontend Page

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 [...]

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

Power up and beautify your terminal by using Zsh

  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 [...]

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

Magento 2 modes: default, developer and production

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 [...]

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