SlideShare a Scribd company logo
1 of 27
Download to read offline
Web Standards
    Canvas, SVG, GeoLocation, Widgets
            by Zi Bin Cheah




                         Opera 2010

Monday, April 26, 2010
OpenWeb stack
                                                   [OGG/ VMS/Dirac]?                        Widgets
                                                   Audio & Video
                                  SMIL
                    Media




                                  Sycronise-

                                                   SVG               PNG/JPG/GIF                    <canvas>
                                  ation

                                                   Vector Graphics   Raster Graphics                Drawing API



                                                                      ECMA/                        GeoLoc
                   Behaviour




                                   DOM
                                    Document API                     JavaScript
                   Presentation




                                   CSS
                                    Style sheets
                   Structure




                                   XML                HTML 5/XHTML                     RDFa           ARIA
                                                      Markup                           Semantics      Accessibility



Monday, April 26, 2010
SVG



                         Opera 2010

Monday, April 26, 2010
<svg></svg>
    XML-based file format for describing two-dimensional vector graphics, both static and dynamic (i.e.
                                       interactive or animated)




Monday, April 26, 2010
Monday, April 26, 2010
Monday, April 26, 2010
W3C Standards
                         Search engine friendly
                         Mobile friendly
                         resource friendly




Monday, April 26, 2010
Industry leading SVG support
                                                  SVG 1.1 support (%)


                   Opera 10                                                         93.89




                         Safari 4                                       81.93




                 Firefox 3.5                                60.40




                             IE 8


                                    0        25           50            75                       100

                                                                                Source: http://www.codedread.com/svg-support.php

Monday, April 26, 2010
Example !




Monday, April 26, 2010
Canvas



                         Opera 2010

Monday, April 26, 2010
<canvas></canvas>
   The canvas element is part of HTML5 and allows for dynamic, scriptable rendering of 2D shapes and
                                           bitmap images.




Monday, April 26, 2010
canvas has standard API methods for drawing
ctx = canvas.getContext("2d");
ctx.fillRect(x, y, width, height);
ctx.beginPath();
ctx.moveTo(x, y);
ctx.lineTo(x, y);
ctx.bezierCurveTo(x1, y1, x2, y2, c1, c2);


and loads of other exciting functions – if you like maths
and stuff




Monday, April 26, 2010
Example Time!




Monday, April 26, 2010
Monday, April 26, 2010
Widgets



                         Opera 2010

Monday, April 26, 2010
Monday, April 26, 2010
Monday, April 26, 2010
W3C Standards
                         Browser Independent
                         Runs on phone, TV, desktop




Monday, April 26, 2010
Monday, April 26, 2010
More Example !




Monday, April 26, 2010
Geolocation



                         Opera 2010

Monday, April 26, 2010
Monday, April 26, 2010
A set of API to retrieve location




Monday, April 26, 2010
More Example !




Monday, April 26, 2010
www.opera.com/developer
                         zibin@opera.com
                         twitter: zibin
Monday, April 26, 2010
Creative Commons license image

                Phone booth http://www.flickr.com/photos/rickharris/261846074/
                Speedometer: http://www.flickr.com/photos/adc/391594014/
                Danish sockets: http://www.flickr.com/photos/xoxoryan/3767746478/
                People Globe http://www.flickr.com/photos/linhngan/2645589939/
                Norwegian mountains
                Baby face http://www.flickr.com/photos/hypertypos/
                Baby face 2 http://www.flickr.com/photos/dq090702/
                World map http://www.flickr.com/photos/kahtava/
                Rojak http://www.flickr.com/photos/stuart_spivack/

                Other Slides/images

                HTML5 scientist by Bruce Lawson
                Closed and Open platform by David Storey
                ACID3 test snapshot by David Storey
                Opera Unite globe by Oleg Melnychuk

                Slides design and contents by Zibin Cheah




Monday, April 26, 2010
Demo links

                Operating System Chrome using SVG, CSS
                http://people.opera.com/dstorey/user-interfacesvgcss.html

                Canvas shooting game, and flower game
                http://www.benjoffe.com/code/demos/canvascape/
                http://htmlfive.appspot.com/static/gifter.html

                Geolocation
                http://experimenting.in/other/demo_geo_twitter_mashup.htm
                Geolocation Opera Build
                http://my.opera.com/core/blog/geolocation-enabled-build




Monday, April 26, 2010

More Related Content

Similar to Web Standards @ Opera Talk Oslo

Standards: politics, case studies
Standards: politics, case studiesStandards: politics, case studies
Standards: politics, case studiesZi Bin Cheah
 
SVG in the Opera browser
SVG in the Opera browserSVG in the Opera browser
SVG in the Opera browserAndreas Bovens
 
SVG in Opera’s desktop, mobile & TV browsers — edition 2011
SVG in Opera’s desktop, mobile & TV browsers  — edition 2011SVG in Opera’s desktop, mobile & TV browsers  — edition 2011
SVG in Opera’s desktop, mobile & TV browsers — edition 2011Andreas Bovens
 
Accessible Rich Internet Applications for the OU
Accessible Rich Internet Applications for the OUAccessible Rich Internet Applications for the OU
Accessible Rich Internet Applications for the OUNick Freear
 
Standards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour IndonesiaStandards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour IndonesiaZi Bin Cheah
 
Node.js and websockets intro
Node.js and websockets introNode.js and websockets intro
Node.js and websockets introkompozer
 
Introduction to Canvas and Native Web Vector Graphics
Introduction to Canvas and Native Web Vector GraphicsIntroduction to Canvas and Native Web Vector Graphics
Introduction to Canvas and Native Web Vector Graphicsdylanks
 
Sakai uPortal Integration Options
Sakai uPortal Integration OptionsSakai uPortal Integration Options
Sakai uPortal Integration OptionsJohn Lewis
 
Google html5 Tutorial
Google html5 TutorialGoogle html5 Tutorial
Google html5 Tutorialjobfan
 
A Match Made In The Cloud
A Match Made In The CloudA Match Made In The Cloud
A Match Made In The CloudChapter Three
 
Os Henrikson
Os HenriksonOs Henrikson
Os Henriksonoscon2007
 
Speak the Web 15.02.2010
Speak the Web 15.02.2010Speak the Web 15.02.2010
Speak the Web 15.02.2010Patrick Lauke
 
Javascript, DOM, browsers and frameworks basics
Javascript, DOM, browsers and frameworks basicsJavascript, DOM, browsers and frameworks basics
Javascript, DOM, browsers and frameworks basicsNet7
 
Drupal Integration with Solr for Fabulous CMS Search
Drupal Integration with Solr for  Fabulous CMS SearchDrupal Integration with Solr for  Fabulous CMS Search
Drupal Integration with Solr for Fabulous CMS SearchAcquia
 
Google Developer DAy 2010 Japan: HTML5 についての最新情報 (マイク スミス)
Google Developer DAy 2010 Japan: HTML5 についての最新情報 (マイク スミス)Google Developer DAy 2010 Japan: HTML5 についての最新情報 (マイク スミス)
Google Developer DAy 2010 Japan: HTML5 についての最新情報 (マイク スミス)Google Developer Relations Team
 

Similar to Web Standards @ Opera Talk Oslo (20)

Standards: politics, case studies
Standards: politics, case studiesStandards: politics, case studies
Standards: politics, case studies
 
SVG in the Opera browser
SVG in the Opera browserSVG in the Opera browser
SVG in the Opera browser
 
HTML5 Intro
HTML5 IntroHTML5 Intro
HTML5 Intro
 
Open layers
Open layersOpen layers
Open layers
 
SVG in Opera’s desktop, mobile & TV browsers — edition 2011
SVG in Opera’s desktop, mobile & TV browsers  — edition 2011SVG in Opera’s desktop, mobile & TV browsers  — edition 2011
SVG in Opera’s desktop, mobile & TV browsers — edition 2011
 
Accessible Rich Internet Applications for the OU
Accessible Rich Internet Applications for the OUAccessible Rich Internet Applications for the OU
Accessible Rich Internet Applications for the OU
 
Standards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour IndonesiaStandards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour Indonesia
 
Node.js and websockets intro
Node.js and websockets introNode.js and websockets intro
Node.js and websockets intro
 
Introduction to Canvas and Native Web Vector Graphics
Introduction to Canvas and Native Web Vector GraphicsIntroduction to Canvas and Native Web Vector Graphics
Introduction to Canvas and Native Web Vector Graphics
 
Sakai uPortal Integration Options
Sakai uPortal Integration OptionsSakai uPortal Integration Options
Sakai uPortal Integration Options
 
Google html5 Tutorial
Google html5 TutorialGoogle html5 Tutorial
Google html5 Tutorial
 
Html5
Html5Html5
Html5
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
 
The Eclipse SOA Initiative
The Eclipse SOA InitiativeThe Eclipse SOA Initiative
The Eclipse SOA Initiative
 
A Match Made In The Cloud
A Match Made In The CloudA Match Made In The Cloud
A Match Made In The Cloud
 
Os Henrikson
Os HenriksonOs Henrikson
Os Henrikson
 
Speak the Web 15.02.2010
Speak the Web 15.02.2010Speak the Web 15.02.2010
Speak the Web 15.02.2010
 
Javascript, DOM, browsers and frameworks basics
Javascript, DOM, browsers and frameworks basicsJavascript, DOM, browsers and frameworks basics
Javascript, DOM, browsers and frameworks basics
 
Drupal Integration with Solr for Fabulous CMS Search
Drupal Integration with Solr for  Fabulous CMS SearchDrupal Integration with Solr for  Fabulous CMS Search
Drupal Integration with Solr for Fabulous CMS Search
 
Google Developer DAy 2010 Japan: HTML5 についての最新情報 (マイク スミス)
Google Developer DAy 2010 Japan: HTML5 についての最新情報 (マイク スミス)Google Developer DAy 2010 Japan: HTML5 についての最新情報 (マイク スミス)
Google Developer DAy 2010 Japan: HTML5 についての最新情報 (マイク スミス)
 

More from Zi Bin Cheah

W3C HTML5 Chinese IG Report
W3C HTML5 Chinese IG ReportW3C HTML5 Chinese IG Report
W3C HTML5 Chinese IG ReportZi Bin Cheah
 
Opera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 StandardsOpera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 StandardsZi Bin Cheah
 
不懂HTML5 非好汉 Be a man, learn HTML5
不懂HTML5 非好汉 Be a man, learn HTML5不懂HTML5 非好汉 Be a man, learn HTML5
不懂HTML5 非好汉 Be a man, learn HTML5Zi Bin Cheah
 
Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011Zi Bin Cheah
 
Web Standards Indonesia Tour
Web Standards Indonesia TourWeb Standards Indonesia Tour
Web Standards Indonesia TourZi Bin Cheah
 
let's talk web standards
let's talk web standardslet's talk web standards
let's talk web standardsZi Bin Cheah
 
Mobile Web Trends inIndonesia
Mobile Web Trends inIndonesiaMobile Web Trends inIndonesia
Mobile Web Trends inIndonesiaZi Bin Cheah
 
Browsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkBrowsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkZi Bin Cheah
 
CSS3大補貼 - COSCUP/GNOME.asia
CSS3大補貼 - COSCUP/GNOME.asiaCSS3大補貼 - COSCUP/GNOME.asia
CSS3大補貼 - COSCUP/GNOME.asiaZi Bin Cheah
 
Browser War 2: Standards strikes back
Browser War 2: Standards strikes backBrowser War 2: Standards strikes back
Browser War 2: Standards strikes backZi Bin Cheah
 

More from Zi Bin Cheah (10)

W3C HTML5 Chinese IG Report
W3C HTML5 Chinese IG ReportW3C HTML5 Chinese IG Report
W3C HTML5 Chinese IG Report
 
Opera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 StandardsOpera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 Standards
 
不懂HTML5 非好汉 Be a man, learn HTML5
不懂HTML5 非好汉 Be a man, learn HTML5不懂HTML5 非好汉 Be a man, learn HTML5
不懂HTML5 非好汉 Be a man, learn HTML5
 
Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011
 
Web Standards Indonesia Tour
Web Standards Indonesia TourWeb Standards Indonesia Tour
Web Standards Indonesia Tour
 
let's talk web standards
let's talk web standardslet's talk web standards
let's talk web standards
 
Mobile Web Trends inIndonesia
Mobile Web Trends inIndonesiaMobile Web Trends inIndonesia
Mobile Web Trends inIndonesia
 
Browsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkBrowsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talk
 
CSS3大補貼 - COSCUP/GNOME.asia
CSS3大補貼 - COSCUP/GNOME.asiaCSS3大補貼 - COSCUP/GNOME.asia
CSS3大補貼 - COSCUP/GNOME.asia
 
Browser War 2: Standards strikes back
Browser War 2: Standards strikes backBrowser War 2: Standards strikes back
Browser War 2: Standards strikes back
 

Web Standards @ Opera Talk Oslo

  • 1. Web Standards Canvas, SVG, GeoLocation, Widgets by Zi Bin Cheah Opera 2010 Monday, April 26, 2010
  • 2. OpenWeb stack [OGG/ VMS/Dirac]? Widgets Audio & Video SMIL Media Sycronise- SVG PNG/JPG/GIF <canvas> ation Vector Graphics Raster Graphics Drawing API ECMA/ GeoLoc Behaviour DOM Document API JavaScript Presentation CSS Style sheets Structure XML HTML 5/XHTML RDFa ARIA Markup Semantics Accessibility Monday, April 26, 2010
  • 3. SVG Opera 2010 Monday, April 26, 2010
  • 4. <svg></svg> XML-based file format for describing two-dimensional vector graphics, both static and dynamic (i.e. interactive or animated) Monday, April 26, 2010
  • 7. W3C Standards Search engine friendly Mobile friendly resource friendly Monday, April 26, 2010
  • 8. Industry leading SVG support SVG 1.1 support (%) Opera 10 93.89 Safari 4 81.93 Firefox 3.5 60.40 IE 8 0 25 50 75 100 Source: http://www.codedread.com/svg-support.php Monday, April 26, 2010
  • 10. Canvas Opera 2010 Monday, April 26, 2010
  • 11. <canvas></canvas> The canvas element is part of HTML5 and allows for dynamic, scriptable rendering of 2D shapes and bitmap images. Monday, April 26, 2010
  • 12. canvas has standard API methods for drawing ctx = canvas.getContext("2d"); ctx.fillRect(x, y, width, height); ctx.beginPath(); ctx.moveTo(x, y); ctx.lineTo(x, y); ctx.bezierCurveTo(x1, y1, x2, y2, c1, c2); and loads of other exciting functions – if you like maths and stuff Monday, April 26, 2010
  • 15. Widgets Opera 2010 Monday, April 26, 2010
  • 18. W3C Standards Browser Independent Runs on phone, TV, desktop Monday, April 26, 2010
  • 20. More Example ! Monday, April 26, 2010
  • 21. Geolocation Opera 2010 Monday, April 26, 2010
  • 23. A set of API to retrieve location Monday, April 26, 2010
  • 24. More Example ! Monday, April 26, 2010
  • 25. www.opera.com/developer zibin@opera.com twitter: zibin Monday, April 26, 2010
  • 26. Creative Commons license image Phone booth http://www.flickr.com/photos/rickharris/261846074/ Speedometer: http://www.flickr.com/photos/adc/391594014/ Danish sockets: http://www.flickr.com/photos/xoxoryan/3767746478/ People Globe http://www.flickr.com/photos/linhngan/2645589939/ Norwegian mountains Baby face http://www.flickr.com/photos/hypertypos/ Baby face 2 http://www.flickr.com/photos/dq090702/ World map http://www.flickr.com/photos/kahtava/ Rojak http://www.flickr.com/photos/stuart_spivack/ Other Slides/images HTML5 scientist by Bruce Lawson Closed and Open platform by David Storey ACID3 test snapshot by David Storey Opera Unite globe by Oleg Melnychuk Slides design and contents by Zibin Cheah Monday, April 26, 2010
  • 27. Demo links Operating System Chrome using SVG, CSS http://people.opera.com/dstorey/user-interfacesvgcss.html Canvas shooting game, and flower game http://www.benjoffe.com/code/demos/canvascape/ http://htmlfive.appspot.com/static/gifter.html Geolocation http://experimenting.in/other/demo_geo_twitter_mashup.htm Geolocation Opera Build http://my.opera.com/core/blog/geolocation-enabled-build Monday, April 26, 2010