Today marks a great moment for webshop owners: Magento 2.0.0 Stable is out. After waiting for years, the moment is finally there: Magento 2.0 Stable has been released. Let's see what changes are waiting for us.
Major changes in code architecture
In short, Magento 2 is built almost from scratch, and huge portions of old Magento 1.x have been rewritten to a new standard that allows Magento to grow in the years ahead. Shortcuts to classes are now full classnames - so a call like Mage::getModel('catalog/product') becomes Mage::getModel('Mage_Catalog_Model_Product'). The definition-folder of app/etc/modules has been simply removed. There are no more code pools (core, community, local), everything sits right into app/code/. - so a module like app/code/community/Yireo/Trashcan will simply be moved to app/code/Yireo/Trashcan. And there's much more: Dependancy injection, object manager, containers (besides blocks).
More security, faster code
One of the main goals of Magento 2 has been to become much less complex and gain speed. ProtoType is exchanged for jQuery. Minimum requirement is PHP 5.4. And there has been a lot of cleaning up of code, even though the class structures (classes that have parents that have parents that have parents) is still complex.
Today is April Fools' Day
And for those of you who did not know what date it was today: It is April Fools' Day. All details of this blog-post are true, except that Magento 2 is not ready yet. We will repeat this blogpost next year.
About the author
Jisse Reitsma is the founder of Yireo, extension developer, developer trainer and 3x Magento Master. His passion is for technology and open source. And he loves talking as well.