Top Banner
Magento 2: What to expect and When?
40

Meet Magento Belarus - Magento2: What to expect and when? - Elena Leonova

Jul 27, 2015

Download

Business

Elena Leonova
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Magento 2: What to expect and When?

Page 2: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Manager, Product Management

Magento

Elena Leonova

Page 3: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

MAGENTO 2: PLATFORM GOALS

M2

Page 4: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Modern technology stack

Page 5: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

PHP

Page 6: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

jQuery

Page 7: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

HTML5 CSS3 Preprocessor

Page 8: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

RequireJS

Page 9: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Coding Standards

• PSR-0 (Autoloading standard)• PSR-1 (Basic Coding standard)• PSR-2 (Coding Style Guide)

Page 10: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Tech Stack

Page 11: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Improved performance & scalability

Page 12: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Page Caching

•Full Page Caching out of box in CE•Cache Applications:

• Built-in Application: Filesystem/Redis• Varnish

•Invalidation logic

Page 13: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Indexing

• Refactored Indexers: Catalog, Price, EAV, Stock, URL Rewrite, Target Rule, Search

• Partial indexing• Work in background (do not block processes)• No manual re-index required• Materialized View (Mview)

Page 14: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Streamline customizations

Page 15: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Mage Class

God Class “Mage::” is eliminated

Page 16: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

DI

• Object Manager (Dependency Injection Container)• Configurable di.xml• Compiler

Page 17: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Interceptors & Plugins

• Before method• After method• Around method• Sorting

Page 18: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Magento Framework

Page 19: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Modularity: View

•Library Component View•Independent from Modules•Resolved dependency on Store•Abstract blocks & widgets in Library

Page 20: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Modularity: App

•Library Component App•Resolved global dependency from Core modules

Page 21: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Modularity: Admin

•Global Adminhtml module is eliminated•Modules are monatomic

Page 22: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Modularity: Catalog

•New Modules•Enable/Disable •Delete from code

Page 23: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Modularity: Search

•Enable/Disable •Delete from code•No search logic in other modules•Ability to change search engine to any other 3rd party

Page 24: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Other Modularity Results

•Sales: extracted Recurring Payment•Shipping: Carrier, decoupled shipping methods•Checkout: extracted Terms&Conditions and Multishipping•Payments – OfflinePayment, decoupling payment methods

Page 25: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Price Logic

•Price logic decomposition per price type •Price Interfaces•Price decoupled from Tax and Weee•Price “adjustment”

Page 26: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Magento UI Library

• Upgradability

• Consistency

• Extensive list of reusable components

• Styling and design best practices

• Good documentation

• Simplifies customization

Page 27: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Multilevel Theme Inheritance

• Simplifies customization

• Flexible store design

• Less code duplication

• Maintainability

Page 28: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Blank Theme

Modern Technologies Mobile First Responsive Design

Built with Magento UI library

Compiled with Built-in PHP LESS Compiler

WCAG 2.0 AA Compliant

Page 29: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Simplify external integrations

Page 30: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Module Service Contracts

• Implemented by current Magento models

• Produce a durable API for client to rely on Data Interfaces, Service Interfaces and Repository Interface

Page 31: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Easier installation & upgrades

Page 32: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Composer and Deployment Tool

•Deployment Tool•Composer

magento/magento-composer-installer

Page 33: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

High code quality & testing

Page 34: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

• Full set of tests: Unit, Integration, Static, Legacy• Functional Test – Magento Testing Framework

(MTF)• Performance Testing

magento/mtf

Page 35: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

GitHub

magento/magento2

Page 36: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Magento 2: The Team

Page 37: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Teams

Page 38: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Magento 2: Release Plan

Page 39: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Release Approach

2014 20162015 2017

2.0 Dev Beta

2.0Merchant Beta

2.0Merchant GA

2.xOngoing Releases

2.0 Dev RC

We need your feedback!

Page 40: Meet Magento Belarus -  Magento2: What to expect and when? - Elena Leonova

Questions?

[email protected]

@elena_a_leonova

Elena Leonova