SlideShare a Scribd company logo
Magento is an eBay Inc. company. © 2013 Magento, Inc. All rights reserved.
Magento 2 Fronted
Architecture
© 2013 Magento, Inc. Page | 2
Magento 2 Platform Goals
Improve PerformanceEasier Upgrades High Quality Code
Update TechnologyEngage with Community Streamline
Customization
© 2013 Magento, Inc. Page | 3
Consumers take a multi-device path to purchase
Source — Google Inc.
65%
Start on a Smartphone
61%
Continue on
a PC/Laptop
4%
Continue
on a Tablet
25%
Start on a PC/Laptop
11%
Start on a Tablet
19%
Continue on
a Smartphone
5%
Continue
on a Tablet
10%
Continue on
a PC/Laptop
© 2013 Magento, Inc. Page | 4
Get Started
github.com/magento/magento2
© 2013 Magento, Inc. Page | 5© 2013 Magento, Inc. Page | 5
2 How to Create a Theme
© 2013 Magento, Inc. Page | 6
Single Place Frontend Development
This is where
all the magic
happens
© 2013 Magento, Inc. Page | 7
What Defines a Theme?
Vendor name (brand name)
Theme name
Theme preview for admin panel
Theme configuration file
© 2013 Magento, Inc. Page | 8
Theme Configuration File
theme.xml
Theme name
Path to preview
Path to parent theme
© 2013 Magento, Inc. Page | 9
Themes Relationships
© 2013 Magento, Inc. Page | 10
Multilevel Theme Inheritance
VendorName/Imagine
Module/view/frontend Magento/blank
VendorName/NewYear VendorName/SeasonSales
© 2013 Magento, Inc. Page | 11
Apply Theme
© 2013 Magento, Inc. Page | 12© 2013 Magento, Inc. Page | 12
3 How to Work with CSS
© 2013 Magento, Inc. Page | 13
Blank Theme Features
Modern Technologies Mobile First Responsive Design
Built with Magento UI library Compiled with Built-in PHP
LESS Compiler
WCAG 2.0 AA Compliant
© 2013 Magento, Inc. Page | 14
Magento UI Library Documentation
lib/web/css/docs
© 2013 Magento, Inc. Page | 15
Blank Theme Structure
Modularized CSS:
• Upgradability
Magento 2 compiles CSS itself
• Performance
• Maintenance
• No tools required
• Anyone can edit styles quickly
• LESS Source and CSS is
always synchronized
© 2013 Magento, Inc. Page | 16
CSS Extension
css/source/extend.less
© 2013 Magento, Inc. Page | 17
Blank Theme Structure
© 2013 Magento, Inc. Page | 18
NewYear Theme
NewYear
© 2013 Magento, Inc. Page | 19
Blank Theme Structure
Modularized CSS:
• Upgradability
Magento 2 compiles CSS itself
• Performance
• Maintenance
• No tools required
• Anyone can edit styles quickly
• LESS Source and CSS is
always synchronized
© 2013 Magento, Inc. Page | 20
NewYear Theme: Image fallback
© 2013 Magento, Inc. Page | 21© 2013 Magento, Inc. Page | 21
4 How to Work with XML Layout
© 2013 Magento, Inc. Page | 22
What is Layout?
• Behavior of containers is
predictable
• A wireframe of a page can
be represented by bare
containers
• With containers, there is
no point to having nested
elements in blocks
© 2013 Magento, Inc. Page | 23
Layout Extend
Theme/view/frontend/layout
© 2013 Magento, Inc. Page | 24
Layout Extend
© 2013 Magento, Inc. Page | 25
Layout Override
© 2013 Magento, Inc. Page | 26
Layout Override
© 2013 Magento, Inc. Page | 27© 2013 Magento, Inc. Page | 27
5 How to Work with Templates
© 2013 Magento, Inc. Page | 28
Template Override
© 2013 Magento, Inc. Page | 29
Template Override
© 2013 Magento, Inc. Page | 30
Layout Extend
Theme/view/frontend/layout
© 2013 Magento, Inc. Page | 31© 2013 Magento, Inc. Page | 31
6 Q&A
© 2013 Magento, Inc. Page | 32© 2013 Magento, Inc. Page | 32
7 Thank you!

More Related Content

PDF
How To Install Magento 2 (updated for the latest version)
PDF
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
PDF
Oleh Kobchenko - Configure Magento 2 to get maximum performance
PPTX
Sergii Shymko: Magento 2: Composer for Extensions Distribution
PPTX
Magento 2 overview. Alan Kent
PDF
Fundamentals of Extending Magento 2 - php[world] 2015
PDF
Magento 2 Modules are Easy!
PDF
Sergii Shymko - Code migration tool for upgrade to Magento 2
How To Install Magento 2 (updated for the latest version)
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Oleh Kobchenko - Configure Magento 2 to get maximum performance
Sergii Shymko: Magento 2: Composer for Extensions Distribution
Magento 2 overview. Alan Kent
Fundamentals of Extending Magento 2 - php[world] 2015
Magento 2 Modules are Easy!
Sergii Shymko - Code migration tool for upgrade to Magento 2

What's hot (20)

PPT
12 Amazing Features of Magento 2
PDF
Magento 2 Design Patterns
PDF
How to create theme in Magento 2 - Part 2
PPTX
MidwestPHP - Getting Started with Magento 2
PDF
Outlook on Magento 2
PDF
Magento 2: New and Innovative? - php[world] 2015
PPTX
Max Yekaterynenko: Magento 2 overview
PDF
The journey of mastering Magento 2 for Magento 1 developers
PDF
Magento 2: Modernizing an eCommerce Powerhouse
PDF
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
PPTX
Magento 2: A technical overview
PDF
Magento 2 Development Best Practices
PDF
Max Yekaterinenko - Magento 2 & Quality
PDF
How to Install Magento 2 [Latest Version]
PDF
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
PDF
Magento 2 Seminar - Daniel Genis - Magento 2 benchmarks
PDF
Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...
PPT
Meet Magento Belarus - Elena Leonova
PDF
Your First Magento 2 Module
PDF
How To Create Theme in Magento 2 - Part 1
12 Amazing Features of Magento 2
Magento 2 Design Patterns
How to create theme in Magento 2 - Part 2
MidwestPHP - Getting Started with Magento 2
Outlook on Magento 2
Magento 2: New and Innovative? - php[world] 2015
Max Yekaterynenko: Magento 2 overview
The journey of mastering Magento 2 for Magento 1 developers
Magento 2: Modernizing an eCommerce Powerhouse
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Magento 2: A technical overview
Magento 2 Development Best Practices
Max Yekaterinenko - Magento 2 & Quality
How to Install Magento 2 [Latest Version]
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Magento 2 Seminar - Daniel Genis - Magento 2 benchmarks
Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...
Meet Magento Belarus - Elena Leonova
Your First Magento 2 Module
How To Create Theme in Magento 2 - Part 1
Ad

Similar to Imagine recap-devhub (20)

PPTX
Magento 2 theming - knowledge sharing session by suman kc
PDF
Magento2 Basics for Frontend Development
PDF
Макс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
PPTX
Magento 2 View Layer Evolution
PDF
Magento Design Guide
PDF
Introduction to the Magento eCommerce Platform
PPTX
Zendcon magento101
PPTX
Magento 2 - Getting started.
PPTX
Magento 2 : development and features
PDF
Magento designguide
PDF
Magento Design Guide
PPTX
Magento2 frontend development
PDF
29. Magento Meetup - Why the hell did I choose Magento 2?
PPTX
php[world] Magento101
PDF
Magneto U Course Descriptions
PPTX
Magento mega menu extension
PDF
Front End Development in Magento
PDF
Designers guide to_magento
PDF
Designers guide to magento
PPTX
Magento for newbies by IdeatoLife - Design+Code; ArabNet Beirut 2015
Magento 2 theming - knowledge sharing session by suman kc
Magento2 Basics for Frontend Development
Макс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
Magento 2 View Layer Evolution
Magento Design Guide
Introduction to the Magento eCommerce Platform
Zendcon magento101
Magento 2 - Getting started.
Magento 2 : development and features
Magento designguide
Magento Design Guide
Magento2 frontend development
29. Magento Meetup - Why the hell did I choose Magento 2?
php[world] Magento101
Magneto U Course Descriptions
Magento mega menu extension
Front End Development in Magento
Designers guide to_magento
Designers guide to magento
Magento for newbies by IdeatoLife - Design+Code; ArabNet Beirut 2015
Ad

More from Magento Dev (17)

PDF
Yurii Hryhoriev "Php storm tips&tricks"
PDF
DevHub 3 - Composer plus Magento
PPTX
DevHub 3 - Pricing
PDF
DevHub 3 - CVS
PPTX
Magento2 airplane
PPTX
Разработка на стероидах или как я перестал бояться и полюбил свою IDE
PPTX
Top 5 magento secure coding best practices Alex Zarichnyi
PDF
Magento 2 Page Cache
PPTX
Data migration into eav model
PPTX
Magento devhub
PPT
Php + erlang
PPTX
Tdd php
PDF
Gearman jobqueue
PDF
Autotest
PPT
Choreography of web-services
PPT
Security in PHP
PPT
Take more from Jquery
Yurii Hryhoriev "Php storm tips&tricks"
DevHub 3 - Composer plus Magento
DevHub 3 - Pricing
DevHub 3 - CVS
Magento2 airplane
Разработка на стероидах или как я перестал бояться и полюбил свою IDE
Top 5 magento secure coding best practices Alex Zarichnyi
Magento 2 Page Cache
Data migration into eav model
Magento devhub
Php + erlang
Tdd php
Gearman jobqueue
Autotest
Choreography of web-services
Security in PHP
Take more from Jquery

Recently uploaded (20)

PPTX
additive manufacturing of ss316l using mig welding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Digital Logic Computer Design lecture notes
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
PPT on Performance Review to get promotions
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
UNIT 4 Total Quality Management .pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Construction Project Organization Group 2.pptx
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Welding lecture in detail for understanding
PPT
Mechanical Engineering MATERIALS Selection
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
additive manufacturing of ss316l using mig welding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CYBER-CRIMES AND SECURITY A guide to understanding
Digital Logic Computer Design lecture notes
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT on Performance Review to get promotions
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
UNIT 4 Total Quality Management .pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
R24 SURVEYING LAB MANUAL for civil enggi
Construction Project Organization Group 2.pptx
OOP with Java - Java Introduction (Basics)
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Welding lecture in detail for understanding
Mechanical Engineering MATERIALS Selection
bas. eng. economics group 4 presentation 1.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx

Imagine recap-devhub

  • 1. Magento is an eBay Inc. company. © 2013 Magento, Inc. All rights reserved. Magento 2 Fronted Architecture
  • 2. © 2013 Magento, Inc. Page | 2 Magento 2 Platform Goals Improve PerformanceEasier Upgrades High Quality Code Update TechnologyEngage with Community Streamline Customization
  • 3. © 2013 Magento, Inc. Page | 3 Consumers take a multi-device path to purchase Source — Google Inc. 65% Start on a Smartphone 61% Continue on a PC/Laptop 4% Continue on a Tablet 25% Start on a PC/Laptop 11% Start on a Tablet 19% Continue on a Smartphone 5% Continue on a Tablet 10% Continue on a PC/Laptop
  • 4. © 2013 Magento, Inc. Page | 4 Get Started github.com/magento/magento2
  • 5. © 2013 Magento, Inc. Page | 5© 2013 Magento, Inc. Page | 5 2 How to Create a Theme
  • 6. © 2013 Magento, Inc. Page | 6 Single Place Frontend Development This is where all the magic happens
  • 7. © 2013 Magento, Inc. Page | 7 What Defines a Theme? Vendor name (brand name) Theme name Theme preview for admin panel Theme configuration file
  • 8. © 2013 Magento, Inc. Page | 8 Theme Configuration File theme.xml Theme name Path to preview Path to parent theme
  • 9. © 2013 Magento, Inc. Page | 9 Themes Relationships
  • 10. © 2013 Magento, Inc. Page | 10 Multilevel Theme Inheritance VendorName/Imagine Module/view/frontend Magento/blank VendorName/NewYear VendorName/SeasonSales
  • 11. © 2013 Magento, Inc. Page | 11 Apply Theme
  • 12. © 2013 Magento, Inc. Page | 12© 2013 Magento, Inc. Page | 12 3 How to Work with CSS
  • 13. © 2013 Magento, Inc. Page | 13 Blank Theme Features Modern Technologies Mobile First Responsive Design Built with Magento UI library Compiled with Built-in PHP LESS Compiler WCAG 2.0 AA Compliant
  • 14. © 2013 Magento, Inc. Page | 14 Magento UI Library Documentation lib/web/css/docs
  • 15. © 2013 Magento, Inc. Page | 15 Blank Theme Structure Modularized CSS: • Upgradability Magento 2 compiles CSS itself • Performance • Maintenance • No tools required • Anyone can edit styles quickly • LESS Source and CSS is always synchronized
  • 16. © 2013 Magento, Inc. Page | 16 CSS Extension css/source/extend.less
  • 17. © 2013 Magento, Inc. Page | 17 Blank Theme Structure
  • 18. © 2013 Magento, Inc. Page | 18 NewYear Theme NewYear
  • 19. © 2013 Magento, Inc. Page | 19 Blank Theme Structure Modularized CSS: • Upgradability Magento 2 compiles CSS itself • Performance • Maintenance • No tools required • Anyone can edit styles quickly • LESS Source and CSS is always synchronized
  • 20. © 2013 Magento, Inc. Page | 20 NewYear Theme: Image fallback
  • 21. © 2013 Magento, Inc. Page | 21© 2013 Magento, Inc. Page | 21 4 How to Work with XML Layout
  • 22. © 2013 Magento, Inc. Page | 22 What is Layout? • Behavior of containers is predictable • A wireframe of a page can be represented by bare containers • With containers, there is no point to having nested elements in blocks
  • 23. © 2013 Magento, Inc. Page | 23 Layout Extend Theme/view/frontend/layout
  • 24. © 2013 Magento, Inc. Page | 24 Layout Extend
  • 25. © 2013 Magento, Inc. Page | 25 Layout Override
  • 26. © 2013 Magento, Inc. Page | 26 Layout Override
  • 27. © 2013 Magento, Inc. Page | 27© 2013 Magento, Inc. Page | 27 5 How to Work with Templates
  • 28. © 2013 Magento, Inc. Page | 28 Template Override
  • 29. © 2013 Magento, Inc. Page | 29 Template Override
  • 30. © 2013 Magento, Inc. Page | 30 Layout Extend Theme/view/frontend/layout
  • 31. © 2013 Magento, Inc. Page | 31© 2013 Magento, Inc. Page | 31 6 Q&A
  • 32. © 2013 Magento, Inc. Page | 32© 2013 Magento, Inc. Page | 32 7 Thank you!