Magento 2.0 Developer Webinar
Pierre Dahlström, a Developer from the Products & Tools Department in Vaimo Stockholm, attended the Magento 2 Developer Webinar on December 17th, 2015. He filled us in on the important elements he gathered from the webinar about the possibilities that Magento 2 offers.
The webinar featured Product and Development team members from Magento who talked about the new functions Magento 2 offers. The presenters covered product videos, a feature that allows you to add YouTube and Vimeo videos to product descriptions. They also added that discounts are not exposed as web API. More capabilities include an additional job queue framework, with an AMQP implementation for Rabbit MQ and MySQL. Furthermore, there is now a New Relic integration included in Magento 2 and the documentation for Magento 2 is located at devdocs.magento.com, driven as an open source project where the community can contribute. There have been 109 community pull requests merged since July 2015.
The presenters covered versioning strategy and using semantic versioning. The attendees were informed that Magento 2 releases start at 2.0.0 and that modules start at 100.0.0. The latest patch releases will include all prior patches.
The webinar conveyed Magento 2 performance and improvement on both the client and the server side. There are improvements made in the layout performance and an improved admin grid performance. Magento has removed blocking operations and deadlocks from product and order processing along with index improvements from Magento EE 1.14. Magento highly recommends the use of Varnish, and Magento 2 boasts out-of-the-box Varnish Integration, with Updates to FPC. The Magento presenters went on to showcase the performance results from Magento when using Varnish:
- Magento 2.0 with PHP 7 processes 135K more orders per hour then M1
- Magento 2.0 with PHP 7 handles 2.1M more catalog views per hour then M1
- Magento 2.0 catalog pages are 47-56% faster then M1
- Magento 2.0 guest checkout is 38% faster then M1
The presenters stated that PHP 7 is planned to be supported in January 2016. The Magento representative stressed that correct configuration of Magento is critical for optimal performance:
- PHP 7 (or at least 5.6)
- OP Cache enabled / RAM FS for code
- Varnish 4
- Redis cache storage
- Memcache for session storage
- No Xdebug
- Production mode enabled
Magento 2.0 Development Recommendations
First, the presenters offered advice about automated tests. As automated tests take a long time to run, it’s effective to use a Selenium grid to parallelise and to run the full suite at least once per day. Also, the unit tests must be straight forward. As for permission issues, CLI permission is different than web-server permission. In regards to modes, there are clear differences between the various modes and it is highly recommended to turn on developer mode when you develop Magento 2 sites. The presenter also urged developers to remember to use documentation and to submit questions to the forum rather than to Github; Github is only for technical code issues.
Magento 2.0 Development Resources
The presenter mentioned the code migration tool but advised that it’s better to rewrite a Magento 1.0 module from scratch for Magento 2.0 than try to migrate the code to M2. He also talked about the data migration tool, new training courses, and the new curated Magento marketplace that focuses on quality and discovery.
Finally, the presenters talked about staging and preview, and the improved search that is moving to Elastic search. They also touched on the enhanced CMS, more promotion types, and more sophisticated personalisation and segmentation that are planned for coming releases.