progressive enhancement 2.0 what i'd like to share to designers

43
Progressive Enhancement 2.0 The Interesting Concept I’d Like to Share

Upload: rita

Post on 20-Aug-2015

319 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Progressive enhancement 2.0  what i'd like to share to designers

Progressive Enhancement 2.0The Interesting Concept I’d Like to Share

Page 2: Progressive enhancement 2.0  what i'd like to share to designers

Nicholas C. Zakas

A front-end consultant, author, and speaker. He worked at Yahoo! for almost five years, where he was front-end tech lead for the Yahoo! homepage and a contributor to the YUI library.

Nicholas is a strong advocate for development best practices including progressive enhancement, accessibility, performance, scalability, and maintainability.

Page 3: Progressive enhancement 2.0  what i'd like to share to designers
Page 4: Progressive enhancement 2.0  what i'd like to share to designers

Progressive enhancement uses web technologies in a layered fashion that allows everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or greater bandwidth.

http://en.wikipedia.org/wiki/Progressive_enhancement

Page 5: Progressive enhancement 2.0  what i'd like to share to designers
Page 6: Progressive enhancement 2.0  what i'd like to share to designers
Page 7: Progressive enhancement 2.0  what i'd like to share to designers

What is Progressive Enhancement ?

Page 8: Progressive enhancement 2.0  what i'd like to share to designers

Content

Presentation

Behavior

Page 9: Progressive enhancement 2.0  what i'd like to share to designers

HTML

CSS

JavaScript

Page 10: Progressive enhancement 2.0  what i'd like to share to designers

A-Grade Browser3 layers are capable to use

C-Grade BrowserOnly HTML

Yahoo! Graded Browser Support

HTML

CSS

JavaScript

HTML

Page 11: Progressive enhancement 2.0  what i'd like to share to designers

Before, developer are only dealing with 2 browsers:

But now…

Page 12: Progressive enhancement 2.0  what i'd like to share to designers

To support all browser in the same way, •development takes too long•too many bugs •our pages are slow (bad performance)•horrible user experiences

Reality: not every browser can support all the different technology

Page 13: Progressive enhancement 2.0  what i'd like to share to designers

Developer may:

①Limit the website's potential so that it will work with older browsers②Not support some of the browsers③Use progressive enhancement to ensure that the site can work on both modern and older browsers

Page 14: Progressive enhancement 2.0  what i'd like to share to designers

Get angry if we see different from different browsers?

Quality = The same across all browser?Not Professional if it’s not consistent ?

We obsessed with Identical experiences across all browsers

Nicholas:

Page 15: Progressive enhancement 2.0  what i'd like to share to designers
Page 16: Progressive enhancement 2.0  what i'd like to share to designers
Page 17: Progressive enhancement 2.0  what i'd like to share to designers
Page 18: Progressive enhancement 2.0  what i'd like to share to designers

Web browser: Web pageTelevision: television show

Page 19: Progressive enhancement 2.0  what i'd like to share to designers
Page 20: Progressive enhancement 2.0  what i'd like to share to designers
Page 21: Progressive enhancement 2.0  what i'd like to share to designers

Nicholas: “NO! Your site SHOULD look different in different browsers!”

Q: Do web sites need to look exactly the same in every browser?

Page 22: Progressive enhancement 2.0  what i'd like to share to designers

Nicholas:

“Why would they upgrade if things always look the same? They wouldn’t.”

“Give users an incentive to upgrade.”

Page 23: Progressive enhancement 2.0  what i'd like to share to designers
Page 24: Progressive enhancement 2.0  what i'd like to share to designers
Page 25: Progressive enhancement 2.0  what i'd like to share to designers
Page 26: Progressive enhancement 2.0  what i'd like to share to designers

The small list of build-in in new browser

Page 27: Progressive enhancement 2.0  what i'd like to share to designers

“Give the best possible experience given the device capabilities.

Not the same experience for everybody.”

Nicholas:

Page 28: Progressive enhancement 2.0  what i'd like to share to designers
Page 29: Progressive enhancement 2.0  what i'd like to share to designers

The time are mostly spent on bug fixes, work around

Page 30: Progressive enhancement 2.0  what i'd like to share to designers

Rounded Corners, Drop Shadows, Gradients

“Only with CSSNot Adobe Photoshop, not manually”

Nicholas:

Page 31: Progressive enhancement 2.0  what i'd like to share to designers

“Older browsers often need a lot more code to do the same thing”

Less code=faster

Nicholas:

Page 32: Progressive enhancement 2.0  what i'd like to share to designers

“Adopt the advanced scripting and behavioronly with native APIs”

Use it in the supported browsers

Nicholas:

Page 33: Progressive enhancement 2.0  what i'd like to share to designers

“You care the content” Nicholas:

Page 34: Progressive enhancement 2.0  what i'd like to share to designers

“Your users only use one browser”Nicholas:

Page 35: Progressive enhancement 2.0  what i'd like to share to designers

It’s a progressive enhancement you can still attach a file by clicking attach a file there if you don’t have drag-and-drop

Page 36: Progressive enhancement 2.0  what i'd like to share to designers

The Gmail for the iPad also have the same elements just rearranged a little bit to give a better experience on a tablet device

Page 37: Progressive enhancement 2.0  what i'd like to share to designers

Can you tell the rounded corners only on Chrome and Firefox?

Page 38: Progressive enhancement 2.0  what i'd like to share to designers

You will get a nice little notice that tell you you cannot use chat on facebook in IE6

Page 39: Progressive enhancement 2.0  what i'd like to share to designers

You will get a nice little notice that tell you you cannot use chat on facebook in IE6

Because they decided that It was too much work to continue to support on IE6, when they could spend more time on newer features for the more capable browsers.

“Chat is really the progressive enhancement. You can go in, you can still see your timeline, you can still do whatever, you just can’t chat. That’s an added bonus you get only when you’re using a newer browser, and that’s okay.”

Nicholas:

Page 40: Progressive enhancement 2.0  what i'd like to share to designers

There are little things based on capabilities at the time. Firefox didn’t have the same fonts, CSS animations transition in order to create carousel

Page 41: Progressive enhancement 2.0  what i'd like to share to designers

There are little things based on capabilities at the time. Firefox didn’t have the same fonts, CSS animations transition in order to create carousel

“Whenever a user comes to the page, they get whatever in the main point of the page.”

For Web sites, content is keyFor Web applications, focus on 1 or 2 core features, that are why people use your product.

Nicholas:

Page 42: Progressive enhancement 2.0  what i'd like to share to designers

Summary• Users care the content • Users only use one browser• Focus on the key features of your product• Support the best possible experience, not the same

experience for everybody• Give users an incentive to upgrade

Page 43: Progressive enhancement 2.0  what i'd like to share to designers

Progressive Enhancement 2.0: Because the Web isn’t Print: http://www.slideshare.net/nzakas/progressive-enhancement-20-conference-agnostic

Nicholas Zakas: Progressive Enhancement 2.0 on YouTube:http://www.youtube.com/watch?v=hdTxeR90_1E

Source