Submit Search
Upload
Running Magento 1.x Extension on Magento 2
•
Download as PPTX, PDF
•
0 likes
•
320 views
S
Sergii Shymko
Follow
Presentation at Imagine 2014
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 33
Download now
Recommended
Code Generation in Magento 2
Code Generation in Magento 2
Sergii Shymko
Magento Performance Toolkit
Magento Performance Toolkit
Sergii Shymko
Facelets
Facelets
cagataycivici
Jsfsunum
Jsfsunum
cagataycivici
Magento 2.1 ee content staging
Magento 2.1 ee content staging
Anton Kaplya
Magento 2 Design Patterns
Magento 2 Design Patterns
Max Pronko
PrimeTime JSF with PrimeFaces - Dec 2014
PrimeTime JSF with PrimeFaces - Dec 2014
cagataycivici
So What If I Am A Private Ohmusha Sales Rep
So What If I Am A Private Ohmusha Sales Rep
Shintaro Kakutani
Recommended
Code Generation in Magento 2
Code Generation in Magento 2
Sergii Shymko
Magento Performance Toolkit
Magento Performance Toolkit
Sergii Shymko
Facelets
Facelets
cagataycivici
Jsfsunum
Jsfsunum
cagataycivici
Magento 2.1 ee content staging
Magento 2.1 ee content staging
Anton Kaplya
Magento 2 Design Patterns
Magento 2 Design Patterns
Max Pronko
PrimeTime JSF with PrimeFaces - Dec 2014
PrimeTime JSF with PrimeFaces - Dec 2014
cagataycivici
So What If I Am A Private Ohmusha Sales Rep
So What If I Am A Private Ohmusha Sales Rep
Shintaro Kakutani
Continuous Integration in android
Continuous Integration in android
Sergiy Mokienko
<Head> Presentation: Plugging Into Wordpress
<Head> Presentation: Plugging Into Wordpress
Matt Harris
Integrate Shindig with Joomla
Integrate Shindig with Joomla
Anand Sharma
Primefaces Confess 2012
Primefaces Confess 2012
cagataycivici
Substance checking-for-google-in-seo-by-sofia-azam
Substance checking-for-google-in-seo-by-sofia-azam
Digital Marketing
Substance checking-for-google-in-seo-by-sofia-azam
Substance checking-for-google-in-seo-by-sofia-azam
Digital Marketing
6 global library function provided by open cart
6 global library function provided by open cart
Self
Spring Surf 101
Spring Surf 101
Alfresco Software
Consuming & embedding external content in WordPress
Consuming & embedding external content in WordPress
Akshay Raje
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Max Pronko
Composer for Magento 1.x and Magento 2
Composer for Magento 1.x and Magento 2
Sergii Shymko
Magento vs big commerce a detailed comparison guide - ziffity
Magento vs big commerce a detailed comparison guide - ziffity
Ziffity Solutions LLC
Magento E-Commerce Customized Package-5
Magento E-Commerce Customized Package-5
SoftProdigy
Magento tutorial
Magento tutorial
HarikaReddy115
Magento Imagine 2014: Barcamp PHP 5.4 Performance Benchmarking
Magento Imagine 2014: Barcamp PHP 5.4 Performance Benchmarking
Copious
The biggest stores on Magento
The biggest stores on Magento
Divante
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
Kuldeep Sharma
Magento b2 b portals
Magento b2 b portals
Embitel Technologies (I) PVT LTD
Developer Preview Live – Release Readiness LIVE, Spring '18
Developer Preview Live – Release Readiness LIVE, Spring '18
Salesforce Developers
Magento development
Magento development
Embitel Technologies (I) PVT LTD
Affiliate module-magento
Affiliate module-magento
Oscprofessionals
Magento customization
Magento customization
Embitel Technologies (I) PVT LTD
More Related Content
What's hot
Continuous Integration in android
Continuous Integration in android
Sergiy Mokienko
<Head> Presentation: Plugging Into Wordpress
<Head> Presentation: Plugging Into Wordpress
Matt Harris
Integrate Shindig with Joomla
Integrate Shindig with Joomla
Anand Sharma
Primefaces Confess 2012
Primefaces Confess 2012
cagataycivici
Substance checking-for-google-in-seo-by-sofia-azam
Substance checking-for-google-in-seo-by-sofia-azam
Digital Marketing
Substance checking-for-google-in-seo-by-sofia-azam
Substance checking-for-google-in-seo-by-sofia-azam
Digital Marketing
6 global library function provided by open cart
6 global library function provided by open cart
Self
Spring Surf 101
Spring Surf 101
Alfresco Software
Consuming & embedding external content in WordPress
Consuming & embedding external content in WordPress
Akshay Raje
What's hot
(9)
Continuous Integration in android
Continuous Integration in android
<Head> Presentation: Plugging Into Wordpress
<Head> Presentation: Plugging Into Wordpress
Integrate Shindig with Joomla
Integrate Shindig with Joomla
Primefaces Confess 2012
Primefaces Confess 2012
Substance checking-for-google-in-seo-by-sofia-azam
Substance checking-for-google-in-seo-by-sofia-azam
Substance checking-for-google-in-seo-by-sofia-azam
Substance checking-for-google-in-seo-by-sofia-azam
6 global library function provided by open cart
6 global library function provided by open cart
Spring Surf 101
Spring Surf 101
Consuming & embedding external content in WordPress
Consuming & embedding external content in WordPress
Similar to Running Magento 1.x Extension on Magento 2
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Max Pronko
Composer for Magento 1.x and Magento 2
Composer for Magento 1.x and Magento 2
Sergii Shymko
Magento vs big commerce a detailed comparison guide - ziffity
Magento vs big commerce a detailed comparison guide - ziffity
Ziffity Solutions LLC
Magento E-Commerce Customized Package-5
Magento E-Commerce Customized Package-5
SoftProdigy
Magento tutorial
Magento tutorial
HarikaReddy115
Magento Imagine 2014: Barcamp PHP 5.4 Performance Benchmarking
Magento Imagine 2014: Barcamp PHP 5.4 Performance Benchmarking
Copious
The biggest stores on Magento
The biggest stores on Magento
Divante
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
Kuldeep Sharma
Magento b2 b portals
Magento b2 b portals
Embitel Technologies (I) PVT LTD
Developer Preview Live – Release Readiness LIVE, Spring '18
Developer Preview Live – Release Readiness LIVE, Spring '18
Salesforce Developers
Magento development
Magento development
Embitel Technologies (I) PVT LTD
Affiliate module-magento
Affiliate module-magento
Oscprofessionals
Magento customization
Magento customization
Embitel Technologies (I) PVT LTD
New Features in Magento Enterprise Edition 1.14 (EE) Magento Community Editio...
New Features in Magento Enterprise Edition 1.14 (EE) Magento Community Editio...
Mike Taylor
Magento commerce
Magento commerce
Embitel Technologies (I) PVT LTD
Magento b2 b website
Magento b2 b website
Embitel Technologies (I) PVT LTD
An e-Commerce Platform for Selling Single Product Reltus for Tinnitus
An e-Commerce Platform for Selling Single Product Reltus for Tinnitus
Mike Taylor
Magento b2 c portals
Magento b2 c portals
Embitel Technologies (I) PVT LTD
Magento developer uk
Magento developer uk
Embitel Technologies (I) PVT LTD
Magento web design
Magento web design
Embitel Technologies (I) PVT LTD
Similar to Running Magento 1.x Extension on Magento 2
(20)
Zepplin_Pronko_Magento_Festival Hall 1_Final
Zepplin_Pronko_Magento_Festival Hall 1_Final
Composer for Magento 1.x and Magento 2
Composer for Magento 1.x and Magento 2
Magento vs big commerce a detailed comparison guide - ziffity
Magento vs big commerce a detailed comparison guide - ziffity
Magento E-Commerce Customized Package-5
Magento E-Commerce Customized Package-5
Magento tutorial
Magento tutorial
Magento Imagine 2014: Barcamp PHP 5.4 Performance Benchmarking
Magento Imagine 2014: Barcamp PHP 5.4 Performance Benchmarking
The biggest stores on Magento
The biggest stores on Magento
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
Magento b2 b portals
Magento b2 b portals
Developer Preview Live – Release Readiness LIVE, Spring '18
Developer Preview Live – Release Readiness LIVE, Spring '18
Magento development
Magento development
Affiliate module-magento
Affiliate module-magento
Magento customization
Magento customization
New Features in Magento Enterprise Edition 1.14 (EE) Magento Community Editio...
New Features in Magento Enterprise Edition 1.14 (EE) Magento Community Editio...
Magento commerce
Magento commerce
Magento b2 b website
Magento b2 b website
An e-Commerce Platform for Selling Single Product Reltus for Tinnitus
An e-Commerce Platform for Selling Single Product Reltus for Tinnitus
Magento b2 c portals
Magento b2 c portals
Magento developer uk
Magento developer uk
Magento web design
Magento web design
More from Sergii Shymko
Magento 2 Changes Overview
Magento 2 Changes Overview
Sergii Shymko
Magento 2 Composer for Extensions Distribution
Magento 2 Composer for Extensions Distribution
Sergii Shymko
Developing Loosely Coupled Modules with Magento
Developing Loosely Coupled Modules with Magento
Sergii Shymko
Black Magic of Code Generation in Magento 2
Black Magic of Code Generation in Magento 2
Sergii Shymko
Composer in Magento
Composer in Magento
Sergii Shymko
Magento 2 Code Migration Tool
Magento 2 Code Migration Tool
Sergii Shymko
Magento 2 Composer for Extensions Distribution
Magento 2 Composer for Extensions Distribution
Sergii Shymko
Magento 2 Enhanced Theme/Skin Localization
Magento 2 Enhanced Theme/Skin Localization
Sergii Shymko
Developing Loosely Coupled Modules with Magento
Developing Loosely Coupled Modules with Magento
Sergii Shymko
Magento 2 View Layer Evolution
Magento 2 View Layer Evolution
Sergii Shymko
Magento 2 Theme Localization
Magento 2 Theme Localization
Sergii Shymko
Magento 1.x to Magento 2 Code Migration Tools
Magento 1.x to Magento 2 Code Migration Tools
Sergii Shymko
More from Sergii Shymko
(12)
Magento 2 Changes Overview
Magento 2 Changes Overview
Magento 2 Composer for Extensions Distribution
Magento 2 Composer for Extensions Distribution
Developing Loosely Coupled Modules with Magento
Developing Loosely Coupled Modules with Magento
Black Magic of Code Generation in Magento 2
Black Magic of Code Generation in Magento 2
Composer in Magento
Composer in Magento
Magento 2 Code Migration Tool
Magento 2 Code Migration Tool
Magento 2 Composer for Extensions Distribution
Magento 2 Composer for Extensions Distribution
Magento 2 Enhanced Theme/Skin Localization
Magento 2 Enhanced Theme/Skin Localization
Developing Loosely Coupled Modules with Magento
Developing Loosely Coupled Modules with Magento
Magento 2 View Layer Evolution
Magento 2 View Layer Evolution
Magento 2 Theme Localization
Magento 2 Theme Localization
Magento 1.x to Magento 2 Code Migration Tools
Magento 1.x to Magento 2 Code Migration Tools
Recently uploaded
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
upamatechverse
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
upamatechverse
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
SIVASHANKAR N
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
Suhani Kapoor
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
Suhani Kapoor
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
SIVASHANKAR N
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Call Girls in Nagpur High Profile
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
ranjana rawat
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
Soham Mondal
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
ssuser5c9d4b1
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
rknatarajan
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
ranjana rawat
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
ranjana rawat
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ranjana rawat
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
Asutosh Ranjan
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Tsuyoshi Horigome
Recently uploaded
(20)
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Running Magento 1.x Extension on Magento 2
1.
2.
Sergii Shymko Software Engineer Magento Running
1.x Extensions on Magento 2
3.
Legal Copyright © 2014
Magento, Inc. All Rights Reserved. Magento®, eBay Enterprise™ and their respective logos are trademarks, service marks, registered trademarks, or registered service marks of eBay, Inc. or its subsidiaries. Other trademarks or service marks contained in this presentation are the property of the respective companies with which they are associated. This presentation is for informational and discussion purposes only and should not be construed as a commitment of Magento, Inc. or GSI Commerce, Inc. d/b/a eBay Enterprise (“eBay Enterprise”) or of any of their subsidiaries or affiliates. While we attempt to ensure the accuracy, completeness and adequacy of this presentation, neither Magento, Inc., eBay Enterprise nor any of their subsidiaries or affiliates are responsible for any errors or will be liable for the use of, or reliance upon, this presentation or any of the information contained in it. Unauthorized use, disclosure or dissemination of this information is expressly prohibited.
4.
Extension Selection Too complex “Hello
World” $0
5.
Subject Extension Vertical Navigation
with CSS Classes magentocommerce.com/magento-connect/vertical-navigation-with-css-classes.html As of May 8, 2014 53,528 Rico Neitzel Vinai Kopp Raúl Fishman OSL 3.0
6.
Storefront
7.
Admin Panel
8.
Source Code Stats PHP 25% Config 25% CSV 25% Templates 9% Layout 8% CSS 8%
9.
Let’s Make It
Work with M2 !
10.
Magento 1.x Magento
2 Directory Structure app/ code/ community/ <Vendor>/<Module>/ etc/modules/ locale/<locale>/ design/ <area>/base/default/ skin/ <area>/base/default/ app/ code/ <Vendor>/<Module> / etc/ i18n/<locale>/ view/<area>/
11.
Configuration Files1
12.
Magento 1.x Magento
2 Config Reorganization app/ code/community/ RicoNeitzel/VertNav/ etc/ config.xml app/ code/ RicoNeitzel/VertNav/ etc/[<area>/] module.xml … …
13.
Magento2Magento1.x Module Definition <config> <modules> <RicoNeitzel_VertNav> <version>0.4.2</version> <active>true</active> <codePool>community</codePool> <depends> <Mage_Catalog/> <config> <module name="RicoNeitzel_VertNav" version="0.4.2" active="true"> <depends> <module
name="Magento_Catalog"/> <module_dir>/etc/module.xml app/etc/modules/<module>.xml <module_dir>/etc/config.xml
14.
Magento2Magento1.x System Configuration <config> <sections> <catalog> <groups> <vertnav> <fields> <hide_vertnav> <sort_order>10</sort_order> <config> <system> <section id="catalog"> <group
id="vertnav"> <field id="hide_vertnav" type="select" sortOrder="10"> <module_dir>/etc/system.xml <module_dir>/etc/adminhtml/system.xml
15.
View Layer2
16.
Magento 1.x Magento
2 Static Files skin/ frontend/ base/ default/ vertnav.css app/ code/ RicoNeitzel/VertNav/ view/ frontend/ style.css
17.
Magento 1.x Magento
2 Templates app/ design/ frontend/ base/default/ template/ vertnav/ left.phtml app/ code/ RicoNeitzel/VertNav/ view/ frontend/ left.phtml
18.
Magento 1.x Magento
2 Layout Files app/ design/ frontend/ base/default/ layout/ vertnav.xml app/ code/ RicoNeitzel/VertNav/ view/ frontend/ layout/ default.xml …
19.
Magento2Magento1.x Layout Format <layout> <default> <reference name="left"> <block
type="vertnav/navigation" name="catalog.vertnav" template="vertnav/left.phtml"/> <layout> <referenceContainer name="left"> <block class="RicoNeitzel_VertNav_Block_Navigation" name="catalog.vertnav" template="RicoNeitzel_VertNav::left.phtml"/> vertnav.xml default.xml
20.
<?php // code
;)3
21.
Magento2Magento1.x Namespaces class Mage_Catalog_Block_Navigation {...} class
RicoNeitzel_VertNav_Block_Navigation extends Mage_Catalog_Block_Navigation {...} namespace MagentoCatalogBlock; class Navigation {...} class RicoNeitzel_VertNav_Block_Navigation extends MagentoCatalogBlockNavigation {...} Prefixes, PHP < 5.3 Namespaces, PHP ≥ 5.3
22.
Magento 1.x Magento
2 Core Reorganization app/ code/core/ Mage/ Adminhtml/ Page/ Core/ Mage.php lib/Varien/ app/ code/ Magento/ Backend/ Theme/ Core/ Store/ lib/Magento/Framework/
23.
No “Mage” in
Magento 2
24.
Dependency Injection
25.
Magento2Magento1.x Dependency on Singleton Mage::getSingleton('module/class'); Mage::getResourceSingleton('module/class'); Mage::helper('module'); function
__construct( VendorModuleClass $service ) { $this->_service = $service; } Service Location Constructor Injection
26.
Magento2Magento1.x Dependency on Transient Mage::getModel('module/class'); Mage::getResourceModel('module/class'); function
__construct( VendorModuleClassFactory $factory ) { $this->_factory = $factory; } $transientObj = $this->_factory->create(); Static Factory Methods Factory Code Generation
27.
Internationalization Localization
28.
Magento 1.x Magento
2 Dictionaries app/ locale/ de_DE/ RicoNeitzel_VertNav.csv es_MX/ RicoNeitzel_VertNav.csv app/ code/ RicoNeitzel/VertNav/ i18n/ de_DE.csv es_MX.csv
29.
Magento2Magento1.x Localization via “gettext” class
Vendor_Module_Helper_Data extends Mage_Core_Helper_Abstract { // Literally empty } echo Mage::helper('module')->__('Wake up, %s...', 'Neo'); echo __('Wake up, %1...', 'Imagine attendee'); Module Context Global Function
30.
We’re All Set
!4
31.
32.
Effort & Gains 20
hours Single module dir Config validation Unit testable 19 commits
33.
Sergii Shymko sshymko@ebay.com sergey@shymko.net github.com/magento/magento2 –
Magento 2 github.com/riconeitzel/VertNav – original extension github.com/sshymko/VertNav – extension M2 fork Thank You! Q & A
Editor's Notes
Uses various framework parts Not trivial
Magento 1.x – module in 5 directories Magento 2 – module in 1 directory <module_dir>/ = <Vendor>/<Module>/
Merging preserved XSD validation
Convention over configuration
PSR compliance
No class “Mage” Confusion ;)
Convention over configuration
XSD validation of config
Download now