SlideShare a Scribd company logo
1 of 26
Download to read offline
Commission Open Source




     http://www.slicefactory.com




                          Stefano Crosta
                          stefano@slicefactory.com
Commission Open Source




                                   &


      Slice the web up!
Save and share what matters...
      http://inslices.com              <!DOCTYPE html>
Commission Open Source



CSS 3 & Forms
Commission Open Source



CSS 3 & Forms              text-overflow: ellipsis;   (-moz-)border-radius: 5px 10px 10px 5px;
                           overflow: hidden;
                           white-space: nowrap;       (-moz-)box-shadow: 0 2px 5px 0 gray;




 placeholder=“type ....”
Commission Open Source



Datasets
Tag attribute data-yourtagname




Pour:


  Rajouter de l'information
sémantique dans une page

  À utiliser pour des donner internes
– JavaScript ou css, non pas pour
exposer des données vers des
crawlers

  HTML valide!
Commission Open Source


  'Structure' tags: article, aside, section, header, footer...




                                                           Utiliser rel="bookmark"
                                                            Utiliser rel="bookmark"
Avantages:                                                 pour lier vers les
                                                            pour lier vers les
  Avantages:
* * markup plus lisible
  markup plus lisible                                      pages <article>
                                                            pages <article>
* * facilité pour les moteurs de recherche
  facilité pour les moteurs de recherche                   correspondantes
                                                            correspondantes
Commission Open Source


     'Structure' tags: article, aside, section, header, footer...
header

aside

section

article
Commission Open Source



RDFa et donnée semantiques
HTML5 va intégrer RDFa, qui était avant une spec lié à XHTML - encore en draft...!
http://dev.w3.org/html5/rdfa/
Guerre RDFa – MicroData (Microformat) ?

HTML+RDFa 1.1 - Support for RDFa in HTML4 and HTML5
W3C Editor's Draft 05 July 2010
  This specification defines rules and guidelines for adapting the RDFa Core 1.1 specification
    This specification defines rules and guidelines for adapting the RDFa Core 1.1 specification
  for use in HTML5 and XHTML5. The rules defined in this specification not only apply to
    for use in HTML5 and XHTML5. The rules defined in this specification not only apply to
  HTML5 documents in non-XML and XML mode, but also to HTML4 and XHTML documents
    HTML5 documents in non-XML and XML mode, but also to HTML4 and XHTML documents
  interpreted through the HTML5 parsing rules.
    interpreted through the HTML5 parsing rules.
  There are a number of substantive differences between this version and its predecessor,
    There are a number of substantive differences between this version and its predecessor,
  including:
    including:
  ●
    Inheritance of basic processing rules from RDFa 1.1 [RDFA-CORE], instead of
      Inheritance of basic processing rules from RDFa 1.1 [RDFA-CORE], instead of
      ●
  XHTML+RDFa 1.0 [RDFA-SYNTAX]
    XHTML+RDFa 1.0 [RDFA-SYNTAX]
  ●
   Inclusion of the HTML Default Vocabulary Terms, which mirror the XHTML Default
    ●
     Inclusion of the HTML Default Vocabulary Terms, which mirror the XHTML Default
  Vocabulary Terms, for the purpose of HTML/XHTML interoperability
    Vocabulary Terms, for the purpose of HTML/XHTML interoperability
  ●
   Inclusion of a HTML 4.01 + RDFa 1.1 DTD for validation purposes
    ●
     Inclusion of a HTML 4.01 + RDFa 1.1 DTD for validation purposes
  ●
   Added normative definition of @version attribute.
    ●
     Added normative definition of @version attribute.
Commission Open Source



postMessage()
Communication entre différents frames sur une page
Commission Open Source



JavaScript
 * Workers pas encore murs (eg. Mozilla bug 538440* just fixed)
 * On utilisait déjà JQuery mais performances accrues pour
getElementsByClassName() et QuerySelectorAll()
 * WebStorage pour sauvegarder des données sans besoin de passer pas
une connexion avec nos serveurs
 * Web Sockets... SOOON! ('real time, server push...')

CSS3

 * Attention aux perfs avec E[foo~="bar"] (et *=, $=, …) !
Même si div.value == div[class~=value] les navigateurs ne sont pas du tout
optimisé pareil!




    * https://bugzilla.mozilla.org/show_bug.cgi?id=538440
Commission Open Source



En général...
Bcp d'améliorations importantes, qui facilitent la vie des développeurs,
mais...

Il faut attendre l'implémentation dans les navigateurs: support très partiel
pour...
• Structural tags pour IE: document.createElement('header');
• CSS3
• Nouveaux contrôles pour les formulaires
• Tags multimedia
• Canvas et certains selecteurs: problèmes mémoire et performance!
• ...
Commission Open Source
Implementing the Media
  Fragments URI Specification:
Media Fragments Firefox Extension
 Raphaël Troncy <raphael.troncy@eurecom.fr>
 @rtroncy
         Commission Open Source
Commission Open Source




 Use Case
• Aidem received on her Facebook
  wall a status message containing a
  Media Fragment URI
   – Use a ‘#’ !
   – Highlight a video
     sequence
   – Highlight a region
     to pay attention to
Commission Open Source




  Media Fragments URI
                                              Provide URI-based
                                              mechanisms for uniquely
                                              identifying fragments for
                                              media objects on the Web,
                                              such as video, audio, and
                                              images.


Photo credit: Robert Freund
Commission Open Source




Requirements
• r01: Temporal fragments:
   – a clipping along the time dimension from a start to an end time that
     are within the duration of the media resource
• r02: Spatial fragments:
   – a clipping of an image region, only consider rectangular regions
• r03: Track fragments:
   – a track as exposed by a container format of the media resource
• r04: Named fragments:
   – a media fragment - either a track, a time section, or a spatial region -
     that has been given a name through some sort of annotation
     mechanism
Commission Open Source




Media Fragments Processing

• General principle:
   – Smart UA will strip out the fragment definition and encode
     it into custom http headers ...
   – (Media) Servers will handle the request, slice the media
     content and serve just the fragment while old ones will
     serve the whole resource
• Four recipes proposed for:
   – Enabling caching or not;
   – Perform unit to bytes mapping on server or client side
Commission Open Source




Media Fragments Rendering (temporal)



Original resource
length




Fragment beginning      Playback progress     Fragment end
Commission Open Source




   Media Fragments Rendering (spatial)



                                         highlighted
                                         fragment
semi-opaque
overlay
Commission Open Source




Recipe: serving playable resources
• The UA sends a Range request expressed in a custom unit (e.g. seconds),
  the server provides a multipart message body reply (multipart/byte-
  ranges) containing not only the bytes corresponding to requested media
  fragment but also the media header data making the resource playable.
Commission Open Source




Recipe: serving playable resources
Commission Open Source




Observing HTTP Traffic
          HTTP
          request
    http-on-modify-request




                           NinSuna
                           Server

         HTTP
         response
   http-on-examine-response
Commission Open Source




Examining HTTP Traffic

• HTTP request:
  – retrieving URI
  – parsing key=values pairs from the fragment part
  – setting Range header
• HTTP response:
  – checking Content-Type
    and Content-Range-Mapping headers values
  – attaching custom playback controls to the HTML5 page
  – creating spatial dimension overlay (if specified)
Commission Open Source




Requesting a temporal fragment
HTTP/1.1 206 Partial Content

Content-Type: multipart/byteranges;boundary=End
Content-Range-Mapping:
 {t:npt 4.8-14.8/0-38.33;include-setup}
={bytes 0-5998,629578-1690588/4055466}
...

--End
Content-Type: video/ogg
Content-Range: bytes 0-5997/4055466

{binary data}
--End
Content-Type: video/ogg
Content-Range: bytes 629578-1690588/4055466

{binary data}
--End
--End--
Commission Open Source




  Requesting a temporal fragment
  • We attach a Stream Listener to the HTTP channel
HTTP/1.1 206 Partial Content

Content-Type:
multipart/byteranges;boundary=End
...
                                              HTTP/1.1 206 Partial Content
--End
Content-Type: video/ogg                       Content-Type: video/ogg
Content-Range: bytes 0-5997/4055466           ...

{binary data}                                 {binary data}
--End                                         {binary data}
Content-Type: video/ogg
Content-Range: bytes 629578-
1690588/4055466

{binary data}
--End
--End--
Commission Open Source




Demo

More Related Content

What's hot

Apache installation and configurations
Apache installation and configurationsApache installation and configurations
Apache installation and configurations
Nikhil Jain
 
PyCon 2005 PyBlosxom
PyCon 2005 PyBlosxomPyCon 2005 PyBlosxom
PyCon 2005 PyBlosxom
Ted Leung
 
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
webhostingguy
 
Cck 소개 및 이슈 20091215 by 김석준
Cck 소개 및 이슈 20091215 by 김석준Cck 소개 및 이슈 20091215 by 김석준
Cck 소개 및 이슈 20091215 by 김석준
Creative Commons Korea
 

What's hot (16)

Apache installation and configurations
Apache installation and configurationsApache installation and configurations
Apache installation and configurations
 
Linux03_DNS
Linux03_DNSLinux03_DNS
Linux03_DNS
 
PyCon 2005 PyBlosxom
PyCon 2005 PyBlosxomPyCon 2005 PyBlosxom
PyCon 2005 PyBlosxom
 
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
 
SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmail
 
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
 
Apache Presentation
Apache PresentationApache Presentation
Apache Presentation
 
Apache HTTP Server
Apache HTTP ServerApache HTTP Server
Apache HTTP Server
 
Under the Covers with the Web
Under the Covers with the WebUnder the Covers with the Web
Under the Covers with the Web
 
Raj apache
Raj apacheRaj apache
Raj apache
 
Seminar_Final
Seminar_FinalSeminar_Final
Seminar_Final
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
Introduction to HTTP
Introduction to HTTPIntroduction to HTTP
Introduction to HTTP
 
Lession2 Xinetd
Lession2 XinetdLession2 Xinetd
Lession2 Xinetd
 
Hadoop 20111215
Hadoop 20111215Hadoop 20111215
Hadoop 20111215
 
Cck 소개 및 이슈 20091215 by 김석준
Cck 소개 및 이슈 20091215 by 김석준Cck 소개 및 이슈 20091215 by 김석준
Cck 소개 및 이슈 20091215 by 김석준
 

Viewers also liked (9)

The Amsterdam Program - IBSG - Feb 08
The Amsterdam Program - IBSG - Feb 08The Amsterdam Program - IBSG - Feb 08
The Amsterdam Program - IBSG - Feb 08
 
Connecting Cities: Achieving Sustainability Through Innovation
Connecting Cities: Achieving Sustainability Through InnovationConnecting Cities: Achieving Sustainability Through Innovation
Connecting Cities: Achieving Sustainability Through Innovation
 
Living%20 Labs E Almirall
Living%20 Labs E AlmirallLiving%20 Labs E Almirall
Living%20 Labs E Almirall
 
Grazia Concilio & Francesca Rizzo, phd Dipartimento di Architettura e Pianifi...
Grazia Concilio & Francesca Rizzo, phd Dipartimento di Architettura e Pianifi...Grazia Concilio & Francesca Rizzo, phd Dipartimento di Architettura e Pianifi...
Grazia Concilio & Francesca Rizzo, phd Dipartimento di Architettura e Pianifi...
 
User Reviews and Social Media: How Hoteliers Can Profit
User Reviews and Social Media: How Hoteliers Can ProfitUser Reviews and Social Media: How Hoteliers Can Profit
User Reviews and Social Media: How Hoteliers Can Profit
 
2011 Happy New Year
2011 Happy New Year2011 Happy New Year
2011 Happy New Year
 
Mikael Borjeson ENoLL
Mikael Borjeson ENoLLMikael Borjeson ENoLL
Mikael Borjeson ENoLL
 
Living Lab Expo 12102012
Living Lab Expo 12102012Living Lab Expo 12102012
Living Lab Expo 12102012
 
Italy
ItalyItaly
Italy
 

Similar to SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 Juillet - HTML 5 : une plateforme contemporaine pour le Web

HTML5 Programming
HTML5 ProgrammingHTML5 Programming
HTML5 Programming
hotrannam
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
tarensi
 
Media Source Extensions
Media Source ExtensionsMedia Source Extensions
Media Source Extensions
FITC
 
04.m3 cms streaming-protocol
04.m3 cms streaming-protocol04.m3 cms streaming-protocol
04.m3 cms streaming-protocol
tarensi
 
06.m3 cms set-upwebserver
06.m3 cms set-upwebserver06.m3 cms set-upwebserver
06.m3 cms set-upwebserver
tarensi
 

Similar to SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 Juillet - HTML 5 : une plateforme contemporaine pour le Web (20)

Basics of the Web Platform
Basics of the Web PlatformBasics of the Web Platform
Basics of the Web Platform
 
Evolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser SecurityEvolution Of The Web Platform & Browser Security
Evolution Of The Web Platform & Browser Security
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
 
HTML5 Programming
HTML5 ProgrammingHTML5 Programming
HTML5 Programming
 
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
 
전문가 토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가 토크릴레이 1탄 html5 전망 (전종홍 박사)전문가 토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가 토크릴레이 1탄 html5 전망 (전종홍 박사)
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
 
Media Source Extensions
Media Source ExtensionsMedia Source Extensions
Media Source Extensions
 
Understanding MPEG DASH
Understanding MPEG DASHUnderstanding MPEG DASH
Understanding MPEG DASH
 
04.m3 cms streaming-protocol
04.m3 cms streaming-protocol04.m3 cms streaming-protocol
04.m3 cms streaming-protocol
 
06.m3 cms set-upwebserver
06.m3 cms set-upwebserver06.m3 cms set-upwebserver
06.m3 cms set-upwebserver
 
Remix
RemixRemix
Remix
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
 
Html5v1
Html5v1Html5v1
Html5v1
 
Arcomem training Specifying Crawls Beginners
Arcomem training Specifying Crawls BeginnersArcomem training Specifying Crawls Beginners
Arcomem training Specifying Crawls Beginners
 
IE10 PP4 update for W3C HTML5 KIG
IE10 PP4 update for W3C HTML5 KIGIE10 PP4 update for W3C HTML5 KIG
IE10 PP4 update for W3C HTML5 KIG
 
How To Implement a CMS
How To Implement a CMSHow To Implement a CMS
How To Implement a CMS
 
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
 
unit1 part 1 sem4 php.docx
unit1 part 1 sem4 php.docxunit1 part 1 sem4 php.docx
unit1 part 1 sem4 php.docx
 
Asp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationAsp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentation
 

More from TelecomValley

More from TelecomValley (20)

Rapport d'activité SoFAB 2022
Rapport d'activité SoFAB 2022Rapport d'activité SoFAB 2022
Rapport d'activité SoFAB 2022
 
Rapport d'activité 2022
Rapport d'activité 2022Rapport d'activité 2022
Rapport d'activité 2022
 
Rapport d'activité 2021 - Telecom Valley
Rapport d'activité 2021 - Telecom ValleyRapport d'activité 2021 - Telecom Valley
Rapport d'activité 2021 - Telecom Valley
 
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
Livre blanc "Les métamorphoses de l'entreprise face à l'imprévu - Tome 1 : la...
 
Rapport d'activité SoFAB 2020
Rapport d'activité SoFAB 2020Rapport d'activité SoFAB 2020
Rapport d'activité SoFAB 2020
 
Rapport d'activité Telecom Valley 2020
Rapport d'activité Telecom Valley 2020Rapport d'activité Telecom Valley 2020
Rapport d'activité Telecom Valley 2020
 
Rapport d'activité SoFAB 2019
Rapport d'activité SoFAB 2019Rapport d'activité SoFAB 2019
Rapport d'activité SoFAB 2019
 
Rapport d'activité Telecom Valley 2019
Rapport d'activité Telecom Valley 2019Rapport d'activité Telecom Valley 2019
Rapport d'activité Telecom Valley 2019
 
Revue de presse Telecom Valley - Février 2020
Revue de presse Telecom Valley - Février 2020Revue de presse Telecom Valley - Février 2020
Revue de presse Telecom Valley - Février 2020
 
Revue de presse Telecom Valley - Janvier 2020
Revue de presse Telecom Valley - Janvier 2020Revue de presse Telecom Valley - Janvier 2020
Revue de presse Telecom Valley - Janvier 2020
 
Revue de presse Telecom Valley - Décembre 2019
Revue de presse Telecom Valley - Décembre 2019Revue de presse Telecom Valley - Décembre 2019
Revue de presse Telecom Valley - Décembre 2019
 
Revue de presse Telecom Valley - Novembre 2019
Revue de presse Telecom Valley - Novembre 2019Revue de presse Telecom Valley - Novembre 2019
Revue de presse Telecom Valley - Novembre 2019
 
Revue de presse Telecom Valley - Octobre 2019
Revue de presse Telecom Valley - Octobre 2019Revue de presse Telecom Valley - Octobre 2019
Revue de presse Telecom Valley - Octobre 2019
 
Revue de presse Telecom Valley - Septembre 2019
Revue de presse Telecom Valley - Septembre 2019Revue de presse Telecom Valley - Septembre 2019
Revue de presse Telecom Valley - Septembre 2019
 
Présentation Team France Export régionale - 29/11/19
Présentation Team France Export régionale - 29/11/19Présentation Team France Export régionale - 29/11/19
Présentation Team France Export régionale - 29/11/19
 
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...
2019 - NOURI - ALL4TEST- Le BDD pour decouvrir et specifier les besoins metie...
 
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...
Tester c'est bien, monitorer c'est mieux - 2019 - KISSI - Soirée du Test Logi...
 
Et si mon test était la spécification de mon application ? - JACOB - iWE - So...
Et si mon test était la spécification de mon application ? - JACOB - iWE - So...Et si mon test était la spécification de mon application ? - JACOB - iWE - So...
Et si mon test était la spécification de mon application ? - JACOB - iWE - So...
 
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFEA la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE
A la poursuite du bug perdu - 2019 - THEAULT - DI GIORGIO - ACPQUALIFE
 
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.12019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1
2019 - HAGE CHAHINE - ALTRAN - Presentation-DecouverteMondeAgile_V1.1
 

Recently uploaded

Recently uploaded (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 Juillet - HTML 5 : une plateforme contemporaine pour le Web

  • 1. Commission Open Source http://www.slicefactory.com Stefano Crosta stefano@slicefactory.com
  • 2. Commission Open Source & Slice the web up! Save and share what matters... http://inslices.com <!DOCTYPE html>
  • 4. Commission Open Source CSS 3 & Forms text-overflow: ellipsis; (-moz-)border-radius: 5px 10px 10px 5px; overflow: hidden; white-space: nowrap; (-moz-)box-shadow: 0 2px 5px 0 gray; placeholder=“type ....”
  • 5. Commission Open Source Datasets Tag attribute data-yourtagname Pour:  Rajouter de l'information sémantique dans une page  À utiliser pour des donner internes – JavaScript ou css, non pas pour exposer des données vers des crawlers  HTML valide!
  • 6. Commission Open Source 'Structure' tags: article, aside, section, header, footer... Utiliser rel="bookmark" Utiliser rel="bookmark" Avantages: pour lier vers les pour lier vers les Avantages: * * markup plus lisible markup plus lisible pages <article> pages <article> * * facilité pour les moteurs de recherche facilité pour les moteurs de recherche correspondantes correspondantes
  • 7. Commission Open Source 'Structure' tags: article, aside, section, header, footer... header aside section article
  • 8. Commission Open Source RDFa et donnée semantiques HTML5 va intégrer RDFa, qui était avant une spec lié à XHTML - encore en draft...! http://dev.w3.org/html5/rdfa/ Guerre RDFa – MicroData (Microformat) ? HTML+RDFa 1.1 - Support for RDFa in HTML4 and HTML5 W3C Editor's Draft 05 July 2010 This specification defines rules and guidelines for adapting the RDFa Core 1.1 specification This specification defines rules and guidelines for adapting the RDFa Core 1.1 specification for use in HTML5 and XHTML5. The rules defined in this specification not only apply to for use in HTML5 and XHTML5. The rules defined in this specification not only apply to HTML5 documents in non-XML and XML mode, but also to HTML4 and XHTML documents HTML5 documents in non-XML and XML mode, but also to HTML4 and XHTML documents interpreted through the HTML5 parsing rules. interpreted through the HTML5 parsing rules. There are a number of substantive differences between this version and its predecessor, There are a number of substantive differences between this version and its predecessor, including: including: ● Inheritance of basic processing rules from RDFa 1.1 [RDFA-CORE], instead of Inheritance of basic processing rules from RDFa 1.1 [RDFA-CORE], instead of ● XHTML+RDFa 1.0 [RDFA-SYNTAX] XHTML+RDFa 1.0 [RDFA-SYNTAX] ● Inclusion of the HTML Default Vocabulary Terms, which mirror the XHTML Default ● Inclusion of the HTML Default Vocabulary Terms, which mirror the XHTML Default Vocabulary Terms, for the purpose of HTML/XHTML interoperability Vocabulary Terms, for the purpose of HTML/XHTML interoperability ● Inclusion of a HTML 4.01 + RDFa 1.1 DTD for validation purposes ● Inclusion of a HTML 4.01 + RDFa 1.1 DTD for validation purposes ● Added normative definition of @version attribute. ● Added normative definition of @version attribute.
  • 9. Commission Open Source postMessage() Communication entre différents frames sur une page
  • 10. Commission Open Source JavaScript * Workers pas encore murs (eg. Mozilla bug 538440* just fixed) * On utilisait déjà JQuery mais performances accrues pour getElementsByClassName() et QuerySelectorAll() * WebStorage pour sauvegarder des données sans besoin de passer pas une connexion avec nos serveurs * Web Sockets... SOOON! ('real time, server push...') CSS3 * Attention aux perfs avec E[foo~="bar"] (et *=, $=, …) ! Même si div.value == div[class~=value] les navigateurs ne sont pas du tout optimisé pareil! * https://bugzilla.mozilla.org/show_bug.cgi?id=538440
  • 11. Commission Open Source En général... Bcp d'améliorations importantes, qui facilitent la vie des développeurs, mais... Il faut attendre l'implémentation dans les navigateurs: support très partiel pour... • Structural tags pour IE: document.createElement('header'); • CSS3 • Nouveaux contrôles pour les formulaires • Tags multimedia • Canvas et certains selecteurs: problèmes mémoire et performance! • ...
  • 13. Implementing the Media Fragments URI Specification: Media Fragments Firefox Extension Raphaël Troncy <raphael.troncy@eurecom.fr> @rtroncy Commission Open Source
  • 14. Commission Open Source Use Case • Aidem received on her Facebook wall a status message containing a Media Fragment URI – Use a ‘#’ ! – Highlight a video sequence – Highlight a region to pay attention to
  • 15. Commission Open Source Media Fragments URI Provide URI-based mechanisms for uniquely identifying fragments for media objects on the Web, such as video, audio, and images. Photo credit: Robert Freund
  • 16. Commission Open Source Requirements • r01: Temporal fragments: – a clipping along the time dimension from a start to an end time that are within the duration of the media resource • r02: Spatial fragments: – a clipping of an image region, only consider rectangular regions • r03: Track fragments: – a track as exposed by a container format of the media resource • r04: Named fragments: – a media fragment - either a track, a time section, or a spatial region - that has been given a name through some sort of annotation mechanism
  • 17. Commission Open Source Media Fragments Processing • General principle: – Smart UA will strip out the fragment definition and encode it into custom http headers ... – (Media) Servers will handle the request, slice the media content and serve just the fragment while old ones will serve the whole resource • Four recipes proposed for: – Enabling caching or not; – Perform unit to bytes mapping on server or client side
  • 18. Commission Open Source Media Fragments Rendering (temporal) Original resource length Fragment beginning Playback progress Fragment end
  • 19. Commission Open Source Media Fragments Rendering (spatial) highlighted fragment semi-opaque overlay
  • 20. Commission Open Source Recipe: serving playable resources • The UA sends a Range request expressed in a custom unit (e.g. seconds), the server provides a multipart message body reply (multipart/byte- ranges) containing not only the bytes corresponding to requested media fragment but also the media header data making the resource playable.
  • 21. Commission Open Source Recipe: serving playable resources
  • 22. Commission Open Source Observing HTTP Traffic HTTP request http-on-modify-request NinSuna Server HTTP response http-on-examine-response
  • 23. Commission Open Source Examining HTTP Traffic • HTTP request: – retrieving URI – parsing key=values pairs from the fragment part – setting Range header • HTTP response: – checking Content-Type and Content-Range-Mapping headers values – attaching custom playback controls to the HTML5 page – creating spatial dimension overlay (if specified)
  • 24. Commission Open Source Requesting a temporal fragment HTTP/1.1 206 Partial Content Content-Type: multipart/byteranges;boundary=End Content-Range-Mapping: {t:npt 4.8-14.8/0-38.33;include-setup} ={bytes 0-5998,629578-1690588/4055466} ... --End Content-Type: video/ogg Content-Range: bytes 0-5997/4055466 {binary data} --End Content-Type: video/ogg Content-Range: bytes 629578-1690588/4055466 {binary data} --End --End--
  • 25. Commission Open Source Requesting a temporal fragment • We attach a Stream Listener to the HTTP channel HTTP/1.1 206 Partial Content Content-Type: multipart/byteranges;boundary=End ... HTTP/1.1 206 Partial Content --End Content-Type: video/ogg Content-Type: video/ogg Content-Range: bytes 0-5997/4055466 ... {binary data} {binary data} --End {binary data} Content-Type: video/ogg Content-Range: bytes 629578- 1690588/4055466 {binary data} --End --End--