Magento 1.0 | Magento 2.0 |
Folder app/code includes subfolders: core, community, local | Folder app/code includes subfolders Magento and Zend. In Magento 1.0, Magento andZend are subfolders of the folder core |
Codes created by developers are located at app/code/local or app/code/community | Codes created by developers are written directly in app/code. There is no difference between local and community |
Module declaration file is a xml file in app/etc/modulesEg: Module Checkout in Magento Core is declared in app/etc/modules/Mage_All.xml | Module declaration file is always module.xml which is written directly to folder etc in the moduleEg: module Checkout in Magento Core is declared in app/code/Magento/Checkout/etc/module.xml |
Layout and template are saved in folder app/designEg: app/design/frontend/default/default/layout | Layout and template are saved in the folder “View” in the module. The folder is the same level with some folders like: Block, Controller, Helper, Model, etc. in the moduleEg: app/code/Magento/Hello/view/frontend/layout |
Friday, July 10, 2015
Differences between Magento 1.0 and Magento 2.0
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment