24

Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl
Page 2: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

•  Magento

•  Responsive Theme vs Mobile Theme

•  Creating a Responsive Theme

•  Creating a Mobile Theme

Page 3: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

First, A Story

Page 4: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE VS MOBILE WEB SITES

Responsive •  Same theme (HTML, PHP) •  Fluid layout - based on % not px •  Use media queries to apply different CSS for different sizes

Mobile •  Separate theme created specifically for devices •  Create new theme with HTML5 •  Magento theme structure and inheritance supports reuse

Page 5: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE 75% more than just

a desktop theme

MOBILE 75% of the time it took

create a desktop theme

BUT HOW MUCH TIME ($) DO THEY COST

Page 6: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

WHICH IS BETTER? IT DEPENDS

Page 7: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

EXAMPLES

www.scosche.com -  Sell mobile accessories -  Optimizing for mobile devices to purchase is key -  iPad conversion +60%, mobile phones +40%

Page 8: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

EXAMPLES

www.citywinery.com -  Working Winery, Restaurant and Music Events -  Customers mostly come from desktop -  Too Much Content -  Mobile should focus on what users need on the go

-  Less phone calls -> Happier Customers

Page 9: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE TECHNOLOGIES

•  Twitter Bootstrap •  Foundation •  GetSkeleton •  Media Queries

Page 10: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE STRATEGIES

From Brad Frost •  Responsive Retrofitting (desktop first) •  Responsive Mobile Sites •  Mobile-First Responsive Design •  Piecemeal

http://bradfrostweb.com/

Page 11: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE EXAMPLE

Add Twitter Bootstrap to your Theme

Download bootstrap from http://twitter.github.io/bootstrap/getting-started.html

Page 12: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE EXAMPLE

Create a local.xml file in skin/frontend/default/responsive/layout

Page 13: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE EXAMPLE

Modify Templates to add the Bootstrap grid classes

skin/frontend/default/responsive/template/2columns-left.phtml

Page 14: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE EXAMPLE

Continue to modify the CSS and add styles for different screen widths using media queries

Page 15: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

RESPONSIVE EXAMPLE

Page 16: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

B-RESPONSIVE

https://github.com/redlightblinking/b-responsive

JOIN US!

Page 17: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

MOBILE

•  HTML5/CSS3

•  jQuery Mobile

•  Magento iPhone Theme

Page 18: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

MOBILE EXAMPLE

Using Magento Design Exception to serve the mobile theme for mobile user agents iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|mobi|Windows Mobile|Android|Opera

Mini!

Page 19: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

MOBILE THEME

Page 20: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

HAMBURGER MENU

Page 21: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

A NOTE ABOUT PERFORMANCE

DON’T DO STUPID THINGS

•  IE DOES NOT NEED TO BE RESPONISVE

•  REMOVE BLOCKS, DON’T JUST HIDE THEM

•  REMOVE ASSETS (css, js, images, etc..)

Page 22: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

TOOLS

User Agent Switcher -  Firefox Addon Firefox -> Web Developer -> Responsive Design View •  Simulate touch events Web Developers Toolbar

Page 23: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

TESTING ON MULTIPLE DEVICES

WWW.BROWSERSTACK.COM

Page 24: Responsive Vs Mobile Development in Magento - Kimberly Thomas - @MagentoGirl

THANK YOU!!!

Kimberely Thomas www.twitter.com/magentogirl

www.redlightblinking.com