Introduction to Magento 2


Magento 2 is going to be released in early 2016 with new architectural and functional improvements. You can try community edition freely from git hub. (git link) Followings are some new features available in community edition.

  • Bootstrap for autoloading.
  • Dependancy Injection for object loading.(DI) Factory methods are no longer exists.
  • Zend 2.
  • New module structure. All blocks / layouts / templates are in same folder.
  • Core was completely removed. Adminhtml was replaced by backend.
  • core_resource table was replaced by setup_module.
  • Unlimited theme fallback. Introduced in CE 1.6 upward. theme.xml under design theme etc folder.
  • Full page cache.
  • Built in varnish cache.
  • Less for css.
  • Built in less compiler.
  • Layout files can be extended instead of copying all contents.
  • Composer for php dependancy management.

It gives significant performance improvements with all these features. And there are more customization options are available with minimum conflicts. Plugins and Preferances are major customization options they added. Plugins allow us to intercept method call and Preferances allow to change run time class in DI. Also it gives more flexible customizations with DI by changing constructor params via di.xml. Indexed php is no longer exsists, it uses bin/magento to achive all shell functions like indexing, log cleaning etc. Also there some new functions available through magento. Follwing diagram shows general process flow of Magento2.

 

arc

Gihan Kavinga

Technical lead at Netstarter PTY Ltd. Magento certified developer plus. Oracle certified professional Business Component Developer. Linux system admin.

Leave a Reply

  • (will not be published)