Thursday 8 January 2015

Magento2 Features and Changes

Component changes:
  • Removed Some payment Method and bundled Community Modules
  • Removed/Ceased: Mage_Oscommerce,Mage_XMlConnect,Mage_DataFlow,Mage_Compiler
Functional Changes:
  • Theme configuration: simple into one field
  • Enabling Profiler: handled by bootstrap
  • Customizing Email Template : no more relation to locale
  • Session Time out : Cookie lifetime(No more cookie life time)
File Structure Modularity:
In Magento 1.x
In Magento 2.x
app/deisgn/<area>/baase/default
app/code/<pool>/<module>/view/<area>
skin/<area>/base/default
same (no distinction)
js/
same
app/locale/en_Us/template/email/*.html
app/code/<pool>/<Module>/view/email/*.html
File structure:
Root ItemsWas in Magento 1.x
Root ItemsWas in Magento 2.x
errors
pub/errors
Includes
n/a
js
pub/js
media
pub/media
pkginfo
n/a
shell
dev/shell
skin
app/design/<appropriate theme>
index.php,cron.php,get.php
index.php,pub/index.php,pub/cron.php
bootstrap logic scartted across entry points
app/bootstrap.php
Frame Work Naming:
            Lot of Difference is there for Naming Conversion in Magento1.x and Magento2.x.
Magento2.x uses Real name and Fully Qualify module names across the board.

            Magento1.x:

·         Mage::getModel(‘catalog/product’);
·         getTableName(‘admin/role’)
·         customer, checkout

Magento2.x:
·         Mage:getModel(‘Mage_Catalog_Model_Product’) (real class name)
·         getTableName(‘admin_role’) (real table Name)
·         Mage_Customer,Mage_Checkout (Fully Qualify module names across the board

Frame Work Configuration:

·         Eliminated Excessive Section (up to 20% of all config.xml)
·         Move out some of the file to specialized files
·         simplified rewrites mechanism
·         Added merging mechanism that allows XMl-Schema validation (implemented for        new types of configuration)
               
Frame Work Significant Other:

1.      Controller : formally separated routing of application areas
2.      View: Unlimited theme fall back hierarchy
3.      Introduced container (Structural elements in layout in addition to blocks)
4.      Eliminating skins (only themes remain) eliminating packages physically from the file
5.      Managing themes and design packages in entities in database
6.      decoupling controllers from layout through universal “context” engine
7.      Migrating to Jquery
8.      Model service Layer
9.      Improving Performance for API routing and granular loading of WSDL for only requested resources

User Experience:

A.      Information Architecture of the menus
B.      Product creation flow
C.      Taxes UX
D.      Navigation ACL
E.   Backend usability and UI
Magento tools:
a.       Migration tools to assists data and code from 1.x to 2.x
b.      applications/ components /themes deployment (installation/ upgrade as new tools)

c.       Zend Framework 2

No comments:

Post a Comment

Product Collection with out of stock and In Stock in Magento 2

Product collection with out of stock and In stock. use Magento\Catalog\Model\ResourceModel\Product\CollectionFactory; $collection = $th...