Friday, 30 June 2017

Difference between Magento 1.x and 2.x

The usage of modern technologies. Magento 2.0 will be using the most recent and popular versions of PHP, particularly 5.4 and 5.5, HTML5, CSS 3.3 and the latest versions of JQuery. Differences between technologies included in Magento 1.x and 2.0 are presented in the table below.



Modified directory structure. In order to make store management quicker, Magento will reduce the number of root directories from 9 to 5. For example, the new directory “pub” will contain all the data available for publicity. This system is more convenient than previous one, where numerous files were divided among “media”, “error”, “skin”, “js”. Also, shop owners will be able to place their Magento application files outside of webserver document root.
Absent, new and changed tables in Magento 2.0. By researching the new platform’s beta version, we’ve discovered that Magento 2 doesn’t contain the following tables:
  • catalogsearch_query;
  • catalogsearch_result
  • catalog_product_enabled_index.
Also, we’ve learned that few of the tables are renamed, and some of them have more columns than before.
Renamed tables (Magento 1.x - Magento 2.0 beta):
  • core_website - store_website
  • core_store - store
  • core_translate - translation
  • core_url_rewrite - url_rewrite
  • core_store_group - store_group
  • core_email_template - email_template
  • sales_flat_order - sales_order
  • sales_flat_order_address - sales_order_address
  • sales_flat_order_grid - sales_order_grid
  • sales_flat_order_item - sales_order_item
  • sales_flat_order_payment - sales_order_payment
  • sales_flat_order_status_history - sales_order_status_history
  • coupon_aggregated_order - salesrule_coupon_aggregated_order

about new GraphQL freature in Magento2

GraphQL: GraphQL is a data query language developed internally by Facebook in 2012 before being publicly released in 2015. Magento impleme...