Iyngaran Iyathurai / Software Engineer
Web, Mobile, PHP, Java and Emerging Technology Application Developer.
Park Road, Colombo 05, Sri Lanka.
A few words about me

I am Iyngaran. I am an enthusiastic and professional Software engineer, who enjoys being part of, as well as leading, a successful and productive team and, I've been working in the software industry since 2009.

I possess extensive knowledge and interest in many distinctive domains from low level algorithms and structure optimisation to high level web application frameworks.

Specialties : PHP, Java, Zend Framework, CodeIgniter, Laravel, Magento, Wordpress, OOP, MySQL,Oracle, System design, Android, Multimedia programming & design and Linux systems administration.

Success is the only option for me, and I hope to use my hard-working and attitude to succeed in everything that I do. This includes putting my best effort forward at all times, and never settling for less than perfection.

Build Multi-lingual application with the Zend Framework

Read more ››
We can not imagine a modern web application without a multi language support. I will show you how easy it is to setup usage of multiple languages in Zend Framework and how to setup some basic language routes (handy for SEO stuff). The Zend Framework offers many ways for you to store your translated strings. It could be an array, a CSV or XML file or you could use gettext which we will be using [...]

Install Magento 2 with Sample Data

Read more ››
You can install Magento in different ways. In this article, I will show you how to install Magento via GitHub. Before continuing, make sure you have all the prerequisites, required for running Magento 2. Step 1: Clone Magento repository First we must clone Magento repo from here: https://github.com/magento/magento2 or you can download releases on https://github.com/magento/magento2/releases. My document root folder location is  – /home/vagrant/learning.portal/apps/magento2.blog.dev/public_html/src/web So let’s clone the Magento repository in to the document root folder. [...]

Configure PHP Remote Debugging in Vagrant box with Xdebug and PhpStorm

Read more ››
Note: This article concerns PHP 7.0,PhpStorm 2017.2 (EAP) and Vagrant box bento/centos-7.2. Step1: Install Xdebug on your Vagrant virtual machine You need to have Xdebug installed on your virtual machine to benefit from its services. [crayon-5a32a97c5bf3d676070167/] Then, we need configure it: We need enable the remote debug and add IDEKEY on XDEBUG. To do that, we need modify the php-xdebug configuration file (xdebug.ini). Lets modify the php-xdebug configuration file [crayon-5a32a97c5bf50431079830/] And the following lines at [...]

Magento 2: Override/Rewrite Block, Model, Controller, Helper

Read more ››
In most cases, when work with Magento, you will have to change the core functionality of block, model, controller and helper. It is not good if you modify the core files, that may have certain influence on another program. Therefore, today, I highly recommend the great way to rewrite all files in a convenient way. This article shows how you can override / rewrite Block, Controller, Model and Helper using plugin and preference in Magento [...]

Installation And Upgrade Scripts in Magento

Read more ››
A Magento install and upgrade script is a part of module development. In this article, we will find out how to install and upgrade sql script for module in Magento 2. When you install or upgrade a module, you may need to change the database structure or add some new data for current table. To do this, Magento 2 provide you some classes which you can do all of them. For example, here – app/code/Magento/Catalog/Setup/ [...]

Creating & Running Cron in Magento 2 Custom Module

Read more ››
This article shows how to create and run cronjob in a custom module in Magento 2. Here, we will focus on creating / setting up / running cron for a custom Magento 2 module. Let us suppose, we are developing a custom module named Iyngaran_DemoModule (app/code/Iyngaran/DemoModule). To define the cron settings for your custom module, you need to write the following code in app/code/Iyngaran/DemoModule/etc/crontab.xml. app/code/Iyngaran/DemoModule/etc/crontab.xml [crayon-5a32a97c60e60531446928/] As you can see from above code, we have [...]

Create static blocks programmatically in Magento2

Read more ››
Creating a static blocks in Magento is simple as navigate to Admin Panel -> CMS -> Static Blocks. But while you developing your extension you might need to create a Magento static blocks programmatically. Here is the way how you can achieve it: [crayon-5a32a97c61f11898770399/]   That’s it!. Clear cache and upgrade magento. [crayon-5a32a97c61f28738109887/]  

Create CMS pages programmatically in Magento2

Read more ››
Creating a CMS pages in Magento is simple as navigate to Admin Panel -> CMS -> Pages. But while you developing your extension you might need to create a Magento CMS Page programmatically. Here is the way how you can achieve it:   [crayon-5a32a97c62808944074087/] That’s it!. Clear cache and upgrade magento. [crayon-5a32a97c6281d670307419/]    

Magento 2: Add a CMS Static Block via XML Updates in you homepage

Read more ››
These are the steps to add a CMS Static block to your homepage using XML Updates in XML files. Go to the Admin Panel > Content > Blocks Click on “Add new Block” Create your custom block, make sure that the option “Enabled” is checked and save it. In the project code, go to app/design/frontend/[VendorName]/[themeName]/ and add the following file app/design/frontend/[VendorName]/[themeName]/Magento_Cms/layout/cms_index_index.xml [crayon-5a32a97c63731590927308/]  NOTE: You can use “before” or “after” to place the block as you [...]