How to get access to working directories in Magento 2

To get access to working directories in Magento 2, you can declare the class in __constract: Continue Reading

To get access to working directories in Magento 2, you can declare the class in __constract: Continue Reading

Since Magento 2 relies on the concept of resources to interact with database, you can easily get the global resource and use it for playing with SQL queries or execute directly. Continue Reading

To execute the Magento 2 cron job, use the following code:
|
1 |
php <path to magento root>/bin/magento cron:run |
If you want to automate the process, add it to /etc/crontab. For instance:
|
1 |
*/30 * * * * www-data php /var/www/firebear.com/store/bin/magento cron:run |

Mage::Registry in Magento 2 is very similar to the registry of Magento 1. You can find it here: \Magento\Framework\Registry
Utilize dependency injection for adding it to the constructor. As a result, you will be able to use both $registry->register($key, $value) and $registry->registry($key) methods to store / access data.

Although Magento offers enough B2B features both out-of-the-box and via third party extensions, it was developed with B2C customers in mind, but the team behind the platform introduces a new ecommerce product aimed at the B2B segment. Meet – an advanced ecommerce platform for relations between businesses. Continue Reading

Below, we match PHP 7 with its closest competitor HHVM (HipHop Virtual Machine). The first one is a programming language created by Rasmus Lerdorf for web development and general purposes, the second one is a virtual machine created by Facebook developers for executing PHP applications. Today, HHVM outperforms all available PHP versions, but everything should be changed with the first stable release of PHP 7 and its further updates. Continue Reading

Today, we are going to talk about world famous platforms such Node.js and PHP. We’ll try to find out which one is better by comparing their characteristics and outstanding features. However, before we get down to it, there are still some things we would like to shed light upon. Continue Reading

In this Magento 2 vs Bigcommerce review we take a look at both platforms to show which of these ecommerce solutions is best suited for the needs of online retail. Please note that this blog post will be updated when we will get more information about Magento 2.

The PHP 7 release is just around the corner, so it is time to learn more about its new features and crucial improvements. Books always were among the most reliable sources of information on programming languages, but in case of the new PHP version they are still under development. Therefore, we recommend you to pay attention to the existing PHP 7 tutorials and tools. Continue Reading

PHP has been always considered the core of web development, and we should not underestimate its power. However, we should also admit that for the last decade the language started suffering from a sufficient lack of speed and general quality of performance due to fast-growing needs of global Internet community. Eventually, those who experienced the greatest consequences of this change came up with various ideas on how to improve the work of native PHP functionality by introducing the language based alternative implementations. We propose you to look at the most promising PHP based alternatives that will give your web apps a powerful boost and reduce overall server load at least twofold. Continue Reading