202 Magento users are in the internet Retailer Top 1000 list. Become a Magento user by choosing our Maganeto services and we’ll make it work for you.
Magento2 is touted as a milestone release that will change the face of B2C and B2B ecommerce industry. There is a palpable excitement and fervor among the Magento community as they eagerly await the release. Magento 2 is also widely discussed and dissected by merchants and developers in the blogs, webinars and social media.
Is the buzz real or is it a hyperbole? The Magento2 Merchant beta has been out in the open and is available in GitHub in the following URL…
Magento also hosted a webinar on Magento 2 Merchant Beta recently. The recording can be viewed in the URL below.
The initial feedbacks are encouraging and Magento 2 lives up to the promise of ‘a cutting edge, feature-rich eCommerce solution that gets results’.
As the Magento community waits for the release, let us have a peek into the technologies that has gone into the making of this ground breaking solution.
Key technology changes in Magento2
- PHP 5.6.x or 5.5.x
- Apache 2.2 or 2.4
- MySQL 5.6.x
- PSR Compliance
- Full page caching
- Magento Testing Framework (MTF)
- Coding Standards (PSR – 0 , PSR – 1 , PSR – 2 )
Let us dig a little deeper to see the advantages of each technology listed above:
PHP 5.6.x or 5.5.x
- PHP 5.4 is no longer supported.
- This highest version of PHP is used to improve the performance and security of the application.
- Zend Framework2’s is slower when compared to the Zend Framework1 and symphony. So, Zend Framework1 is used.
The below diagram benchmarks the performance of various PHP frameworks…
Main Functionality of composer is as follows:
- PHP Dependency Manager
- Handles dependencies per project
- Package Management (Install , Uninstall and Update)
- Classes auto loading
Composer in magento2
- Declaring project dependencies in composer.json
- Installing dependencies using php composer.phar install
- Autoloading dependencies by require ‘vendor/autoload.php’.
Required PHP Extensions are declared in composer as follows
HTML5 and CSS3HTML5
- HTML5 offers a great shopping experience for customers on a variety of devices. Developers can use the powerful APIs and other new features available.
- Magento 2 Themes are built with high-responsive look using HTML5.
- Improves page load speed.
- Supports new visual effects like multiple backgrounds, reflections and shadows.
- Magento 2 uses LESS, a CSS pre-processor, to address several frontend development requirements.
- Using LESS helps developers to customize themes faster and easier.
- LESS preprocessor & CSS URL resolver helps to enhance performance, speed up page load, and make the system SEO friendly.
- Magento 2 supports RequireJS.
With the latest build however, RequireJS is responsible for loading jQuery UI. This means, we cannot call .autocomplete nor .dialog before we are certain that the UI library has been fully loaded.
RequireJS wraps the jQuery document.ready callback in a require() callback signaling a dependency on the jQuery UI library
- Magento 2 supports Full Page Caching in CE
- Other Cache Applications:
Enabled via app/etc/di.xml or app/etc/env.php (NO local.xml)
Enabled via Stores → Configuration → System → Full Page Cache
Magento Testing Framework (MTF)
- Facilitates the improvement of Magento Core products.
- MTF helps in avoiding duplication of test cases automated across the application utilizing data driven approach.
- With the new and improved Magento Testing Framework, developers will be able to automate functional testing of the developed features/functionalities enabling frequent releases and higher product quality.
- PSR-0 (Autoloading standard)
- PSR-1 (Basic Coding standard)
- PHP Tags , Character Encodings , namespaces
- PSR-2 (Coding Style Guide)
- Declaration , Control statements , closures
The eco system is readying itself by downloading, installing and playing around with the beta code. How the technology changes will affect the themes, plugins, modules and other softwares in the Magento marketplace is yet to be seen. When all is done and over, the community hopes that Magento 2 will live up to its promises and help merchants to grow their business.