native is easy. web is essential

100
Native is Native is http://www.flickr.com/photos/raster/5462062551/in/photostream/ Web is Essential.

Upload: jason-grigsby

Post on 17-May-2015

20.818 views

Category:

Technology


1 download

DESCRIPTION

The challenges for mobile web aren't html, javascript or css. It is the legacy of the past decade of web development systems.

TRANSCRIPT

Page 1: Native is easy. Web is essential

Native is Native is

http://www.flickr.com/photos/raster/5462062551/in/photostream/ Web is Essential.

Page 2: Native is easy. Web is essential

Tweets: @grigsSlides: bit.ly/grigs_bdc2011

http://www.flickr.com/photos/31878512@N06/4417969770/

Page 5: Native is easy. Web is essential

Home About Us Services Blog Accolades Contact Us

« Mobile operating systems and browsersare headed in opposite directions

More on CSS Media Queries for Mobile »

Search

SubscribeRSS Feeds

All posts

All comments

Enter your email address:

Subscribe

Delivered by FeedBurner

April 2011

M T W T F S S

1 2 3

4 5 6 7 8 9 10

Expert Web and Mobiledesign, development and strategy

Cloud Four Blog

CSS Media Query for Mobile is Fool’s GoldAugust 3rd, 2010 by Jason Grigsby

Ethan Marcotte’s article Responsive Web Design has caught the imagination of webdevelopers. Several subsequent articles have touted the CSS media query feature asa way to build mobile-optimized web sites.

Even I’m guilty of contributing to this meme with my article on CSS orientation.

Page 6: Native is easy. Web is essential

!e way in which CSS media queries have been promoted for mobile hides tough problems and gives developers a false promise of a simple solution for designing for multiple screens.

Page 7: Native is easy. Web is essential

_Nathan_W_Nathan Wall

© 2011 Twitter About Us Contact Blog Status Resources API Business Help Jobs Terms Privacy

Login Join Twitter!

@wiifm palm. forehead. one of thesedays this shit will get easy. that cloudfour article is depressing.3:22 PM Mar 19th via web in reply to wiifm

Page 9: Native is easy. Web is essential
Page 10: Native is easy. Web is essential

http://www.flickr.com/photos/kjgarbutt/5586656028/

Reasons WhyNative is Easier

Page 11: Native is easy. Web is essential

1. Native is Easier to Sell

http://www.flickr.com/photos/vegaseddie/2668299674/

Page 12: Native is easy. Web is essential

Get a lot of email from this guy...http://www.flickr.com/photos/corbett3000/2327165138/in/set-72157604094629546/

Page 13: Native is easy. Web is essential

HTML5 apps

Right now nobody’s interested in a mobile solution that does notcontain the words “iPhone” and “app” and that is not submitted toa closed environment where it competes with approximately 2,437similar mobile solutions.

Compared to the current crop of mobile clients and developers, lemmingsmarching off a cliff follow a solid, sensible strategy. Startling them out of thisobsession requires nothing short of a new buzzword.

Therefore I’d like to re-brand standards-based mobile websites andapplications, definitely including W3C Widgets, as “HTML5 apps.” Peopleoutside our little technical circle are already aware of the existence ofHTML5, and I don’t think it needs much of an effort to elevate it to fullbuzzwordiness.

Technically, HTML5 apps would encompass all websites as well as all themyriads of (usually locally installed) web-standards-based applicationsystems on mobile. The guiding principle would be to write and maintain onesingle core application that uses web standards, as well as a mechanism thatdeploys that core application across a wide range of platforms.

What are HTML5 apps?

HTML5 apps

1. have one single core application;

2. are written with web standards, primarily HTML, CSS, and JavaScript;

3. and are deployed on more than one mobile platform.

Written on 8 March 2010

Categorized in HTML5, HTML5 apps

Previous entry: Fronteers 2010

Next entry: The payment argument isnonsense

This is the blog of Peter-Paul Koch, mobileplatform strategist, consultant, and trainer.You can also follow him on Twitter.

Atom RSS

Categories:

Homepage

Archives (1)

Browsers (7)

Coding techniques (14)

Conferences (80)

Content (51)

HTML5 (6)

Linkbait (1)

Mobile (23)

Site (23)

Theory (18)

show page contentsshow site navigation

Mobilism 2011, 12th and 13th of May, Amsterdam

Compatibility

QuirksBlog

Mobile

About

sitemap contact

Search QuirksMode.org Search

Page last changed 3 months ago

Page 14: Native is easy. Web is essential

asymcoHorace Dediu

© 2011 Twitter About Us Contact Blog Status Resources API Business Help Jobs Terms Privacy

Login Join Twitter!

Impressed that the Web finds itnecessary to "fight back againstFlipboard" http://bit.ly/dZqxf97:13 AM Feb 27th via bitlyRetweeted by 8 people

Page 15: Native is easy. Web is essential

NativeSellsItself

Page 17: Native is easy. Web is essential

Email Gallery Free Email Templates Email Marketing Companies Submit

Advertise Here Advertise Here

Column Type of Email Type of Business Color POPULARITY RESET

Hyundai USA Newsletter 3 Alertful Newsletter 2 Divine Chocolate Newsletter 2

Does your company send email to customers?

http://www.email-gallery.com

Page 18: Native is easy. Web is essential

Does your company participate in social media?

http://www.flickr.com/photos/intersectionconsulting/5177773774/

Page 19: Native is easy. Web is essential

Links don’t open apps

http://www.flickr.com/photos/mattimattila/4001221570/

Page 20: Native is easy. Web is essential

The ‘U’ in URL stands for Universal*

* it actually stands for ‘uniform.’ close enough ;-) http://www.flickr.com/photos/laughingsquid/255852260/sizes/o/

Page 21: Native is easy. Web is essential

2. Native is Easier to Design For

Page 22: Native is easy. Web is essential

foursquarefriends check-in feed

FacebookActivity Feed

Twitter for iphonerecent tweets feed

Activity Feeds

Check-in Screens

Comment Detail

Dashboard Navigation

Edu Walk Throughs

Empty Data Sets

Lists

Notifications

Settings

Sign Up Flows

Splash Screens

UI that I Heart

User Profiles

Venue Detail

Mobile UI Patterns

© 2011 — Mari Sheibley

http://mobile-patterns.com

Page 23: Native is easy. Web is essential

Android or iPhone Conventions?

Page 24: Native is easy. Web is essential
Page 25: Native is easy. Web is essential

What is the uniquely mobile web experience?

Page 26: Native is easy. Web is essential
Page 27: Native is easy. Web is essential

3. Native is Easier to Test

Page 28: Native is easy. Web is essential

From the beginning, we have wanted to make Angry Birds available for every feasible Android device... We tested the game extensively on a large number of devices, and gathered all the feedback we received from our beta testing to address every possible issue.

So far, we have hesitated to create multiple versions of Angry Birds for the Android platform. But judging by the feedback we have received, we feel that by providing a lightweight solution, we are doing a favour for our fans.

http://www.rovio.com/index.php?mact=Blogs,cntnt01,showentry,0&cntnt01entryid=47&cntnt01returnid=58

Even Most Successful Developers Facethe Challenge of Testing on Enough Devices

Page 29: Native is easy. Web is essential

Mobile web developers face:

OS fragmentation

Webkit fragmentation

Browser fragmentation

Inconsistent standards support

Carrier transcoding and other issues

Thousands of devices

Page 30: Native is easy. Web is essential

ARTICLES TOPICS ABOUT CONTACT CONTRIBUTE FEED

D E C E M B E R 14, 2010

Smartphone Browser Landscapeby P E T E R - P A U L K O C H

Published in: User Interface Design, Mobile, Mobile Design, Mobile Development

Discuss this article » | Share this article »

Users expect websites to work on their mobile phones. In two to three years, mobile support

will become standard for any site. Web developers must add mobile web development to their

skill set or risk losing clients.

How do you make websites mobile compatible? The answer is obvious: By testing them on all

mobile phones, and by solving the problems you encounter. But, that’s a useless answer. It’s

impossible to test your designs on every mobile phone out there. Within the mobile phone

landscape, there are at least ten operating systems (OSs) and fifteen browsers that require

consideration. Mobile devices are expensive, and not every web developer can afford to buy

five to ten of them. Testing “on all mobile phones” is impossible for most web developers.

In this article, I’ll give you an overview of the mobile web market, as well as phone platforms

and their browsers, so that you can decide which mobile devices to test on. Then, we’ll look at

how to set up a mobile test bed.

Search ALA

include discussions

TopicsCode

Content

Culture

Design

Mobile

Process

User Science

SnapshotMost web designers and

developers (not to

mention the entire

blogosphere) fall

squarely in the high-end

market. A cultural bias

exists against OSs aimed

at any other market. As

a result, most people

focus on the struggle

between iOS and

Android, and ignore the

rest. This has to change.

Stay in better touch withcustomers with

No.

320

Page 31: Native is easy. Web is essential

“Testing on as many devices as possible is a great idea in theory, but in practice it is untenable. Even if we buy a few devices to try to cover more ground, they will be outdated in just a few months or a year at most. So are we supposed to buy multiple devices per year?”posted at 11:32 am on December 14, 2010 by klayon

“If that’s the mobile landscape, I want no part of it.”posted at 07:22 am on December 15, 2010 by Polsonby

http://www.alistapart.com/comments/smartphone-browser-landscape/

Page 32: Native is easy. Web is essential

Mobile Portland Community Device Lab

• Dedicated location within mobile community in central, downtown Portland.

• Adjacent event space to be used for hosting Mobile Portland events and other user groups. Also available for developer training sessions.

• Free and open to anyone. Run as a non-profit.

• Located in 25,000 sq. ft. building leased by VC-funded mobile start up Urban Airship

• Other tenants in building include mobile developers Cloud Four, Uncorked Studios and Bank Simple.

• We’re creating a central hub for mobile activity in the Portland area. The building is already becoming a magnet for mobile developers.

Building Lobby

Device Lab Glass Office

Page 33: Native is easy. Web is essential

4. Native is Easier to Build

http://www.flickr.com/photos/dunechaser/134672123/

Page 34: Native is easy. Web is essential

http://www.flickr.com/photos/mattcarman/1573507091/

We often compare checklists of technical features.

Page 36: Native is easy. Web is essential
Page 37: Native is easy. Web is essential
Page 38: Native is easy. Web is essential

http://mobiforge.com/designing/story/effective-design-multiple-screen-sizes

Mobile Progressive Enhancement

[content]

Thanks Bryan and Stephanie

Page 39: Native is easy. Web is essential

http://mobiforge.com/designing/story/effective-design-multiple-screen-sizes

Mobile Progressive Enhancement

[content]

Device Detection

Thanks Bryan and Stephanie

Page 40: Native is easy. Web is essential

http://mobiforge.com/designing/story/effective-design-multiple-screen-sizes

Mobile Progressive Enhancement

[content]

Device Detection

Thanks Bryan and Stephanie

Page 41: Native is easy. Web is essential

http://mobiforge.com/designing/story/effective-design-multiple-screen-sizes

Mobile Progressive Enhancement

[content]

Device Detection Phone GapAdd Functionality

Thanks Bryan and Stephanie

Page 42: Native is easy. Web is essential

http://mobiforge.com/designing/story/effective-design-multiple-screen-sizes

Mobile Progressive Enhancement

[content]

Device Detection Phone GapAdd Functionality

Thanks Bryan and Stephanie

Page 43: Native is easy. Web is essential

http://www.flickr.com/photos/nickwheeleroz/2391631937/in/photostream/

Many Sites are Chaos Behind the Scenes

Page 44: Native is easy. Web is essential

http://www.flickr.com/photos/ionan/103646126/

Multiple Systems Taped Together

Page 45: Native is easy. Web is essential

Our existing systems are anchors holding us back.

http://www.flickr.com/photos/caffeinehit/186362735/

Page 46: Native is easy. Web is essential

Native Developers Start from a Clean Slate

http://www.flickr.com/photos/salendron/5569020488/

Page 47: Native is easy. Web is essential

What about RWD?

http://www.flickr.com/photos/londonannie/4904832807/

Page 48: Native is easy. Web is essential

Original Resized K Saved % Saved

Holmes 34.7K 8.1K 26.6K 76.6%

Watson 39.0K 8.4K 30.6K 78.4%

Mycroft 30.5K 6.7K 23.8K 78.0%

Moriarty 43.4K 8.2K 35.2K 81.1%

Adler 26.0K 6.6K 19.4K 74.6%

Winter 34.7K 7.8K 26.9K 77.5%

Total 208.3K 45.8K 162.5K 78.0%

Media Queries Hide Problems

Page 49: Native is easy. Web is essential

Why the Sudden Interestin Speed?

Same problems on desktop.

Page 50: Native is easy. Web is essential

Why the Sudden Interestin Speed?

Same problems on desktop.

EXACTLY.

Page 51: Native is easy. Web is essential

We’ve remade the Internet in our image.

Page 52: Native is easy. Web is essential

Obese

Page 53: Native is easy. Web is essential

We’ve Become Bandwidth Gluttons

Since 2003:

• Web Page Size Tripled• # of Objects Doubled

Since 1995:

• Web Page Size: 22x• # of Objects: 21x

Source: http://www.websiteoptimization.com/speed/tweak/average-web-page/

Page 54: Native is easy. Web is essential

Yes, given more time, we would address some issues on the back-end to keep large images from downloading for mobile users in the "rst place, but our site is fairly lightweight to begin with, so it wasn’t really worth the time it would take to mess around with that stuff. We may revisit the issue in the future, however.

Also, just to play devil’s advocate, Jeremy Keith pointed out that it’s a bad assumption that mobile devices always have limited bandwidth and desktops always have plenty.

Page 55: Native is easy. Web is essential

!at site took 53.8 seconds to download over WiFi on an iPhone 4.

Page 56: Native is easy. Web is essential

17% will wait no longer than 5 seconds for a site to load

http://www.gomez.com/wp-content/downloads/GomezWebSpeedSurvey.pdf

Page 57: Native is easy. Web is essential

Can we simply agree that:

On average mobile is slower than desktop?

Page 59: Native is easy. Web is essential

RESPONSIVE WEB DESIGN

Mobile First

Page 60: Native is easy. Web is essential

Where are the mobile "rst responsive web designs?

Page 61: Native is easy. Web is essential

9%

4%

21%

38%

4%

25%

Comparison of Mobile & Desktop RWD Views

Mobile is Larger Same SizeLess than 10% Savings 11 to 50% Savings51% to 100% Savings Greater than 100% Savings

There are four good examples of mobile first RWD. Total.

Page 62: Native is easy. Web is essential

How do we handle img tag src?

How to handle embedded video?

How do we eliminate unnecessary assets?

How can we be smart about image and video resizing and converting?

How do we integrate with content management systems?

Mobile First RWD is Difficult

Page 63: Native is easy. Web is essential

Enjoy our blog?You'll love our book.

For info and pre-order:

Visit the book site

Subscribe to our Lab

Atom

RSS 2.0

Recent Articles

Corresponding on Responsive Design

Building with jQuery Mobile: Slides froma talk by Todd Parker and Scott Jehl

Respond.js: Fast CSS3 Media Queriesfor Internet Explorer 6-8 and more

Responsive Images: Experimenting withContext-Aware Image Sizing

Dingbat Webfonts: Great potential, butwe see (and hear) accessibility issues

jQuery Custom File Upload Input: fromthe book Designing with ProgressiveEnhancement

Slides from Voices That Matter:Optimizing for the Mobile Web, ScottJehl

Slides from Voices That Matter:Designing with Progressive

What we do What we've done What we're thinking Who we are

Posted by Scott on 12/14/2010

Responsive Images: Experimenting with Context-Aware Image Sizing

Topics: javascript mobile progressive enhancement usability

Responsive Web Design has been avery hot topic this year, inspiringdevelopers who long for a “one

codebase serves all” future. Butcritics of the technique have pointedout several issues that need to beaddressed before it can scaleperfectly from handheld to desktop— specifically, while HTML, CSSand JavaScript can be light enoughto share across all experiences, desktop-optimized images are often tooheavy for mobile connections, and mobile-optimized images are too lowquality for desktop viewers.

Recently, we began work on a large-scale responsive design(collaborating with the incredibly talented Mr. Ethan Marcotte, who

notably got this whole "responsive" party started), in which we've set outto address this shortcoming of responsive design with a technique thatrequests an appropriate image size for a given context without resortingto tactics like User Agent sniffing. We feel strongly that these responsivetechniques present a most practical way forward in web development.This post documents our in-progress experiment with "ResponsiveImages."

What is this all about?

The goal of this technique is to deliver optimized, contextual image sizes for responsive

Contact UsContact Us

Page 64: Native is easy. Web is essential

yiibu articles projects search... go

Mobile Web Reference A Practical Guide to NokiaBrowsers

Workshops and Conferences

Are we there yet?This site is a proof of concept for many of the ideas described in Rethinking the Mobile Web. Over the comingmonths, we will release articles covering our approach in detail. In the meantime why not discover how these

ideas came to be and how this site was developed.

This site works beautifully on most modern and legacy smartphones, tablets, and of course desktop browsers. Find out how we did it.

Page 65: Native is easy. Web is essential

by ETHAN MARCOTTE

From mobile browsers to netbooks and tablets, users are visiting yoursites from an increasing array of devices and browsers. Are yourdesigns ready? Learn how to think beyond the desktop and craftbeautiful designs that anticipate and respond to your users’ needs.Ethan Marcotte will explore CSS techniques and design principles,including fluid grids, flexible images, and media queries,demonstrating how you can deliver a quality experience to your usersno matter how large (or small) their display.

This book will be released in Spring 2011.

ABOUT THE AUTHOR

Ethan Marcotte is a web designer & developer whocares deeply about beautiful design, elegant code,and the intersection of the two. Over the years, Ethanhas enjoyed working with such clients as theSundance Film Festival, Stanford University, New York

Magazine, and The Today Show. He swears profusely on Twitter, andwould like to be an unstoppable robot ninja when he grows up. Beep.

RESPONSIVE WEB DESIGN CART

0 items $0.00

View Cart Checkout

HAVE A QUEST ION ?Read our FAQs

FEATURED BOOK

The Elements of ContentStrategy

“This brief,brilliant treatise isthe guidebookthe industry hasclamored for.” — JeffreyZeldman

NEWSLETTERKeep up to date with new book releases and announcements with our newsletter. Email address Subscribe

Brief books for people who make websites

Home Store About Contact abookapart on Twitter

Page 66: Native is easy. Web is essential

If responsible responsive web

design means mobile "rst

responsive web design, then

we’re all on the same team

facing the same challenges.

Page 69: Native is easy. Web is essential

Web Content Management Systems are the Mainframes of the Mobile Era

Page 70: Native is easy. Web is essential

Content& Services

Car sketch: http://www.flickr.com/photos/cloppy/5081768461/

Page 71: Native is easy. Web is essential

Content& Services

Car sketch: http://www.flickr.com/photos/cloppy/5081768461/

HTML

HTML

HTML

HTML HTML

HTML

HTMLHTML

Page 72: Native is easy. Web is essential

Content& Services

Car sketch: http://www.flickr.com/photos/cloppy/5081768461/

HTML

HTML

HTML

HTML HTML

HTML

HTMLHTML

NATIVE

NATIVE

NATIVE

Page 73: Native is easy. Web is essential

Features of New PlatformsIntegrated image resizing

Video conversion and resizing

Separation of content from markup so content can be used in native apps

Prioritization of content based on context

Full-featured APIs

New Ways to Enable Content Editors

http://www.flickr.com/photos/expressmonorail/3046970004/sizes/l/

Page 74: Native is easy. Web is essential

What does WYSIWYG mean to multiple devices?

WYSIWTF

http://www.flickr.com/photos/ndm007/171398958/

Page 75: Native is easy. Web is essential
Page 76: Native is easy. Web is essential
Page 79: Native is easy. Web is essential
Page 80: Native is easy. Web is essential
Page 82: Native is easy. Web is essential

Desktop Web Server

Internet

example.com/products/[productID]

One Possible Bridging Solution

Page 83: Native is easy. Web is essential

Desktop Web Server

Internet

example.com/products/[productID]

Desktop or Mobile

One Possible Bridging Solution

Page 84: Native is easy. Web is essential

Desktop Web Server

Internet

example.com/products/[productID]

Desktop or Mobile

Desktop Web Page

Desktop

Redirect

Mobile

m.example.com/products/[productID]

One Possible Bridging Solution

Page 85: Native is easy. Web is essential

Desktop Web Server

Internet

example.com/products/[productID]

Desktop or Mobile

Desktop Web Page

Desktop

Redirect

Mobile

m.example.com/products/[productID]

Cloud Four Mobile Web

Server

Device Class Template A

Device Class Template B

Device Class Template C

Device Class Template D

Internet

One Possible Bridging Solution

Page 86: Native is easy. Web is essential

Desktop Web Server

Internet

example.com/products/[productID]

Desktop or Mobile

Desktop Web Page

Desktop

Redirect

Mobile

m.example.com/products/[productID]

Cloud Four Mobile Web

Server

Device Class Template A

Device Class Template B

Device Class Template C

Device Class Template D

Internet

Web Services APIs

One Possible Bridging Solution

Page 87: Native is easy. Web is essential

Desktop Web Server

Internet

example.com/products/[productID]

Desktop or Mobile

Desktop Web Page

Desktop

Redirect

Mobile

m.example.com/products/[productID]

Cloud Four Mobile Web

Server

Device Class Template A

Device Class Template B

Device Class Template C

Device Class Template D

Internet

Web Services APIs

One Possible Bridging Solution

APIs Necessary to Support App Development

Page 88: Native is easy. Web is essential

Desktop Web Server

Internet

example.com/products/[productID]

Desktop or Mobile

Desktop Web Page

Desktop

Redirect

Mobile

m.example.com/products/[productID]

Web Services APIs

One Possible Bridging Solution

Mobile WebServer w/ RWD

Platform

Internet

APIs Necessary to Support App Development

Page 90: Native is easy. Web is essential

No matter how you approach it, we have a lot of infrastructure to build

http://www.flickr.com/photos/wwworks/2942950081/

Page 91: Native is easy. Web is essential

thank you.

http://www.flickr.com/photos/24311566@N07/4697623122/

Page 93: Native is easy. Web is essential
Page 94: Native is easy. Web is essential
Page 95: Native is easy. Web is essential

We’re building the future right now

http://www.flickr.com/photos/insightimaging/3545443883/

Page 96: Native is easy. Web is essential

Not easy, but this is where the opportunities are.

http://www.flickr.com/photos/donnagrayson/195244498/in/photostream/

Page 98: Native is easy. Web is essential

Let’s get to work.