SlideShare a Scribd company logo
1 of 29
Download to read offline
HTML5, State of art

           june, 2
Presented by Nelson Monteiro,
            5242


                                1
Agenda
• What is HTML5                             • State of mobile web
• HTML5 brief history                         development
• Where are we now?                            – HTML5 API usage
• Mobile webkit browsers                       – Mobile browser os
  support                                        choice
• New rules/ new tags                       • Native apps vs Web apps
   – semantic web                           • Advantages of mobile apps
                                              using html5
   – video
                                            • Examples
   – canvas
                                            • Useful links
   – local storage
                                            • Questions?
   – geolocation
   – offline applications
                1º Simpósio do Mestrado em Computação Móvel     2
                                                                          2
What is HTML5

•   the natural evolution of html?
•   the lost battle of xhtml2?
•   the union between whatwg an w3c?
•   the end of native apps?
•   HTML + CSS + javascript?




               1º Simpósio do Mestrado em Computação Móvel         3
                                                                         3
HTML5 brief history

• 1999: HTML 4.01 was released
• 2002: w3c start XHTML2
• 2004: Web Hypertext Application Technology Working
  Group (WHATWG) - Apple, Mozilla and Opera - started
  work on Web Applications 1.0
• 2007: W3C drops XHTML and forms HTMLWG
• 2008: first draft of HTML5 is published
• June 2011: HTML5 Working Draft has reached its Last
  Call milestone




              1º Simpósio do Mestrado em Computação Móvel   4
                                                                4
Where are we now?




• Current State:
  http://www.whatwg.org/specs/web-apps/current-work/multipage/

                 1º Simpósio do Mestrado em Computação Móvel     5
                                                                     5
Mobile webkit browsers support




http://radar.oreilly.com/2010/05/mobile-operating-systems-and-b.html


                               1º Simpósio do Mestrado em Computação Móvel   6
                                                                                 6
New rules/ new tags
Semantic Web

• Before HTML5                        • After HTML5




         1º Simpósio do Mestrado em Computação Móvel   7
                                                           7
New rules/ new tags
Video
<video width="640" height="360" controls>
  <source src="vid.mp4" type="video/mp4" /><!-- Safari / iOS video                                -->

  <source src="vid.ogv" type="video/ogg" /><!-- Firefox3.6+ / Opera                               10.5+
-->
      <source src="vid.webm" type="video/webm" /><!--                         Chrome10+, Ffx4+,
Opera10.6+ -->
</video>




http://diveintohtml5.org/video.html

                                1º Simpósio do Mestrado em Computação Móvel           8
                                                                                                          8
New rules/ new tags
Video




        1º Simpósio do Mestrado em Computação Móvel   9
                                                          9
New rules/ new tags
Video
Advantages:

• no plugins needed
• direct video watching
• interaction between video and web app




              1º Simpósio do Mestrado em Computação Móvel   10
                                                                 10
New rules/ new tags
Canvas
 <script type="text/javascript">
 if (Modernizr.canvas) {
    var c = document.createElement('canvas');
    var context = c.getContext('2d');
    //
    context.fillStyle = "rgb(200,0,0)";
    context.fillRect (10, 10, 55, 50);
    context.fillStyle = "rgba(0, 0, 200, 0.5)";
    context.fillRect (30, 30, 55, 50);
    //
    document.getElementById('chartContainer').appendChild(c);
 }
 </script>




http://diveintohtml5.org/canvas.html

                                1º Simpósio do Mestrado em Computação Móvel   11
                                                                                   11
New rules/ new tags
Canvas




         1º Simpósio do Mestrado em Computação Móvel   12
                                                            12
New rules/ new tags
Canvas
Advantages:
• no plugins needed
• creating interactive/ dynamic charts
• creating interactive/ dynamic maps




               1º Simpósio do Mestrado em Computação Móvel   13
                                                                  13
New rules/ new tags
Local Storage
function saveGameState() {

         if (!supportsLocalStorage()) { return false; }

         localStorage["halma.game.in.progress"] = gGameInProgress;

         for (var i = 0; i < kNumPieces; i++) {

         localStorage["halma.piece." + i + ".row"] = gPieces[i].row;

         localStorage["halma.piece." + i + ".column"] = gPieces[i].column;

     }




http://diveintohtml5.org/storage.html

                               1º Simpósio do Mestrado em Computação Móvel   14
                                                                                  14
New rules/ new tags
Local Storage




           1º Simpósio do Mestrado em Computação Móvel   15
                                                              15
New rules/ new tags
Local Storage
Advantages:

•   persists beyond a page refresh
•   on the client
•   isn’t transmitted to the server
•   5 Mb of storage




                1º Simpósio do Mestrado em Computação Móvel   16
                                                                   16
New rules/ new tags
Geolocation
function get_location() {

    navigator.geolocation.getCurrentPosition(show_map);

}

function show_map(position) {

    var latitude = position.coords.latitude;

    var longitude = position.coords.longitude;

    // let's show a map or do something interesting!

}




http://diveintohtml5.org/geolocation.html

                               1º Simpósio do Mestrado em Computação Móvel   17
                                                                                  17
New rules/ new tags
Geolocation




          1º Simpósio do Mestrado em Computação Móvel   18
                                                             18
New rules/ new tags
Geolocation
Advantages:
• no plugins needed
• show current location on map
• deliver content for your location only




               1º Simpósio do Mestrado em Computação Móvel   19
                                                                  19
New rules/ new tags
Offline Application
<!DOCTYPE HTML>
                                                                    CACHE	
  MANIFEST
<html manifest="/cache.manifest">
                                                                    /clock.css
<body>
                                                                    /clock.js
...
                                                                    /clock-­‐face.jpg
</body>

</html>




http://diveintohtml5.org/offline.html

                                 1º Simpósio do Mestrado em Computação Móvel            20
                                                                                             20
New rules/ new tags
Offline Application
Advantages:

• Working with the application offline
• New data downloaded when online again




              1º Simpósio do Mestrado em Computação Móvel   21
                                                                 21
State mobile web development
  • HTML5 API usage




http://www.webdirections.org/sotmw2011/technologies/
                               1º Simpósio do Mestrado em Computação Móvel   22
                                                                                  22
State mobile web development
  • HTML5 API usage




http://www.webdirections.org/sotmw2011/technologies/
                               1º Simpósio do Mestrado em Computação Móvel   23
                                                                                  23
State mobile web development
  • Mobile browser os choice




http://www.webdirections.org/sotmw2011/browsers-and-platforms/
                               1º Simpósio do Mestrado em Computação Móvel   24
                                                                                  24
Native apps vs. Web apps
  Native                                          Web
• access to app store                        • no app store
• access to device api                       • no access to device api
• native UI experience                       • challenge creating device UI
• good performance                           • smaller performance
• bigger learning curve                      • ease of learning
• no cross platform                          • ease of cross platform
  deployment                                   development
• long development time                      • ease of development
• upgrades need to be                        • instant upgrades
  submited to app store                      • no app store restrictions
• App store restrictions

                1º Simpósio do Mestrado em Computação Móvel       25
                                                                              25
Advantages of mobile apps using html5

•   Geolocation API
•   Offline Storage
•   Offline Cache
•   Multi-touch Event API
•   Vídeo
•   Canvas
•   Fancier styles and transitions
•   Great javascript engine




                 1º Simpósio do Mestrado em Computação Móvel   26
                                                                    26
Examples
• http://optimus.usatoday.com/
• http://foursquareplayground.com/
• http://everytimezone.com/




               1º Simpósio do Mestrado em Computação Móvel     27
                                                                    27
Useful links
•   http://www.slideshare.net/MrJ1971/html5-and-the-mobile-web
•   http://www.slideshare.net/glenn.kelman/html-5-vs-native-mobile-applications
•   http://www.slideshare.net/phish108/html5-for-mobiles
•   http://www.slideshare.net/brucelawson/web-anywhere-mobile-optimisation-
    with-html5-css3-javascript
•   http://www.slideshare.net/didoo/html5-for-mobile
•   http://www.slideshare.net/batmoo/html5-css3-and-other-fancy-buzzwords
•   http://www.slideshare.net/wolframkriesing/html5-apps-mobile-developer-
    summit-bangalore
•   http://www.slideshare.net/docdoku/html-5-ou-lvolution-majeure-du-web-et-
    de-linternet-mobile
•   http://www.slideshare.net/pp.koch/the-future-of-the-mobile-web
•   http://www.slideshare.net/marcelioleal/html5overviewpdf
•   http://www.slideshare.net/zibin/brief-history-of-html5-7977732
•   http://www.slideshare.net/elisabethrobson/html5-whats-it-all-about
•   http://www.slideshare.net/marcelioleal/html5overviewpdf
•   http://www.whatwg.org/specs/web-apps/current-work/multipage/
•   http://devfiles.myopera.com/articles/572/idlist-url.htm


                     1º Simpósio do Mestrado em Computação Móvel        28
                                                                                  28
Questions?




1º Simpósio do Mestrado em Computação Móvel       29
                                                       29

More Related Content

Viewers also liked (18)

Zendesk PRO Tips
Zendesk PRO TipsZendesk PRO Tips
Zendesk PRO Tips
 
Weather17th 20th
Weather17th 20thWeather17th 20th
Weather17th 20th
 
Steaua bucuresti
Steaua bucurestiSteaua bucuresti
Steaua bucuresti
 
Weather 12th 16th
Weather 12th 16thWeather 12th 16th
Weather 12th 16th
 
Building your Personal Brand
Building your Personal BrandBuilding your Personal Brand
Building your Personal Brand
 
Gami offshorent - executive overview
Gami   offshorent - executive overviewGami   offshorent - executive overview
Gami offshorent - executive overview
 
Responsabilidad
ResponsabilidadResponsabilidad
Responsabilidad
 
Stop motion
Stop motionStop motion
Stop motion
 
Aboutgoosumahobu20120401
Aboutgoosumahobu20120401Aboutgoosumahobu20120401
Aboutgoosumahobu20120401
 
Tomaron la UNTECS...
Tomaron la UNTECS...Tomaron la UNTECS...
Tomaron la UNTECS...
 
Offshorent executive overview
Offshorent executive overviewOffshorent executive overview
Offshorent executive overview
 
Pla de futur de Sant Antoni
Pla de futur de Sant AntoniPla de futur de Sant Antoni
Pla de futur de Sant Antoni
 
Responsabilidad
ResponsabilidadResponsabilidad
Responsabilidad
 
101202 firmenpräsi druckversion_e_low
101202 firmenpräsi druckversion_e_low101202 firmenpräsi druckversion_e_low
101202 firmenpräsi druckversion_e_low
 
Menkes bp dr.ricca
Menkes bp dr.riccaMenkes bp dr.ricca
Menkes bp dr.ricca
 
Gravação do Clip "Promessa"
Gravação do Clip "Promessa"Gravação do Clip "Promessa"
Gravação do Clip "Promessa"
 
Responsabilidad
ResponsabilidadResponsabilidad
Responsabilidad
 
Stop motion
Stop motionStop motion
Stop motion
 

Similar to Estado da Arte HTML5

Make the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open SourceMake the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open SourcePerfecto by Perforce
 
JCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxJCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxGrace Jansen
 
MadridJug From Monolith to k8s with Jenkins X and Zeebe
MadridJug From Monolith to k8s with Jenkins X and ZeebeMadridJug From Monolith to k8s with Jenkins X and Zeebe
MadridJug From Monolith to k8s with Jenkins X and ZeebeMauricio (Salaboy) Salatino
 
HTML5 and Google Chrome - DevFest09
HTML5 and Google Chrome - DevFest09HTML5 and Google Chrome - DevFest09
HTML5 and Google Chrome - DevFest09mihaiionescu
 
"The working architecture of NodeJs applications" Viktor Turskyi
"The working architecture of NodeJs applications" Viktor Turskyi"The working architecture of NodeJs applications" Viktor Turskyi
"The working architecture of NodeJs applications" Viktor TurskyiJulia Cherniak
 
Java @ Cloud - Setor Público SP
Java @ Cloud - Setor Público SPJava @ Cloud - Setor Público SP
Java @ Cloud - Setor Público SPIlan Salviano
 
What's new in App Engine and intro to App Engine for Business
What's new in App Engine and intro to App Engine for BusinessWhat's new in App Engine and intro to App Engine for Business
What's new in App Engine and intro to App Engine for BusinessChris Schalk
 
Plone FSR
Plone FSRPlone FSR
Plone FSRfulv
 
Building modern web sites with ASP .Net Web API, WebSockets and RSignal
Building modern web sites with ASP .Net Web API, WebSockets and RSignalBuilding modern web sites with ASP .Net Web API, WebSockets and RSignal
Building modern web sites with ASP .Net Web API, WebSockets and RSignalAlessandro Pilotti
 
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignalITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignalITCamp
 
Advanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive WebAdvanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive WebPerfecto by Perforce
 
Node.js what's next (Index 2018)
Node.js what's next (Index 2018)Node.js what's next (Index 2018)
Node.js what's next (Index 2018)Gibson Fahnestock
 
#1 - HTML5 Overview
#1 - HTML5 Overview#1 - HTML5 Overview
#1 - HTML5 Overviewiloveigloo
 
GIDS_15FactorWorkshop.pdf
GIDS_15FactorWorkshop.pdfGIDS_15FactorWorkshop.pdf
GIDS_15FactorWorkshop.pdfRichHagarty
 
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...Andrey Sadovykh
 
Continuous Delivery di una WebApp - by example
Continuous Delivery di una WebApp - by exampleContinuous Delivery di una WebApp - by example
Continuous Delivery di una WebApp - by exampleFabio Mora
 
Continuous Delivery di una webapp by example - Fabio Mora - Codemotion Roma 2015
Continuous Delivery di una webapp by example - Fabio Mora - Codemotion Roma 2015Continuous Delivery di una webapp by example - Fabio Mora - Codemotion Roma 2015
Continuous Delivery di una webapp by example - Fabio Mora - Codemotion Roma 2015Codemotion
 
SOA Knowledge Kit, Developer Productivity and Performance Comparison Analysis
SOA Knowledge Kit, Developer Productivity  and Performance Comparison AnalysisSOA Knowledge Kit, Developer Productivity  and Performance Comparison Analysis
SOA Knowledge Kit, Developer Productivity and Performance Comparison AnalysisClever Moe
 
How to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScaleHow to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScalePhil Leggetter
 

Similar to Estado da Arte HTML5 (20)

Make the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open SourceMake the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open Source
 
JCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxJCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptx
 
MadridJug From Monolith to k8s with Jenkins X and Zeebe
MadridJug From Monolith to k8s with Jenkins X and ZeebeMadridJug From Monolith to k8s with Jenkins X and Zeebe
MadridJug From Monolith to k8s with Jenkins X and Zeebe
 
HTML5 and Google Chrome - DevFest09
HTML5 and Google Chrome - DevFest09HTML5 and Google Chrome - DevFest09
HTML5 and Google Chrome - DevFest09
 
"The working architecture of NodeJs applications" Viktor Turskyi
"The working architecture of NodeJs applications" Viktor Turskyi"The working architecture of NodeJs applications" Viktor Turskyi
"The working architecture of NodeJs applications" Viktor Turskyi
 
Java @ Cloud - Setor Público SP
Java @ Cloud - Setor Público SPJava @ Cloud - Setor Público SP
Java @ Cloud - Setor Público SP
 
What's new in App Engine and intro to App Engine for Business
What's new in App Engine and intro to App Engine for BusinessWhat's new in App Engine and intro to App Engine for Business
What's new in App Engine and intro to App Engine for Business
 
Plone FSR
Plone FSRPlone FSR
Plone FSR
 
Building modern web sites with ASP .Net Web API, WebSockets and RSignal
Building modern web sites with ASP .Net Web API, WebSockets and RSignalBuilding modern web sites with ASP .Net Web API, WebSockets and RSignal
Building modern web sites with ASP .Net Web API, WebSockets and RSignal
 
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignalITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignal
 
Advanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive WebAdvanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive Web
 
Node.js what's next (Index 2018)
Node.js what's next (Index 2018)Node.js what's next (Index 2018)
Node.js what's next (Index 2018)
 
#1 - HTML5 Overview
#1 - HTML5 Overview#1 - HTML5 Overview
#1 - HTML5 Overview
 
HTML5 in IE9
HTML5 in IE9HTML5 in IE9
HTML5 in IE9
 
GIDS_15FactorWorkshop.pdf
GIDS_15FactorWorkshop.pdfGIDS_15FactorWorkshop.pdf
GIDS_15FactorWorkshop.pdf
 
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
 
Continuous Delivery di una WebApp - by example
Continuous Delivery di una WebApp - by exampleContinuous Delivery di una WebApp - by example
Continuous Delivery di una WebApp - by example
 
Continuous Delivery di una webapp by example - Fabio Mora - Codemotion Roma 2015
Continuous Delivery di una webapp by example - Fabio Mora - Codemotion Roma 2015Continuous Delivery di una webapp by example - Fabio Mora - Codemotion Roma 2015
Continuous Delivery di una webapp by example - Fabio Mora - Codemotion Roma 2015
 
SOA Knowledge Kit, Developer Productivity and Performance Comparison Analysis
SOA Knowledge Kit, Developer Productivity  and Performance Comparison AnalysisSOA Knowledge Kit, Developer Productivity  and Performance Comparison Analysis
SOA Knowledge Kit, Developer Productivity and Performance Comparison Analysis
 
How to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that ScaleHow to Build Single Page HTML5 Apps that Scale
How to Build Single Page HTML5 Apps that Scale
 

More from MCM-IPG

Mobile Web Ubíqua
Mobile Web UbíquaMobile Web Ubíqua
Mobile Web UbíquaMCM-IPG
 
Segurança em Bluetooth
Segurança em BluetoothSegurança em Bluetooth
Segurança em BluetoothMCM-IPG
 
IDog Um gadget que é um cão de guarda
IDog Um gadget que é um cão de guardaIDog Um gadget que é um cão de guarda
IDog Um gadget que é um cão de guardaMCM-IPG
 
Avaliação em mobile Websites
Avaliação em mobile WebsitesAvaliação em mobile Websites
Avaliação em mobile WebsitesMCM-IPG
 
KNX Automatica
KNX Automatica KNX Automatica
KNX Automatica MCM-IPG
 

More from MCM-IPG (6)

Mobile Web Ubíqua
Mobile Web UbíquaMobile Web Ubíqua
Mobile Web Ubíqua
 
Segurança em Bluetooth
Segurança em BluetoothSegurança em Bluetooth
Segurança em Bluetooth
 
Carpool
CarpoolCarpool
Carpool
 
IDog Um gadget que é um cão de guarda
IDog Um gadget que é um cão de guardaIDog Um gadget que é um cão de guarda
IDog Um gadget que é um cão de guarda
 
Avaliação em mobile Websites
Avaliação em mobile WebsitesAvaliação em mobile Websites
Avaliação em mobile Websites
 
KNX Automatica
KNX Automatica KNX Automatica
KNX Automatica
 

Recently uploaded

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 

Estado da Arte HTML5

  • 1. HTML5, State of art june, 2 Presented by Nelson Monteiro, 5242 1
  • 2. Agenda • What is HTML5 • State of mobile web • HTML5 brief history development • Where are we now? – HTML5 API usage • Mobile webkit browsers – Mobile browser os support choice • New rules/ new tags • Native apps vs Web apps – semantic web • Advantages of mobile apps using html5 – video • Examples – canvas • Useful links – local storage • Questions? – geolocation – offline applications 1º Simpósio do Mestrado em Computação Móvel 2 2
  • 3. What is HTML5 • the natural evolution of html? • the lost battle of xhtml2? • the union between whatwg an w3c? • the end of native apps? • HTML + CSS + javascript? 1º Simpósio do Mestrado em Computação Móvel 3 3
  • 4. HTML5 brief history • 1999: HTML 4.01 was released • 2002: w3c start XHTML2 • 2004: Web Hypertext Application Technology Working Group (WHATWG) - Apple, Mozilla and Opera - started work on Web Applications 1.0 • 2007: W3C drops XHTML and forms HTMLWG • 2008: first draft of HTML5 is published • June 2011: HTML5 Working Draft has reached its Last Call milestone 1º Simpósio do Mestrado em Computação Móvel 4 4
  • 5. Where are we now? • Current State: http://www.whatwg.org/specs/web-apps/current-work/multipage/ 1º Simpósio do Mestrado em Computação Móvel 5 5
  • 6. Mobile webkit browsers support http://radar.oreilly.com/2010/05/mobile-operating-systems-and-b.html 1º Simpósio do Mestrado em Computação Móvel 6 6
  • 7. New rules/ new tags Semantic Web • Before HTML5 • After HTML5 1º Simpósio do Mestrado em Computação Móvel 7 7
  • 8. New rules/ new tags Video <video width="640" height="360" controls> <source src="vid.mp4" type="video/mp4" /><!-- Safari / iOS video --> <source src="vid.ogv" type="video/ogg" /><!-- Firefox3.6+ / Opera 10.5+ --> <source src="vid.webm" type="video/webm" /><!-- Chrome10+, Ffx4+, Opera10.6+ --> </video> http://diveintohtml5.org/video.html 1º Simpósio do Mestrado em Computação Móvel 8 8
  • 9. New rules/ new tags Video 1º Simpósio do Mestrado em Computação Móvel 9 9
  • 10. New rules/ new tags Video Advantages: • no plugins needed • direct video watching • interaction between video and web app 1º Simpósio do Mestrado em Computação Móvel 10 10
  • 11. New rules/ new tags Canvas <script type="text/javascript"> if (Modernizr.canvas) { var c = document.createElement('canvas'); var context = c.getContext('2d'); // context.fillStyle = "rgb(200,0,0)"; context.fillRect (10, 10, 55, 50); context.fillStyle = "rgba(0, 0, 200, 0.5)"; context.fillRect (30, 30, 55, 50); // document.getElementById('chartContainer').appendChild(c); } </script> http://diveintohtml5.org/canvas.html 1º Simpósio do Mestrado em Computação Móvel 11 11
  • 12. New rules/ new tags Canvas 1º Simpósio do Mestrado em Computação Móvel 12 12
  • 13. New rules/ new tags Canvas Advantages: • no plugins needed • creating interactive/ dynamic charts • creating interactive/ dynamic maps 1º Simpósio do Mestrado em Computação Móvel 13 13
  • 14. New rules/ new tags Local Storage function saveGameState() { if (!supportsLocalStorage()) { return false; } localStorage["halma.game.in.progress"] = gGameInProgress; for (var i = 0; i < kNumPieces; i++) { localStorage["halma.piece." + i + ".row"] = gPieces[i].row; localStorage["halma.piece." + i + ".column"] = gPieces[i].column; } http://diveintohtml5.org/storage.html 1º Simpósio do Mestrado em Computação Móvel 14 14
  • 15. New rules/ new tags Local Storage 1º Simpósio do Mestrado em Computação Móvel 15 15
  • 16. New rules/ new tags Local Storage Advantages: • persists beyond a page refresh • on the client • isn’t transmitted to the server • 5 Mb of storage 1º Simpósio do Mestrado em Computação Móvel 16 16
  • 17. New rules/ new tags Geolocation function get_location() { navigator.geolocation.getCurrentPosition(show_map); } function show_map(position) { var latitude = position.coords.latitude; var longitude = position.coords.longitude; // let's show a map or do something interesting! } http://diveintohtml5.org/geolocation.html 1º Simpósio do Mestrado em Computação Móvel 17 17
  • 18. New rules/ new tags Geolocation 1º Simpósio do Mestrado em Computação Móvel 18 18
  • 19. New rules/ new tags Geolocation Advantages: • no plugins needed • show current location on map • deliver content for your location only 1º Simpósio do Mestrado em Computação Móvel 19 19
  • 20. New rules/ new tags Offline Application <!DOCTYPE HTML> CACHE  MANIFEST <html manifest="/cache.manifest"> /clock.css <body> /clock.js ... /clock-­‐face.jpg </body> </html> http://diveintohtml5.org/offline.html 1º Simpósio do Mestrado em Computação Móvel 20 20
  • 21. New rules/ new tags Offline Application Advantages: • Working with the application offline • New data downloaded when online again 1º Simpósio do Mestrado em Computação Móvel 21 21
  • 22. State mobile web development • HTML5 API usage http://www.webdirections.org/sotmw2011/technologies/ 1º Simpósio do Mestrado em Computação Móvel 22 22
  • 23. State mobile web development • HTML5 API usage http://www.webdirections.org/sotmw2011/technologies/ 1º Simpósio do Mestrado em Computação Móvel 23 23
  • 24. State mobile web development • Mobile browser os choice http://www.webdirections.org/sotmw2011/browsers-and-platforms/ 1º Simpósio do Mestrado em Computação Móvel 24 24
  • 25. Native apps vs. Web apps Native Web • access to app store • no app store • access to device api • no access to device api • native UI experience • challenge creating device UI • good performance • smaller performance • bigger learning curve • ease of learning • no cross platform • ease of cross platform deployment development • long development time • ease of development • upgrades need to be • instant upgrades submited to app store • no app store restrictions • App store restrictions 1º Simpósio do Mestrado em Computação Móvel 25 25
  • 26. Advantages of mobile apps using html5 • Geolocation API • Offline Storage • Offline Cache • Multi-touch Event API • Vídeo • Canvas • Fancier styles and transitions • Great javascript engine 1º Simpósio do Mestrado em Computação Móvel 26 26
  • 27. Examples • http://optimus.usatoday.com/ • http://foursquareplayground.com/ • http://everytimezone.com/ 1º Simpósio do Mestrado em Computação Móvel 27 27
  • 28. Useful links • http://www.slideshare.net/MrJ1971/html5-and-the-mobile-web • http://www.slideshare.net/glenn.kelman/html-5-vs-native-mobile-applications • http://www.slideshare.net/phish108/html5-for-mobiles • http://www.slideshare.net/brucelawson/web-anywhere-mobile-optimisation- with-html5-css3-javascript • http://www.slideshare.net/didoo/html5-for-mobile • http://www.slideshare.net/batmoo/html5-css3-and-other-fancy-buzzwords • http://www.slideshare.net/wolframkriesing/html5-apps-mobile-developer- summit-bangalore • http://www.slideshare.net/docdoku/html-5-ou-lvolution-majeure-du-web-et- de-linternet-mobile • http://www.slideshare.net/pp.koch/the-future-of-the-mobile-web • http://www.slideshare.net/marcelioleal/html5overviewpdf • http://www.slideshare.net/zibin/brief-history-of-html5-7977732 • http://www.slideshare.net/elisabethrobson/html5-whats-it-all-about • http://www.slideshare.net/marcelioleal/html5overviewpdf • http://www.whatwg.org/specs/web-apps/current-work/multipage/ • http://devfiles.myopera.com/articles/572/idlist-url.htm 1º Simpósio do Mestrado em Computação Móvel 28 28
  • 29. Questions? 1º Simpósio do Mestrado em Computação Móvel 29 29