84

Opera and the Open Web platform

Embed Size (px)

DESCRIPTION

Presentation for university students in Oslo. See http://my.opera.com/universitytours/blog/2010/04/22/the-university-tours-come-to-us for details

Citation preview

Page 1: Opera and the Open Web platform
Page 2: Opera and the Open Web platform
Page 3: Opera and the Open Web platform
Page 4: Opera and the Open Web platform
Page 5: Opera and the Open Web platform
Page 6: Opera and the Open Web platform
Page 7: Opera and the Open Web platform
Page 8: Opera and the Open Web platform

Opera and the Open Web platform

Photo by takomabibelot CC BY licensehttp://www.flickr.com/photos/takomabibelot/473812157/

Page 9: Opera and the Open Web platform

a bit of browser history

Page 10: Opera and the Open Web platform

In 1980s, early 1990s:very early browsers

Page 11: Opera and the Open Web platform

1991:WorldWideWeb

Page 12: Opera and the Open Web platform

1993:Mosaic

Page 13: Opera and the Open Web platform

— Wired, October 1994

Mosaic is the celebrated graphical “browser” that allows users to travel through the world of electronic information using a point-and-click interface.

Page 14: Opera and the Open Web platform

1994:Netscape Navigator

Page 15: Opera and the Open Web platform

1995:Internet Explorer

Page 16: Opera and the Open Web platform

1994:

Page 17: Opera and the Open Web platform

1994:MultiTorg Opera

Page 18: Opera and the Open Web platform

1994:MultiTorg Opera

Page 19: Opera and the Open Web platform

1994:MultiTorg Opera

Page 20: Opera and the Open Web platform

1996:Opera

Page 21: Opera and the Open Web platform
Page 22: Opera and the Open Web platform

HTML, XHTML, XML, CSS, SVG, PNG,... standards

Page 23: Opera and the Open Web platform

What are Web Standards?

Standards are rules and methodologies that make building things easier.

And the results better.

Page 24: Opera and the Open Web platform

Open vs Closed Standards

Open Standards are made by the World Wide Web Consortium (W3C) in public, through debate & discussion, leading to agreement.

Closed Standards are made by a single company, in secret, according to the business needs of that company.

Page 25: Opera and the Open Web platform

Importance of Open Standards

The Web works everywhereThe Web is the platform

Page 26: Opera and the Open Web platform

HTML, XHTML, XML, CSS, SVG, PNG,... standards

Page 27: Opera and the Open Web platform

Dominant players in late 1990s:Internet Explorer and Netscape

Page 28: Opera and the Open Web platform

Strong competition & introduction of new, often non-standard features

<font>, <marquee>, <blink>

Page 29: Opera and the Open Web platform

Around the same time:early experiments with mobile web

non-standard HDML, WML, cHTML...

Page 30: Opera and the Open Web platform

2000s

Page 31: Opera and the Open Web platform

Internet Explorer wins the first browser war

Page 32: Opera and the Open Web platform

Graph by Eric Meyerhttp://meyerweb.com/eric/browsers/timeline-structured.html

Page 33: Opera and the Open Web platform

Opera 10.5xInternet Explorer 8Firefox 3.6Safari 4& Google Chrome 4.1

Desktop browsers

Page 36: Opera and the Open Web platform

Opera Mini 5Opera Mobile 10Safari for iPhoneAndroid browserFirefox for MobileNokia browser & others

Full mobile browsers

Page 38: Opera and the Open Web platform

Opera Mini

Page 39: Opera and the Open Web platform
Page 40: Opera and the Open Web platform
Page 41: Opera and the Open Web platform

Photo by lrargerich CC BY licensehttp://www.flickr.com/photos/lrargerich/3125605370/

Page 42: Opera and the Open Web platform

Strong competition, lots of players:- standards implementation race- performance race- convergence desktop & mobile- user experience enhancements

Page 43: Opera and the Open Web platform

Strong competition, lots of players:- standards implementation race- performance race- convergence desktop & mobile- user experience enhancements

Sputnik JavaScript conformance test

Page 44: Opera and the Open Web platform

Strong competition, lots of players:- standards implementation race- performance race- convergence desktop & mobile- user experience enhancements

Peacekeeper benchmark

Page 45: Opera and the Open Web platform

Strong competition, lots of players:- standards implementation race- performance race- convergence desktop & mobile- user experience enhancements

Page 46: Opera and the Open Web platform

HTML5

Page 47: Opera and the Open Web platform
Page 48: Opera and the Open Web platform
Page 49: Opera and the Open Web platform

“... extending the language to better support Web applications, since that is one of the directions the Web is going in and is one of the areas least well served by HTML so far.

This puts HTML in direct competition with other technologies intended for applications deployed over the Web, in particular Flash and Silverlight.”

Ian Hickson, HTML5 editor

Page 50: Opera and the Open Web platform

More semantics for structure

Page 51: Opera and the Open Web platform

HTML5 forms (WebForms 2)

Page 52: Opera and the Open Web platform

<canvas>

Page 53: Opera and the Open Web platform

<video>

Page 54: Opera and the Open Web platform

<object width="425" height="344"><param name="movie" value="http://www.example.com/v/LtfQg4KkR88&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.example.com/v/LtfQg4KkR88&hl=en&fs=1" type="application/x-shockwave-flash"allowfullscreen="true" width="425" height="344"></embed></object>

Page 55: Opera and the Open Web platform

<video src=”video.ogg”>

Page 56: Opera and the Open Web platform

Web Storage

Page 57: Opera and the Open Web platform

CSS3

Page 58: Opera and the Open Web platform

Web Fonts (@font-face)

Page 59: Opera and the Open Web platform

border-radiusborder-image

Page 60: Opera and the Open Web platform

background-attachmentbackground-size

Page 61: Opera and the Open Web platform

text-shadowbox-shadow

Page 62: Opera and the Open Web platform

text-shadowbox-shadow

Page 63: Opera and the Open Web platform

text-shadowborder-shadow

Page 64: Opera and the Open Web platform

transformationstransitions

Page 65: Opera and the Open Web platform

Making sites mobile-friendly

Photo by bossone CC BY-NC-SA licensehttp://www.flickr.com/photos/bossone/3922552664/

Page 66: Opera and the Open Web platform

Opera MiniOpera Mobile

Page 67: Opera and the Open Web platform

Opera MiniOpera Mobile

+Safari for iPhoneAndroid browserFirefox for MobileNokia browser etc.

Page 68: Opera and the Open Web platform

3 approaches

Page 69: Opera and the Open Web platform

Do nothing and let the mobile browser handle your site

(1)

Page 70: Opera and the Open Web platform
Page 71: Opera and the Open Web platform

Create a separate mobile sitee.g. m.mysite.com

(2)

Page 72: Opera and the Open Web platform

Create a separate mobile sitee.g. m.mysite.com

(2)

Caveats: - browser sniffing- reduced functionality

Page 73: Opera and the Open Web platform

Create a site that uses capability detection and

flexible layout techniques, automatically adjusting to browsers and screen sizes

(3)

Page 74: Opera and the Open Web platform

viewport meta

Photo by code poet, CC BY-NC-SA licensehttp://www.flickr.com/photos/alphageek/1273563924/

Page 75: Opera and the Open Web platform
Page 76: Opera and the Open Web platform
Page 77: Opera and the Open Web platform
Page 78: Opera and the Open Web platform

<meta name="viewport" content="width=device-width">

<meta name="viewport" content="width=320">

Page 79: Opera and the Open Web platform

<meta name="viewport" content="width=device-width">

<meta name="viewport" content="width=320">

Page 80: Opera and the Open Web platform

media queries

Photo by robpatrick, CC BY-NC-SA licensehttp://www.flickr.com/photos/alkalinezoo/32265389/

Page 81: Opera and the Open Web platform

@media screen and (max-width: 320px) { #block {float: left;}}

@media screen and (max-width: 240px) { #block {display: none;}}

media queries

Page 82: Opera and the Open Web platform

media queries

@media screen and (max-width: 320px) { #block {float: left;}}

@media screen and (max-width: 240px) { #block {display: none;}}

refers to viewport width

Page 83: Opera and the Open Web platform
Page 84: Opera and the Open Web platform