how to be an html5 mobile cloud champion

75
MOBILE CLOUD CHAMPION Chris Love Chief Mobility Officer Tellago Inc. ProfessionalAspNet.com @ChrisLove

Upload: chris-love

Post on 11-May-2015

875 views

Category:

Technology


1 download

DESCRIPTION

This is a 'best of' my mobile web, html5, mobility talks from the year.

TRANSCRIPT

Page 1: How To Be an HTML5 Mobile Cloud Champion

MOBILE CLOUD CHAMPION

Chris LoveChief Mobility OfficerTellago Inc.ProfessionalAspNet.com@ChrisLove

Page 2: How To Be an HTML5 Mobile Cloud Champion

TELLAGO

Page 3: How To Be an HTML5 Mobile Cloud Champion

MOESION Tellago Studios Team Development Mobile First

Moesion.com

Page 4: How To Be an HTML5 Mobile Cloud Champion

BOOKS

Coming Soon…

Page 5: How To Be an HTML5 Mobile Cloud Champion

REFERENCES Mobile Web Books

Programming the Mobile Web http://amzn.to/bZMOch Mobile Web Development http://amzn.to/9cvDoE Mobile Design and Development http://amzn.to/hh8cPd Beginning iPhone & iPad Web Apps http://amzn.to/tHAAOL

Page 6: How To Be an HTML5 Mobile Cloud Champion

I Y MOBILE WEB

I Can Be A Little Dogmatic

I Practice What I Preach

I Focus on User First

I Acknowledge Native is the Current

Darling

My Content Crosses Boundaries

Page 7: How To Be an HTML5 Mobile Cloud Champion

What Do Users Want?

Page 8: How To Be an HTML5 Mobile Cloud Champion

WHAT DO USERS HAVE

Mobile Devices Are Prevalent Around the

World

SmartPhones/Devices Becoming

Common

Mobile Data Plans (3/4G)

HTML 5 Is Here, Embrace It ;)

Page 9: How To Be an HTML5 Mobile Cloud Champion

RECENT PHONE DISTRIBUTIONS

http://bit.ly/vqrBeI

Page 10: How To Be an HTML5 Mobile Cloud Champion

MILLIONS!!!!

Page 11: How To Be an HTML5 Mobile Cloud Champion

RECENT PHONE DISTRIBUTIONS

Page 12: How To Be an HTML5 Mobile Cloud Champion

DATA PLAN CONSUMPTION

Page 13: How To Be an HTML5 Mobile Cloud Champion

http://mashable.com/2010/11/08/u-s-mobile-data-traffic-exabyte/

Page 14: How To Be an HTML5 Mobile Cloud Champion

NATIVE V MOBILE WEB

Slightly More Access via Browser than App 36.4% v 34.4% http://bit.ly/h2XZ9F

Facebook & Twitter’s Top Mobile Clients are

their Mobile Web Sites http://bit.ly/myOSYc http://bit.ly/9FD6D9

Page 15: How To Be an HTML5 Mobile Cloud Champion

USER EXPECTATIONS

Page 16: How To Be an HTML5 Mobile Cloud Champion

“As handsets change, so do mobile consumption and usage patterns. Voice is becoming less relevant, and carriers and their marketing and content partners have transitioned to a focus on data.”

FinChannel.com

http://www.finchannel.com/index.php?option=com_content&task=view&id=70574&Itemid=99999999

Page 17: How To Be an HTML5 Mobile Cloud Champion

“Among U.S. mobile phone users, in May 2010 65.2 percent sent a text message to another phone, 31.9 percent used their phone’s browser, 30 percent used/downloaded applications, 22.5 percent played mobile games and 20.8 percent accessed a social networking site or blog.”

MobileMarketer.com

http://www.mobilemarketer.com/cms/news/research/7342.html

Page 18: How To Be an HTML5 Mobile Cloud Champion

“The key thing for marketers is the combination of larger screens and the touch Web really shouldn’t be underestimated,” Mr. Elkin said. “There are much higher interaction rates for the Web and apps among smartphone owners, and on a bigger canvas we expect those deltas to go even higher.”

MobileMarketer.com

http://www.mobilemarketer.com/cms/news/research/7342.html

DON’T FORGET TABLETS

Page 19: How To Be an HTML5 Mobile Cloud Champion

UNDERSTAND THE LANDSCAPE

Several Browsers Opera, Safari, IE, FireFox, many others you

never heard of Proxy Browsers

Opera Mini

Page 20: How To Be an HTML5 Mobile Cloud Champion

OPERA“Opera Mobile has been installed on 125

million smartphones since 2004” Programming the Mobile Web

Page 21: How To Be an HTML5 Mobile Cloud Champion

WINDOWS PHONE 7 IE 9 Like Desktop

Supports Basic HTML5, CSS3, Canvas, Media Tag Stuff

GPU Speed Does Not Support Touch Does Not Support Input Types

http://bit.ly/ij3RAj http://bit.ly/kYOZ5W

Page 22: How To Be an HTML5 Mobile Cloud Champion

GRADING BROWSERS

http://haz.iohttp://html5test.com

Assume Modern Smart Phones

Most Are Webkit & Support Most HTML5 Features

Confidently Assume No Feature Phones

Page 23: How To Be an HTML5 Mobile Cloud Champion

What Choices Do We Have?

Page 24: How To Be an HTML5 Mobile Cloud Champion

YOU KNOW .NET OR A WEB DEVELOPER

Feeling Out of Place? iOS Native Applications Require Objective-C & a Mac

Android Uses Java WP Does Silverlight

Page 25: How To Be an HTML5 Mobile Cloud Champion

WHY CARE? Reach Large

Consumer Market Consumer

Engagement Online Commerce

Personal Devices in the Enterprise Line of Business

Page 26: How To Be an HTML5 Mobile Cloud Champion

OPTIONS True Native

Development MonoTouch &

MonoDroid Hybrid Applications HTML5 Web

Applications

Page 27: How To Be an HTML5 Mobile Cloud Champion

GOOD ARCHITECTURE

Phones, Tablets & Desktop

Service/BLL/DAL

Page 28: How To Be an HTML5 Mobile Cloud Champion

How To Design

Modern UX?

Page 29: How To Be an HTML5 Mobile Cloud Champion

MOBILE FIRST“designing for mobile first not only prepares you for the explosive growth and new opportunities on the mobile internet, it forces you to focus and enables you to innovate in ways you previously couldn’t.”

Luke Wroblewski

Page 30: How To Be an HTML5 Mobile Cloud Champion
Page 31: How To Be an HTML5 Mobile Cloud Champion

MOBILE FIRST

7342156

Page 32: How To Be an HTML5 Mobile Cloud Champion

DETERMINE CONTENT Define Use Cases

Order Cases by Most Frequent for Mobile

Make Cases Successful within 3 clicks

Always Offer Link to Desktop Site

Determine if User Location Matters

Page 33: How To Be an HTML5 Mobile Cloud Champion

DETERMINE CONTENT

http://bit.ly/aD1dr3

Page 34: How To Be an HTML5 Mobile Cloud Champion

CONTEXT Where Is The User Why are They on Your Site What are they looking for What can you offer for

mobile user to solve problem

Where will the user be accessing the site

Page 35: How To Be an HTML5 Mobile Cloud Champion

Let’s Talk a Little Code

Now

Page 36: How To Be an HTML5 Mobile Cloud Champion

META TAGS <meta name="description" content=""> <meta name="author" content=""> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="apple-touch-icon" href="@Url.Content("~/apple-touch-icon.png")"/> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="@Url.Content("~/img/h/apple-touch-icon.png")"> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="@Url.Content("~/img/m/apple-touch-icon.png")"> <link rel="apple-touch-icon-precomposed" href="@Url.Content("~/img/l/apple-touch-icon-precomposed.png")"> <link rel="shortcut icon" href="@Url.Content("~/img/l/apple-touch-icon.png")"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="apple-touch-startup-image" href="@Url.Content("~img/l/splash.png”)">

Page 37: How To Be an HTML5 Mobile Cloud Champion

HTML5 BOILERPLATE

http://html5boilerplate.comhttp://html5boilerplate.com/mobile/

Page 38: How To Be an HTML5 Mobile Cloud Champion

TOUCH ICONS Allows You to Set the

Home Screen Icon Comparable to

favicon Apple Convention Supported on Most

Android Platforms

Page 39: How To Be an HTML5 Mobile Cloud Champion

ADD TO HOME SCREEN

Prompts the User to Add The App To the iOS Home Screen

http://bit.ly/fi1wqp

Page 40: How To Be an HTML5 Mobile Cloud Champion

APPLE-MOBILE-WEB-APP-CAPABLE

Allows You To Hide Mobile Safari Chrome

Gives You Native App-Like Experience iOS Only At This Point Does use a Different JS Engine Than

Safari

http://bit.ly/ilKFKT

Page 41: How To Be an HTML5 Mobile Cloud Champion

APPLE-MOBILE-WEB-APP-STATUS-BAR-STYLE Allows You to Hide

Status Bar @ The Top of The Screen or Set The Color.

<meta name="apple-mobile-web-app-status-bar-style" content="black">

http://bit.ly/9Mgv0y

Page 42: How To Be an HTML5 Mobile Cloud Champion

UNDERSTAND THE VIEWPORT Viewable Area on

Device May actually be very

wide iPhone is actually

980pixels wide Internet Explorer Assumes

1024 pixels wide

http://bit.ly/e18svU

Page 43: How To Be an HTML5 Mobile Cloud Champion
Page 44: How To Be an HTML5 Mobile Cloud Champion
Page 45: How To Be an HTML5 Mobile Cloud Champion

SET THE VIEWPORT•MetaTag• Width• Height• Initial-scale• User-scalable• Minimum-scale• Maximum-scale

<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"/>

http://tinyurl.com/wp7viewport

Page 46: How To Be an HTML5 Mobile Cloud Champion

LEVERAGE HTML5 Semantics CSS3 is AWESOMIER New Form Input Types Help New Form Input Attributes

Really Help Offline Storage Media Hardware Access

Page 47: How To Be an HTML5 Mobile Cloud Champion

INPUT TYPES HTML5 Adds Many New Input Types and

Attributes Telephone, Number, URL, E-Mail, etc autocapitalize, autocomplete,

placeholder, required…

Page 48: How To Be an HTML5 Mobile Cloud Champion

INPUT TYPES

Page 49: How To Be an HTML5 Mobile Cloud Champion

UNDERSTAND CSS3 Animations Gradients Transforms Shadows Rounded Corners Media Queries So Much More!!

Page 50: How To Be an HTML5 Mobile Cloud Champion

TRANSITIONS 2D Transformations Shadows. Rounded Corners Etc 3D Keyframe Animations! CSS3 Animations w/jQuery Fallbacks

http://bit.ly/oBDnko

Page 51: How To Be an HTML5 Mobile Cloud Champion

ANIMATIONS Add Motion, Life & Personality Make It Clear Where to Focus Purposeful Provide Confidence Reinforce the Way The System Works

Page 52: How To Be an HTML5 Mobile Cloud Champion

SINGLE PAGE SITES Use AJAX to Transition Between Content Use HashTags to Track State jQuery BBQ plugin

http://bit.ly/abippr History.js

http://bit.ly/d6razs Allows Transition Effects jQuery Mobile, jqTouch & Sencha

Leverage

Page 53: How To Be an HTML5 Mobile Cloud Champion

TOUCH EVENTS

touchStart

touchEnd

touchMove

touchEnter

touchLeave

touchCance

l

http://tinyurl.com/webtch

Page 54: How To Be an HTML5 Mobile Cloud Champion

TOUCH CONSIDERATIONS Fingers Are Fat 20px Spacing Primary Items Min 40px W &H Provide Quick Feedback of Touched

Item Include Auto-Clear Feature for Text

Inputs

Page 55: How To Be an HTML5 Mobile Cloud Champion
Page 56: How To Be an HTML5 Mobile Cloud Champion

TOUCH FIRST LAYOUTRecommended size

7x7mm

Optimized for accuracy9x9mm

Optimized for small size5x5mm

Each target has 2mm padding

touch target

padding

Page 57: How To Be an HTML5 Mobile Cloud Champion
Page 58: How To Be an HTML5 Mobile Cloud Champion

HOW TARGET SIZE RELATES TO ERROR RATES

Page 59: How To Be an HTML5 Mobile Cloud Champion
Page 60: How To Be an HTML5 Mobile Cloud Champion

WINDOWS 8 TOUCH

Page 61: How To Be an HTML5 Mobile Cloud Champion

RETHINK LAYOUT

Page 62: How To Be an HTML5 Mobile Cloud Champion

TOUCH

Page 63: How To Be an HTML5 Mobile Cloud Champion

Enterprise Mobility

Page 64: How To Be an HTML5 Mobile Cloud Champion

ENTERPRISE MOBILITY IS HOT

Page 65: How To Be an HTML5 Mobile Cloud Champion

AND OBVIOUS

Page 66: How To Be an HTML5 Mobile Cloud Champion

ENTERPRISE MOBILITY ???

How Do I Manage

Devices?

And Data?

And Provision Apps?

What About Identity &

Security?

Page 67: How To Be an HTML5 Mobile Cloud Champion

THESE GUYS

Page 68: How To Be an HTML5 Mobile Cloud Champion

TRADITIONAL SOLUTION

Mobile Enterprise Server

Apps

MDM

Identity

Data

Provisioning

LOB App

LOB App

LOB App

Corporate Network

Tracking

Page 69: How To Be an HTML5 Mobile Cloud Champion

CONSUMERIZATION OF IT

Page 70: How To Be an HTML5 Mobile Cloud Champion

GOOD LUCK WITH APPLE’S APPROVAL PROCESS

Page 71: How To Be an HTML5 Mobile Cloud Champion

LET THE CLOUD DRIVE US

Page 72: How To Be an HTML5 Mobile Cloud Champion

CLOUD BASED ENTERPRISE MOBILITY PLATFORM

Mobile Enterprise Service

Apps

MDM

Identity

Data

Monitoring

LOB AppLOB AppLOB App

Corporate Network

Provisioning

Page 73: How To Be an HTML5 Mobile Cloud Champion

ADVANTAGES Simple

Global

Multi-Tenant

Elastic

Easy To Manage

HTML5 Friendly

Scalable

3rd Party Tools

Cloud Services

Page 74: How To Be an HTML5 Mobile Cloud Champion

INFRASTRUCTURE AS A SERVICE

Page 75: How To Be an HTML5 Mobile Cloud Champion