Opera Software
The best browsing experience on any device




                       The best Internet experience on any device
brucel@opera.com, http://dev.opera.com

www.brucelawson.co.uk twitter.com/brucel
Opera is a Web Browser
Opera's vision is to provide
the best Internet experience on any device
Why do Web Standards matter?


The most important program on
      your computer is
     your Web Browser.
Standards are conventions
When Standards go BAD!
What are Web Standards?


    Standards are rules and
methodologies that make building
         things easier.
    And the results better.
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.
Dangers of a closed-standard culture

South Korea is a nation that at the forefront of technology,
 an early adopter of ecommerce, leading the world in 3G
     mobile adoption, in wireless broadband, in wired
  broadband adoption, as well as in citizen-driven media.

     But the Web is in hands of a single corporation.

    http://kanai.net/weblog/archive/2007/01/26/00h53m55s
Advantages of Open Standards
     The Web works everywhere - The Web is the platform

●   Good standards help developers: validate; separate content and
     presentation - means specialisation and maintainability.
●   Good standards help site owners: more maintainability; smaller
     pages; better SEO (webometrics)
●   Good standards help site end-users: light-weight; findable;
     interoperable; more likely accessible
●   Write once, work everywhere (you can't test every device!)
Case study - Legal and General
British based financial services company that provides life,
  health and other insurance, as well as pensions and
  investments.

Its shares trade on the London Stock Exchange as part of
  the FTSE 100 Index. Major markets include U.K., France,
  Germany, the Netherlands and the United States.
                      www.landg.com
Legal and General's re-design
●   30% increase in natural search-engine traffic
●   75% reduction in time for page to load
●   Browser-compatibility (no complaints since), accessible to mobile
      devices
●   Time to manage content “reduced from five days to 0.5 days per
      job”
●   Savings of £200K annually on site maintenance
●   90% increase in life insurance sales online
●   100% return on investment in less than 12 months.
                     www.brucelawson.co.uk/pas78
Open Web technologies



Using the right tool for
     the right job
 – see Web Standards
      Curriculum
    opera.com/wsc
HTML
●   Hypertext Markup Language
●   HTML is for information
●   HTML describes the meaning of your information
●   Presentation (fonts, colours, layout, decoration) is not
      meaning – it's style
●   HTML is just text, so it's light and any device can consume
      it: screen readers, braille displays, in-car voice
      browsers, old mobile phones, search engines
Cascading stylesheets for presentation
CSS provides a way to abstract styles from meaning.
Include it in the head and style the whole site:

table {width:500px; border:1px solid white;}
th {background-color:blue; color:white; text-
 align:center;}
tr {background-color:white; color:black;}
tr:nth-child(even) {background-color:#66FFCC;}
JavaScript for behaviour
Using principles of unobtrusive JavaScript, I'll add Stuart
 Langridge's Sorttable script (kryogenix.org):

<script src="sorttable.js"></script>
<table class="sortable">

Check out the sortable table
<canvas>
Canvas is an immediate graphics mode for modern browsers.
         Placeholder for scripted images/ animations.

     <canvas>Fallback content</canvas>

            Tutorials (write your own games!)
                  http://dev.opera.com
                   Search for “canvas”
Evolution of HTML: monkey on
left becomes human in 4 stages
th
Evolution of HTML: 5 monkey
(HTML5) is human but dressed
       in pimp clothing
HTML5

“... 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.”
HTML5 goodies
●   Drag and drop
●   Cross-window, Cross-domain messaging
●   Web workers
●   Adding toolbars <menu>, <command>
●   WebStorage
●   Geolocation
●   Register protocol handler, content type handlers
●   Server-sent events <eventsource>
What does this code do?
<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&f
  s=1" type="application/x-shockwave-flash"
allowfullscreen="true" width="425"
  height="344"></embed>
</object>
Video (future)

<video src="video.ogv"
      <a href="video.ogv">Download movie</a>
</video>
Handphone/ devices development 1
       Write simple content and use a simple design. KISS




  Photo credit: Mild Mannered Photographer, http://www.flickr.com/photos/alexerde/2433520958/
Handphone/ devices development 2
         Define size of images in your HTML, use alt text
●   <img height=”200” width=”100” alt=”company logo”>
●   Images take a long time to load, so tell the browser to leave a
       space for them
●   If you don't, when the image finally loads, the browser will redraw
       the page to fit the image in
●   Your users will be angry if the content they were reading scrolls off
       the screen to make space for images
●   Redrawing the screen wastes processor time (and battery life)
Handphone/ devices development 3

    Put your JavaScript at the bottom of your page if possible

●   Browsers wait for JS to load. If they're at the top,
       rendering pauses.
●   If your JS is at the bottom of the page, the user can read
       the content etc while she is waiting to interact with the
       page.
Handphone/ devices development 4
                     Minimise HTTP requests

●   The slowest part of rendering your pages on handphones is
      requesting a file (JS/ CSS/ image) over the network
●   Combine JS into one file. Same with CSS.
●   Use CSS sprites to combine decorative images
●   Consider encoding images directly in your page as data URLs
●   Use SVG or <canvas> for images
Handphone/ devices development 5
   Use CSS Media Queries to reformat your page
              for different devices

@media all and (min-width: 480px) and
  (max-width: 800px) {your CSS here}

@media all and (min-width: 400px) and
 (max-width: 480px) {other CSS here}
The Standards-based workflow
●   Know and understand your tool set.
●   Use the right tools (HTML, CSS, JS, Media Queries).
●   Validate your code (validator.w3.org, JS Lint).
●   Use Opera Dragonfly and debug menu to hunt down
      errors and kill them, or just see what's going on.
●   Check your work regularly in Opera desktop at different
      screen widths, Opera Mini and other browsers.
●   This is an iterative cycle. It will save time.
Why you need to know
              Open Standards
●   oppose dominance by one corporation and so promote
      choice
●   promote inclusion (slower networks, older computers,
      people with disabilities)
●   lower development cost - work smarter, not cheaper
●   These will be hot skills in a few months' time: get
      them now!
Terima Kasih

brucel@opera.com, www.opera.com/developer

 www.brucelawson.co.uk, twitter.com/brucel

          www.html5doctor.com

More Related Content

PDF
Bruce lawson Stockholm Geek Meet
PDF
W3C Widgets: Apps made with Web Standards
PDF
Disruptive code
PDF
Lesson learned from 3 years with hybrid apps
PPTX
Cross-Browser Compatibility, and a little bit about Page Load, too.
ODP
Making Chrome Extension with AngularJS
ODP
Chrome extension development
PPTX
All That Edge
Bruce lawson Stockholm Geek Meet
W3C Widgets: Apps made with Web Standards
Disruptive code
Lesson learned from 3 years with hybrid apps
Cross-Browser Compatibility, and a little bit about Page Load, too.
Making Chrome Extension with AngularJS
Chrome extension development
All That Edge

What's hot (20)

PPTX
HTTP 2.0 - Web Unleashed 2015
PPTX
An Introduction to Microsoft Edge
PPTX
Build your own Chrome Extension with AngularJS
PDF
21 web-developement-trends
PPT
Chrome Extension Develop Starts
PDF
Chrome extension development
PPTX
HTML / CSS / JS Web basics
PDF
Web 2.0 & Ajax Basics
PPT
Building fast webapps, fast - Velocity 2010
PDF
Velocity dust
PPT
Going Mobile
PPTX
Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...
PPTX
Blazor
PDF
Modern web application devlopment workflow
PDF
Web 2.0
PPTX
Develop Chrome Extension
PPTX
Chrome extensions
PPTX
Java script everywhere
PPTX
A presentation on front end development
PDF
Mozilla Prism
HTTP 2.0 - Web Unleashed 2015
An Introduction to Microsoft Edge
Build your own Chrome Extension with AngularJS
21 web-developement-trends
Chrome Extension Develop Starts
Chrome extension development
HTML / CSS / JS Web basics
Web 2.0 & Ajax Basics
Building fast webapps, fast - Velocity 2010
Velocity dust
Going Mobile
Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...
Blazor
Modern web application devlopment workflow
Web 2.0
Develop Chrome Extension
Chrome extensions
Java script everywhere
A presentation on front end development
Mozilla Prism
Ad

Viewers also liked (7)

PDF
Webseiten für mobile Geräte - M-Days - Frankfurt 27.01.2011
PDF
HTML5 and XHTML2
PDF
Working With Web Standards
PDF
Is the mobile web enabled or disabled by design?
PDF
Estándares de la w3c
PPT
Estandares de diseño web
PDF
Web standards: Who cares?
Webseiten für mobile Geräte - M-Days - Frankfurt 27.01.2011
HTML5 and XHTML2
Working With Web Standards
Is the mobile web enabled or disabled by design?
Estándares de la w3c
Estandares de diseño web
Web standards: Who cares?
Ad

Similar to Bruce Lawson Opera Indonesia (20)

PPTX
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
PDF
Bruce lawson-over-the-air
PDF
Transmission2 25.11.2009
DOCX
Over view of Technologies
PDF
PrairieDevCon 2014 - Web Doesn't Mean Slow
PDF
Making Of PHP Based Web Application
KEY
Responsive UX - One size fits all @BigDesign conference #BigD12
PDF
IRJET- A Personalized Web Browser
PDF
IRJET- A Personalized Web Browser
PPTX
Transforming the web into a real application platform
PPTX
Front End Development | Introduction
PPTX
What is HTML 5?
PDF
Uni Tour Germany 11.2009
KEY
Maximising Online Resource Effectiveness Workshop Session 3/8 Priority issues
PDF
Intro to mobile web application development
KEY
Optimizing content for the "mobile web"
PPT
HTML5: An Introduction To Next Generation Web Development
PPT
The Mobile Development Landscape
PDF
Modern Web Applications
PDF
Building native mobile apps using web technologies
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
Bruce lawson-over-the-air
Transmission2 25.11.2009
Over view of Technologies
PrairieDevCon 2014 - Web Doesn't Mean Slow
Making Of PHP Based Web Application
Responsive UX - One size fits all @BigDesign conference #BigD12
IRJET- A Personalized Web Browser
IRJET- A Personalized Web Browser
Transforming the web into a real application platform
Front End Development | Introduction
What is HTML 5?
Uni Tour Germany 11.2009
Maximising Online Resource Effectiveness Workshop Session 3/8 Priority issues
Intro to mobile web application development
Optimizing content for the "mobile web"
HTML5: An Introduction To Next Generation Web Development
The Mobile Development Landscape
Modern Web Applications
Building native mobile apps using web technologies

More from brucelawson (17)

PDF
Bruce Lawson: Progressive Web Apps: the future of Apps
PDF
HTML5 Who what where when why how
PDF
HTML5 multimedia - where we are, where we're going
PDF
You too can be a bedwetting antfucker: Bruce Lawson, Opera, Fronteers 2011
PDF
HTML5 and Accessibility sitting in a tree
PDF
Leveraging HTML 5.0
PDF
HTML5 Multimedia Accessibility
PDF
HTML5 Multimedia: where we are, where we're going
PDF
Why Open Web Standards are cool and will save the world. Or the Web, at least.
PDF
Web Anywhere: Mobile Optimisation With HTML5, CSS3, JavaScript
PDF
Bruce lawson-html5-aria-japan
PDF
HTML5 and CSS 3
PDF
Html5 oslo-code-camp
PDF
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
ODP
Bruce Lawson HTML5 South By SouthWest presentation
ODP
Practical Tips for Mobile Widget development
PDF
Standards.next: HTML - Are you mything the point?
Bruce Lawson: Progressive Web Apps: the future of Apps
HTML5 Who what where when why how
HTML5 multimedia - where we are, where we're going
You too can be a bedwetting antfucker: Bruce Lawson, Opera, Fronteers 2011
HTML5 and Accessibility sitting in a tree
Leveraging HTML 5.0
HTML5 Multimedia Accessibility
HTML5 Multimedia: where we are, where we're going
Why Open Web Standards are cool and will save the world. Or the Web, at least.
Web Anywhere: Mobile Optimisation With HTML5, CSS3, JavaScript
Bruce lawson-html5-aria-japan
HTML5 and CSS 3
Html5 oslo-code-camp
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson HTML5 South By SouthWest presentation
Practical Tips for Mobile Widget development
Standards.next: HTML - Are you mything the point?

Recently uploaded (20)

PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
CEH Module 2 Footprinting CEH V13, concepts
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PPTX
Presentation - Principles of Instructional Design.pptx
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
substrate PowerPoint Presentation basic one
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Ensemble model-based arrhythmia classification with local interpretable model...
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PPTX
Internet of Everything -Basic concepts details
PDF
SaaS reusability assessment using machine learning techniques
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
CEH Module 2 Footprinting CEH V13, concepts
Build Real-Time ML Apps with Python, Feast & NoSQL
Lung cancer patients survival prediction using outlier detection and optimize...
NewMind AI Weekly Chronicles – August ’25 Week IV
Rapid Prototyping: A lecture on prototyping techniques for interface design
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
Module 1 Introduction to Web Programming .pptx
Data Virtualization in Action: Scaling APIs and Apps with FME
Presentation - Principles of Instructional Design.pptx
Build automations faster and more reliably with UiPath ScreenPlay
substrate PowerPoint Presentation basic one
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Ensemble model-based arrhythmia classification with local interpretable model...
LMS bot: enhanced learning management systems for improved student learning e...
Internet of Everything -Basic concepts details
SaaS reusability assessment using machine learning techniques

Bruce Lawson Opera Indonesia

  • 1. Opera Software The best browsing experience on any device The best Internet experience on any device
  • 3. Opera is a Web Browser
  • 4. Opera's vision is to provide the best Internet experience on any device
  • 5. Why do Web Standards matter? The most important program on your computer is your Web Browser.
  • 8. What are Web Standards? Standards are rules and methodologies that make building things easier. And the results better.
  • 9. 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.
  • 10. Dangers of a closed-standard culture South Korea is a nation that at the forefront of technology, an early adopter of ecommerce, leading the world in 3G mobile adoption, in wireless broadband, in wired broadband adoption, as well as in citizen-driven media. But the Web is in hands of a single corporation. http://kanai.net/weblog/archive/2007/01/26/00h53m55s
  • 11. Advantages of Open Standards The Web works everywhere - The Web is the platform ● Good standards help developers: validate; separate content and presentation - means specialisation and maintainability. ● Good standards help site owners: more maintainability; smaller pages; better SEO (webometrics) ● Good standards help site end-users: light-weight; findable; interoperable; more likely accessible ● Write once, work everywhere (you can't test every device!)
  • 12. Case study - Legal and General British based financial services company that provides life, health and other insurance, as well as pensions and investments. Its shares trade on the London Stock Exchange as part of the FTSE 100 Index. Major markets include U.K., France, Germany, the Netherlands and the United States. www.landg.com
  • 13. Legal and General's re-design ● 30% increase in natural search-engine traffic ● 75% reduction in time for page to load ● Browser-compatibility (no complaints since), accessible to mobile devices ● Time to manage content “reduced from five days to 0.5 days per job” ● Savings of £200K annually on site maintenance ● 90% increase in life insurance sales online ● 100% return on investment in less than 12 months. www.brucelawson.co.uk/pas78
  • 14. Open Web technologies Using the right tool for the right job – see Web Standards Curriculum opera.com/wsc
  • 15. HTML ● Hypertext Markup Language ● HTML is for information ● HTML describes the meaning of your information ● Presentation (fonts, colours, layout, decoration) is not meaning – it's style ● HTML is just text, so it's light and any device can consume it: screen readers, braille displays, in-car voice browsers, old mobile phones, search engines
  • 16. Cascading stylesheets for presentation CSS provides a way to abstract styles from meaning. Include it in the head and style the whole site: table {width:500px; border:1px solid white;} th {background-color:blue; color:white; text- align:center;} tr {background-color:white; color:black;} tr:nth-child(even) {background-color:#66FFCC;}
  • 17. JavaScript for behaviour Using principles of unobtrusive JavaScript, I'll add Stuart Langridge's Sorttable script (kryogenix.org): <script src="sorttable.js"></script> <table class="sortable"> Check out the sortable table
  • 18. <canvas> Canvas is an immediate graphics mode for modern browsers. Placeholder for scripted images/ animations. <canvas>Fallback content</canvas> Tutorials (write your own games!) http://dev.opera.com Search for “canvas”
  • 19. Evolution of HTML: monkey on left becomes human in 4 stages
  • 20. th Evolution of HTML: 5 monkey (HTML5) is human but dressed in pimp clothing
  • 21. HTML5 “... 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.”
  • 22. HTML5 goodies ● Drag and drop ● Cross-window, Cross-domain messaging ● Web workers ● Adding toolbars <menu>, <command> ● WebStorage ● Geolocation ● Register protocol handler, content type handlers ● Server-sent events <eventsource>
  • 23. What does this code do? <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&f s=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed> </object>
  • 24. Video (future) <video src="video.ogv" <a href="video.ogv">Download movie</a> </video>
  • 25. Handphone/ devices development 1 Write simple content and use a simple design. KISS Photo credit: Mild Mannered Photographer, http://www.flickr.com/photos/alexerde/2433520958/
  • 26. Handphone/ devices development 2 Define size of images in your HTML, use alt text ● <img height=”200” width=”100” alt=”company logo”> ● Images take a long time to load, so tell the browser to leave a space for them ● If you don't, when the image finally loads, the browser will redraw the page to fit the image in ● Your users will be angry if the content they were reading scrolls off the screen to make space for images ● Redrawing the screen wastes processor time (and battery life)
  • 27. Handphone/ devices development 3 Put your JavaScript at the bottom of your page if possible ● Browsers wait for JS to load. If they're at the top, rendering pauses. ● If your JS is at the bottom of the page, the user can read the content etc while she is waiting to interact with the page.
  • 28. Handphone/ devices development 4 Minimise HTTP requests ● The slowest part of rendering your pages on handphones is requesting a file (JS/ CSS/ image) over the network ● Combine JS into one file. Same with CSS. ● Use CSS sprites to combine decorative images ● Consider encoding images directly in your page as data URLs ● Use SVG or <canvas> for images
  • 29. Handphone/ devices development 5 Use CSS Media Queries to reformat your page for different devices @media all and (min-width: 480px) and (max-width: 800px) {your CSS here} @media all and (min-width: 400px) and (max-width: 480px) {other CSS here}
  • 30. The Standards-based workflow ● Know and understand your tool set. ● Use the right tools (HTML, CSS, JS, Media Queries). ● Validate your code (validator.w3.org, JS Lint). ● Use Opera Dragonfly and debug menu to hunt down errors and kill them, or just see what's going on. ● Check your work regularly in Opera desktop at different screen widths, Opera Mini and other browsers. ● This is an iterative cycle. It will save time.
  • 31. Why you need to know Open Standards ● oppose dominance by one corporation and so promote choice ● promote inclusion (slower networks, older computers, people with disabilities) ● lower development cost - work smarter, not cheaper ● These will be hot skills in a few months' time: get them now!
  • 32. Terima Kasih [email protected], www.opera.com/developer www.brucelawson.co.uk, twitter.com/brucel www.html5doctor.com