Top technical tips for every Magento 2 project 

 

Magento 2 brands itself as the world’s most flexible eCommerce platform. While there will always be debates about the greatest in any industry, it’s safe to say it’s one of the leading eCommerce platforms out there today. The abundance of out of the box features make it an easy choice for small, medium and large merchants. With original Magento 2.0 releases having some teething problems, Magento really took off with the release of PHP 7 and upgrades that significantly improved performance in the subsequent releases. These brought forth massive speed improvements, making Magento 2 ever so appealing for merchants wanting to take their eCommerce to the next level.

However, implementing a Magento site can be a challenging and slightly daunting task, and one that requires a varied skill set. The Magento technology stack involves not just LAMP (Linux, Apache, MySQL, and PHP), but various other areas such as memcached, Redis, Elasticsearch, SOLR, Varnish and a split database solution to name a few.


After speaking to Branko Ajzele, Lab’s leading Magento certified developer, we wanted to take a high level approach and list some of the most fundamental technical items everyone implementing Magento should have covered:

 

Understanding Composer – Though we can install Magento simply by downloading an archive file, Composer serves as another option of getting to Magento source files. We can even install Magento just by using the “composer create-project …” command. While we don’t need to be experts at Composer itself, a basic understanding is required to get a better grasp of how Magento works alongside it.

Key reading

 

Using Git – Nowadays Git is #1 VCS - version control system. Without any doubt, every Magento project should be using Git (or some other VCS) for tracking source file changes.

Key reading

 

Master the Magento console tool – the Magento console tool brings an abundance of options allowing us to manage Magento installations from the command line. Here we can manage cache, indexers, deployment mode, modules, backups, and more.

Key reading

 

Understand the application cache – Out of the box, Magento provides several cache types (config, layout, block_html, collections, reflection, db_ddl, eav, customer_notification, target_rule, full_page, config_integration, config_integration_api, translate, config_webservice). Understanding the role of each and every one is crucial to development and later production debugging.

Key reading

 

Understanding the indexers - Magento provides several cache types (design_config_grid, customer_grid, catalog_category_product, catalog_product_category, catalog_product_price, catalog_product_ attribute, cataloginventory_stock, catalogsearch_fulltext, catalogrule_rule, catalogrule_product, targetrule_product_ rule, targetrule_rule_product, salesrule_rule). Understanding the role of each and every one is crucial for production store operations 

Key reading

 

Want to find out about the rest of the top technical Magento tips?

Download our exclusive whitepaper which will give you more top tips for every Magento 2 build.

enter full name*
email address*
contact number

By Charlotte Mill

Charlotte is the Sales and Marketing Manager at Lab. Her background is primarily in Marketing after completing her degree in 2015, the IDM Digital / Direct Marketing award as well as the Google Squared Digital Marketing Qualification on a full scholarship. In her spare time, she has an active lifestyle blog which mainly revolves around food and her Cocker Spaniel, Tia. Catch up with Charlotte on Twitter, @CharlotteMill_.

View my profile on LinkedIn