web or native? smart choices for smartphone apps

110
HELLO. Thursday, 13 October 11

Upload: icelab

Post on 06-May-2015

1.393 views

Category:

Technology


1 download

DESCRIPTION

Slides from a talk by Tim Riley and Michael Honey at Web Directions South, October 13 2011. We answer the question “web or native?” from business, product design and development perspectives. We cover the current state of web technology on modern devices and compare it to what’s available through native development platforms. We look at web, native and hybrid strategies successfully employed by Australian and international businesses, and share our own stories as mobile and web developers. Finally, we offer practical guidance on picking a strategy for web or native development that best suits your needs — as either a developer or a client.

TRANSCRIPT

Page 1: Web or native? Smart choices for smartphone apps

HELLO.

Thursday, 13 October 11

Page 2: Web or native? Smart choices for smartphone apps

WE ARE TIM AND MICHAEL@TIMRILEY

@MICHAELHONEY

Thursday, 13 October 11

Page 3: Web or native? Smart choices for smartphone apps

TWO OF FIVE

Thursday, 13 October 11

Page 4: Web or native? Smart choices for smartphone apps

WE BUILD THINGSSOME OF WHICH ARE GOOD

Thursday, 13 October 11

Page 5: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 6: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 7: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 8: Web or native? Smart choices for smartphone apps

?

Thursday, 13 October 11

Page 9: Web or native? Smart choices for smartphone apps

WATER COFFEE

Thursday, 13 October 11

Page 10: Web or native? Smart choices for smartphone apps

SO: WEB OR NATIVE?TELL ME WHAT TO DO PLEASE

Thursday, 13 October 11

Page 11: Web or native? Smart choices for smartphone apps

IT DEPENDS.YOU KIND OF KNEW THAT ALREADY

Thursday, 13 October 11

Page 12: Web or native? Smart choices for smartphone apps

WEB FOR CONTENT

Thursday, 13 October 11

Page 13: Web or native? Smart choices for smartphone apps

WEB FOR FAMILIARITY

Thursday, 13 October 11

Page 14: Web or native? Smart choices for smartphone apps

WEB FOR UPDATES

Thursday, 13 October 11

Page 15: Web or native? Smart choices for smartphone apps

WEB FOR ACCESSIBILITY

Thursday, 13 October 11

Page 16: Web or native? Smart choices for smartphone apps

NATIVE FOR INTERFACE

Thursday, 13 October 11

Page 17: Web or native? Smart choices for smartphone apps

NATIVE FOR PERFORMANCE

Thursday, 13 October 11

Page 18: Web or native? Smart choices for smartphone apps

NATIVE FOR THE NEW HOTNESS

Thursday, 13 October 11

Page 19: Web or native? Smart choices for smartphone apps

NATIVE FOR GETTING PAID

Thursday, 13 October 11

Page 20: Web or native? Smart choices for smartphone apps

APP STORES ARE GREAT

Thursday, 13 October 11

Page 21: Web or native? Smart choices for smartphone apps

“Apple’s walled garden is the sleek toyshop that’s already in

your customer’s pocket...”

MATT LEGEND GEMMELLThursday, 13 October 11

Page 22: Web or native? Smart choices for smartphone apps

“I can imagine the Amazon tablet mostly being a fancy, color Kindle... a magical, colorful

window through which you can give money to Amazon.”

JON SIRACUSAThursday, 13 October 11

Page 23: Web or native? Smart choices for smartphone apps

“Android?No-one pays.”

MARCO ARMENTThursday, 13 October 11

Page 24: Web or native? Smart choices for smartphone apps

APP STORES ARE EVIL

Thursday, 13 October 11

Page 25: Web or native? Smart choices for smartphone apps

30%

Thursday, 13 October 11

Page 26: Web or native? Smart choices for smartphone apps

OPAQUE & SLOWAPPROVAL PROCESS

Thursday, 13 October 11

Page 27: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 28: Web or native? Smart choices for smartphone apps

ARBITRARY RULES FOR INCLUSION

Thursday, 13 October 11

Page 29: Web or native? Smart choices for smartphone apps

AMAZON: LOSS OFPRICE CONTROL,

REWRITING DESCRIPTIONS

Thursday, 13 October 11

Page 30: Web or native? Smart choices for smartphone apps

BUT IT’S NOT JUSTONE OR THE OTHER

Thursday, 13 October 11

Page 31: Web or native? Smart choices for smartphone apps

A DEPLOYMENT GRADIENTWEB SITES WEB APPS NATIVE APPS

FUNCTIONALITYPERFORMANCE

DEVICE SPECIFICITY, GOOD AND BADFRAGMENTATION OF EFFORT TO COVER ENTIRE MARKET

Thursday, 13 October 11

Page 32: Web or native? Smart choices for smartphone apps

DO YOU REALLY NEED AN APP?

Thursday, 13 October 11

Page 33: Web or native? Smart choices for smartphone apps

RESPONSIVE WEB DESIGN

Thursday, 13 October 11

Page 34: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 35: Web or native? Smart choices for smartphone apps

@media screen and(max-device-width: 320px) {

/* Target small screens here */}

Thursday, 13 October 11

Page 36: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 37: Web or native? Smart choices for smartphone apps

WEB “APPS”

Thursday, 13 October 11

Page 38: Web or native? Smart choices for smartphone apps

CANVAS, VIDEO & AUDIO, GEOLOCATIONORIENTATION, CSS3 TRANSITIONS

ANIMATION, 2D AND 3D TRANSFORMSHARDWARE ACCELERATION, LOCAL STORAGE

OFFLINE SUPPORT, SVG, HISTORY APITOUCH EVENTS, WEB WORKERS

FAST JAVASCRIPT ENGINES

Thursday, 13 October 11

Page 39: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 40: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 41: Web or native? Smart choices for smartphone apps

THINGINSIDE A THING

Thursday, 13 October 11

Page 42: Web or native? Smart choices for smartphone apps

http://mattgemmell.com/2011/07/22/apps-vs-the-web/Thursday, 13 October 11

Page 43: Web or native? Smart choices for smartphone apps

“ADD TO HOME SCREEN”

Thursday, 13 October 11

Page 44: Web or native? Smart choices for smartphone apps

DOES IT HELP?

Thursday, 13 October 11

Page 45: Web or native? Smart choices for smartphone apps

WRAPPERS

Thursday, 13 October 11

Page 46: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 47: Web or native? Smart choices for smartphone apps

iOSANDROID

WINDOWS 7BLACKBERRY

WEB OSSYMBIAN

Thursday, 13 October 11

Page 48: Web or native? Smart choices for smartphone apps

ACCELEROMETERCAMERA

COMPASSCONTACTS

FILEGEOLOCATION

MEDIANETWORK

NOTIFICATIONSSTORAGE

Thursday, 13 October 11

Page 49: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 50: Web or native? Smart choices for smartphone apps

MOBILE APP & UI HELPERS

Thursday, 13 October 11

Page 51: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 52: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 53: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 54: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 55: Web or native? Smart choices for smartphone apps

AND MANY MOREKENDO UI, JO, THE M PROJECT

JAVASCRIPT FRAMEWORKS

Thursday, 13 October 11

Page 56: Web or native? Smart choices for smartphone apps

BEWARE THE UNCANNY VALLEY

Thursday, 13 October 11

Page 57: Web or native? Smart choices for smartphone apps

UI TRADE-OFFS

Thursday, 13 October 11

Page 58: Web or native? Smart choices for smartphone apps

BESPOKE WRAPPERS

Thursday, 13 October 11

Page 59: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 60: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 61: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 62: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 63: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 64: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 65: Web or native? Smart choices for smartphone apps

BRIDGES

Thursday, 13 October 11

Page 66: Web or native? Smart choices for smartphone apps

DEPENDENCY DANGER

Thursday, 13 October 11

Page 67: Web or native? Smart choices for smartphone apps

NATIVE APPS

Thursday, 13 October 11

Page 68: Web or native? Smart choices for smartphone apps

REAL-LIFE DRAMA

Thursday, 13 October 11

Page 69: Web or native? Smart choices for smartphone apps

DECAF SUCKS

Thursday, 13 October 11

Page 70: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 71: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 72: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 73: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 74: Web or native? Smart choices for smartphone apps

BEFORE AFTER

9.55

3.25

Decaf Sucks reviews per day, 40 days either side of native app release

Thursday, 13 October 11

Page 75: Web or native? Smart choices for smartphone apps

AMAZON KINDLE

Thursday, 13 October 11

Page 76: Web or native? Smart choices for smartphone apps

HARDWARE KINDLE

NATIVE DEVICE APPS

KINDLE CLOUD READER

LATE 2007 EARLY 2010 AUGUST 2011

Thursday, 13 October 11

Page 77: Web or native? Smart choices for smartphone apps

“The feeling at Amazon is that the future is web apps, but that there’s a... trough we have to get through where native apps have a place.”

AMAZON iOS DEVELOPERThursday, 13 October 11

Page 78: Web or native? Smart choices for smartphone apps

BOOKI.SH

Thursday, 13 October 11

Page 79: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 80: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 81: Web or native? Smart choices for smartphone apps

Thursday, 13 October 11

Page 82: Web or native? Smart choices for smartphone apps

“We chose HTML5 for Booki.sh because books are part of the web.”

JOSEPH PEARSONThursday, 13 October 11

Page 83: Web or native? Smart choices for smartphone apps

LINKABLE, SHARABLE

Thursday, 13 October 11

Page 84: Web or native? Smart choices for smartphone apps

SO: WHAT TO DO?

Thursday, 13 October 11

Page 85: Web or native? Smart choices for smartphone apps

IN THE PERFECT WORLD, DO EVERYTHING

SINCE YOU HAVE INFINITE TIME AND MONEY

Thursday, 13 October 11

Page 86: Web or native? Smart choices for smartphone apps

MVP MINIMUM VIABLE

PRODUCTMOST VALUABLE

PRODUCT

MVP

Thursday, 13 October 11

Page 87: Web or native? Smart choices for smartphone apps

EMBRACE AMBIGUITYTHERE ARE NO EASY CHOICES.

BUT HERE ARE SOME THINGS TO CONSIDER:

Thursday, 13 October 11

Page 88: Web or native? Smart choices for smartphone apps

WHO’S IMPORTANT?

Thursday, 13 October 11

Page 89: Web or native? Smart choices for smartphone apps

THOSE WHO BUILD ITI’M {AFRAID OF / EXCITED BY} NEW THINGS

I WANT IT TO BE EASY TO BUILDI HAVE A PHILOSOPHICAL/AESTHETIC OBJECTION

I’D LIKE TO GET PAID TO LEARN THISI WANT TO USE THE NEW HOTNESS

I WANT TO IMPRESS MY PEERS

Thursday, 13 October 11

Page 90: Web or native? Smart choices for smartphone apps

THOSE WHO BUILD ITTHOSE WHO PAY FOR IT

BUILD IT FASTMAKE IT CHEAP

GET RETURN ON INVESTMENTCEO NEEDS AN APP TO SHOW OFF THEIR NEW TOY

Thursday, 13 October 11

Page 91: Web or native? Smart choices for smartphone apps

THOSE WHO USE IT

THOSE WHO BUILD ITTHOSE WHO PAY FOR IT

I JUST WANT IT TO WORK WELL

Thursday, 13 October 11

Page 92: Web or native? Smart choices for smartphone apps

A DEEPER KIND OF FUNCTIONALITY

Thursday, 13 October 11

Page 93: Web or native? Smart choices for smartphone apps

“How can I make it so that every single person, no matter what

device, no matter what browser, can accomplish their task?”

JEREMY KEITH, THE WEB AHEAD # 3Thursday, 13 October 11

Page 94: Web or native? Smart choices for smartphone apps

WHERE ARE YOUR DATA?ON THE WEB? YOU’RE ALREADY DOING IT

Thursday, 13 October 11

Page 95: Web or native? Smart choices for smartphone apps

HOW WILL THIS BE PAID FOR?

Thursday, 13 October 11

Page 96: Web or native? Smart choices for smartphone apps

BUYING THE APPIN-APP PURCHASES

SUBSCRIPTIONSADVERTISING

Thursday, 13 October 11

Page 97: Web or native? Smart choices for smartphone apps

FIVE FACTS:

Thursday, 13 October 11

Page 98: Web or native? Smart choices for smartphone apps

1. INNOVATION CREATES FRAGMENTATION

Thursday, 13 October 11

Page 99: Web or native? Smart choices for smartphone apps

2. FACTS HAVE HALF-LIVES

Thursday, 13 October 11

Page 100: Web or native? Smart choices for smartphone apps

HP RELEASES TOUCHPADHP DROPS TOUCHPAD

GOOGLE BUYS MOTOROLARIM STOCK HITS FIVE YEAR LOW

NOKIA SHIPS ABANDONED MEEGO PHONEHP SACKS CEO, REFLOATS TOUCHPADNOKIA ANNOUNCES 2,500 LAYOFFSWINDOWS 8/METRO ANNOUNCEDAMAZON ANNOUNCES KINDLE FIRE

AMAZON ANNOUNCES SILKADOBE BUYS PHONEGAP

FACEBOOK RELEASES CREDITS, DISABLED IN iOSIOS 5 RELEASED, INSTAPAPER STILL IN REVIEWBLACKBERRY MESSAGING INEXPLICABLY FAILS

TOMORROW: IPHONE 4S

(ALL SINCE TIM AND MICHAEL STARTED WRITING THIS TALK)

Thursday, 13 October 11

Page 101: Web or native? Smart choices for smartphone apps

3.PLATFORMS EVAPORATEBUT SOME LAST LONGER THAN OTHERS

Thursday, 13 October 11

Page 102: Web or native? Smart choices for smartphone apps

4. CHOICE OF TECH MATTERSBUT IT’S JUST A SMALL PART OF THE WHOLE STORY

Thursday, 13 October 11

Page 103: Web or native? Smart choices for smartphone apps

HAVE AN IDEADEFINE IT PROPERLY

CONFIRM THAT PEOPLE WANT ITTHINK ABOUT THE DATA STRUCTURES

DESIGN THE INTERACTIONSDESIGN THE INTERFACEWRITE FRONTEND CODE

BUILD THE BACKENDFIND A WAY TO MONETISE IT

BRING IT TO MARKET

Thursday, 13 October 11

Page 104: Web or native? Smart choices for smartphone apps

5. LEARNING A NEW LANGUAGE IS THE EASIEST PART

OF BUILDING A GREAT APP

Thursday, 13 October 11

Page 105: Web or native? Smart choices for smartphone apps

DON’T BE AFRAID OF LEARNING NEW SKILLS

Thursday, 13 October 11

Page 106: Web or native? Smart choices for smartphone apps

(AND YOU’LL HAVETO DO IT ANYWAY)

Thursday, 13 October 11

Page 107: Web or native? Smart choices for smartphone apps

HTML

CSS

JAVASCRIPTACCESSIBILITY

JS FRAMEWORKS

RESPONSIVE DESIGN

PHP/RUBY/WHATEVER

MOBILE DEVICES

RSS

XML

WEB STANDARDS

Thursday, 13 October 11

Page 108: Web or native? Smart choices for smartphone apps

ABANDON DOGMA.BUILD THE BEST THING.

Thursday, 13 October 11

Page 109: Web or native? Smart choices for smartphone apps

WHICH IS WHY WE’RE ALL HERE

Thursday, 13 October 11

Page 110: Web or native? Smart choices for smartphone apps

THANKS.

Thursday, 13 October 11