SlideShare a Scribd company logo
 
Name : Romin Irani Official Title : Principal Architect @ Xoriant Unofficial Title : Jack Of All Trades Vital Stats : Mobile Applications Cloud  Web APIs Writer & Reviewer for various publications from Wrox, O’Reilly & Addison Wesley Freelance writer covering Web 2.0 APIs at ProgrammableWeb  ( http://programmableweb.com )
HTML5 – A Brief History HTML5 Browser Support HTML5 Features/Demos/HandsOn The Road Ahead
WHAT : Next generation HTML WHO : WHATG, W3C, IETF WHEN : 2004, 2008, July 2014 All vendors support it ! (Is that true?)
Semantics Graphics Multimedia Device Access Offline Connectivity Performance/Integration CSS3
Keep it simple (Example doctype) Structural meaning Richer Set of Tags Eliminated Several Tags too
<header> <nav> <section> <article> <footer> <aside>
Aims to make development and usage of forms easier. 13 New Types introduced for user input. Additional attributes like :  placeholder ,  required ,  autofocus. Coding for  validations  is made easier.  Support varies across browsers but is compatible.
Input Types email phone url  date, datetime, month, week, time, datetime-local) color search number and range
<input type=“email” placeholder=“Enter email address”  required  autofocus/> <input type=“phone”/> <input type=“search” placeholder=“Type your search here”/> <input type=“url” /> <input type=“date” />
Screenshots : Courtesy – Mark Pilgrim,  http://diveintohtml5.org
Canvas API SVG WebGL CSS3 3D
2D Drawing API Functions : line, arcs, rectangle, fills Allows styling via CSS Allows control via Javascript Can be used for: Charts, Animation, Images and other complex rendering.
Audio and video are first class citizens in the HTML5 web A plug-in free world
Simple tags : <video>, <audio> Even Simpler usage:  <video src=“demo.mp4”></video> <audio src=“song.mp3”></audio> Control via APIs Play Pause Stop
Different browsers support different containers and Audio/Video formats. Containers : H264 and Ogg Codecs: Audio :  AAC, MP3, Vorbis Video: H264, VP8, Thedora
Need to provide more than 1 format. Browser will play the one that it supports. This situation is not likely to change. <video controls>   <source src=&quot;mov1.ogg&quot; type=&quot;video/ogg&quot; />   <source src=&quot;mov2.mp4&quot; type=&quot;video/mp4&quot; /> </video>
Currently - Geolocation API  Coming soon Audio/Video input access to microphones and cameras Local data such as contacts & events, and even tilt orientation.
Determine where the device is. Find it right in the browser. Useful for providing location based services. User should be allowed to opt in. API allows for both : one time location and continuous location.
n avigator.geolocation.getCurrentPosition (showCurrentLocation,  errorHandler, {enableHighAccuracy:  true}); function showCurrentLocation(position){ //position.coords.latitude   //position.coords.longitude; }
Web Apps can start faster and work even if there is no internet connection, thanks to the HTML5 App Cache, as well as the Local Storage, Indexed DB, and the File API specifications.
Allows local storage of application data on the device. 5MB per domain. Key component to Offline usage. Types of Storage options:
S imple API for storing values in easily retrievable JavaScript objects which persist across page loads window.localStorage getItem(key) setItem(key,value)
interface Storage {  readonly attribute unsigned long  length ;  getter  DOMString  key (in unsigned long index);  getter any  getItem (in DOMString key);  setter  creator void  setItem (in DOMString key, in any data);  deleter  void  removeItem (in DOMString key);  void  clear ();  };
Network is not available all the time. The application must be available even if the server is done.  Application Cache to the rescue. Stores the specified resources (HTML,CSS,JS) on the client. Combine Application Cache with Offline Storage to provide availability.
3 Steps to implementing AppCache Define manifest CACHE  + NETWORK + FALLBACK Reference manifest Specify right manifest MIME Type in Server Demo
Performance & Integration Web Workers ,  XMLHttpRequest 2 CONNECTIVITY  : WEB SOCKETS CSS3 IndexedDB
Indic Mobile Conference application Mobile Web application Works well with Webkit browsers Lets go !
Drag and Drop Content Editable Audio / Video CSS 3
Differing browser support & behaviour Use sites like HTML5Test.com, CanIUse.com to understand Browser support for HTML5 Fallback behaviour is important Great time to get started today! Be prepared for changes All vendors are supporting it
 
W3C :  http://dev.w3.org/html5/spec/Overview.html HTML5 Rocks:   http://www.html5rocks.com Mark Pilgrim :  http://diveintohtml5.org Remy Sharp :  http://html5demos.com   HTML5 Tech Spec :  http://developers.whatwg.org   Modernizr :  http://www.modernizr.com/ Caniuse :  http://www.caniuse.com HTML5Test :  http://www.html5test.com   https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills
Q & A romin.k.irani @ gmail.com iRomin

More Related Content

PDF
WebRTC Integration from Tim Panton
PPT
Westhawk integration
PDF
WebRTC Reborn - Cloud Expo / WebRTC Summit
PPT
.NET Drop 4
PPTX
Visual studio code
PPTX
Visual Studio Code Can Do That: Tips & Tricks
PPTX
Web development tool
PDF
IPhone Web Development With Grails from CodeMash 2009
WebRTC Integration from Tim Panton
Westhawk integration
WebRTC Reborn - Cloud Expo / WebRTC Summit
.NET Drop 4
Visual studio code
Visual Studio Code Can Do That: Tips & Tricks
Web development tool
IPhone Web Development With Grails from CodeMash 2009

What's hot (20)

PPT
SDK Hackery
PPTX
Titanium Workshop - [Sainté Mobile Days]
KEY
Phonegap/Cordova vs Native Application
PDF
Easy form creation and validation with Formjack
PDF
WebRTC Reborn Hackference
PDF
Android chat in the cloud
PDF
What's new in flutter and dart in 2020
PDF
Google cloud endpoints
PDF
Intro Angular Ionic
PPT
PPT
Common platform-for-mobile-applications- thorsignia
PDF
Mobile HTML Hybrid Apps
PPTX
Mobile HTML Hybrid Apps
PDF
PHP in a mobile ecosystem
PDF
Flutter state management from zero to hero
PDF
How to implement internationalization (i18n) in angular application(multiple ...
PPTX
Bdd and Behat
PPT
HTML5 Webinar - Mind Storm Software
PDF
The year of the peer-to-peer web
PPT
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
SDK Hackery
Titanium Workshop - [Sainté Mobile Days]
Phonegap/Cordova vs Native Application
Easy form creation and validation with Formjack
WebRTC Reborn Hackference
Android chat in the cloud
What's new in flutter and dart in 2020
Google cloud endpoints
Intro Angular Ionic
Common platform-for-mobile-applications- thorsignia
Mobile HTML Hybrid Apps
Mobile HTML Hybrid Apps
PHP in a mobile ecosystem
Flutter state management from zero to hero
How to implement internationalization (i18n) in angular application(multiple ...
Bdd and Behat
HTML5 Webinar - Mind Storm Software
The year of the peer-to-peer web
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
Ad

Viewers also liked (7)

KEY
Spelarenkät 2010
KEY
Föräldraenkät 2010
PDF
InfoTalk#17 1st
PDF
Development Workshop on ET1, Android and Motorola RhoElements
PDF
Rockin' HTML5 With Drupal
PPT
tb presentation av vbc
PPTX
Wearables Interaction Design
Spelarenkät 2010
Föräldraenkät 2010
InfoTalk#17 1st
Development Workshop on ET1, Android and Motorola RhoElements
Rockin' HTML5 With Drupal
tb presentation av vbc
Wearables Interaction Design
Ad

Similar to Thadomal IEEE-HTML5-Workshop (20)

PPTX
HTML5
PPTX
HTML5 introduction for beginners
PDF
HTML5 Comprehensive Guide
PPT
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
PPT
PPTX
HTML5 and DHTML
PDF
Html 5 in a big nutshell
PPTX
HTML5 and Search Engine Optimization (SEO)
PPT
Silver Light By Nyros Developer
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PPTX
Accelerated Adoption: HTML5 and CSS3 for ASP.NET Developers
PPT
What's New with Windows Phone - FoxCon Talk
PPTX
HTML 5
PPT
Html5(2)
PPT
Html5(2)
PPTX
PPTX
Html5 Overview
PPT
Filling the HTML5 Gaps with Polyfills and Shims
PPT
Hello 1 2 3, can you see me now?
PPT
Introdution to HTML 5
HTML5
HTML5 introduction for beginners
HTML5 Comprehensive Guide
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
HTML5 and DHTML
Html 5 in a big nutshell
HTML5 and Search Engine Optimization (SEO)
Silver Light By Nyros Developer
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Accelerated Adoption: HTML5 and CSS3 for ASP.NET Developers
What's New with Windows Phone - FoxCon Talk
HTML 5
Html5(2)
Html5(2)
Html5 Overview
Filling the HTML5 Gaps with Polyfills and Shims
Hello 1 2 3, can you see me now?
Introdution to HTML 5

More from Romin Irani (14)

PPTX
Google Cloud Platform Update - NEXT 2017
PPTX
Introduction to Google Cloud Machine Learning APIs
PPTX
The Journey to conversational interfaces
PPTX
Blogging Tips - A guide to why you should blog
PPTX
How to Contribute to your Project
PPTX
Go Language Hands-on Workshop Material
PPTX
Google Cloud Platform Updates
PPTX
Internet of Things Overview
PPTX
Gradle and Android Studio : Best of Friends
PPTX
Powering your Apps via Google Cloud Platform
PPTX
How to get business ready for Wearables: GDayX Mumbai 2014
PDF
Talk on Future of Enterprise Mobile App Development
PPT
Android developer webinar-march-2012-mindstormsoftware
PPTX
Smart Computing : Cloud + Mobile + Social
Google Cloud Platform Update - NEXT 2017
Introduction to Google Cloud Machine Learning APIs
The Journey to conversational interfaces
Blogging Tips - A guide to why you should blog
How to Contribute to your Project
Go Language Hands-on Workshop Material
Google Cloud Platform Updates
Internet of Things Overview
Gradle and Android Studio : Best of Friends
Powering your Apps via Google Cloud Platform
How to get business ready for Wearables: GDayX Mumbai 2014
Talk on Future of Enterprise Mobile App Development
Android developer webinar-march-2012-mindstormsoftware
Smart Computing : Cloud + Mobile + Social

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
1. Introduction to Computer Programming.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPT
Teaching material agriculture food technology
PPTX
Tartificialntelligence_presentation.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Machine Learning_overview_presentation.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Advanced methodologies resolving dimensionality complications for autism neur...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectral efficient network and resource selection model in 5G networks
1. Introduction to Computer Programming.pptx
cuic standard and advanced reporting.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Electronic commerce courselecture one. Pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Empathic Computing: Creating Shared Understanding
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A comparative analysis of optical character recognition models for extracting...
Encapsulation_ Review paper, used for researhc scholars
Teaching material agriculture food technology
Tartificialntelligence_presentation.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Machine Learning_overview_presentation.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

Thadomal IEEE-HTML5-Workshop

  • 1.  
  • 2. Name : Romin Irani Official Title : Principal Architect @ Xoriant Unofficial Title : Jack Of All Trades Vital Stats : Mobile Applications Cloud Web APIs Writer & Reviewer for various publications from Wrox, O’Reilly & Addison Wesley Freelance writer covering Web 2.0 APIs at ProgrammableWeb ( http://programmableweb.com )
  • 3. HTML5 – A Brief History HTML5 Browser Support HTML5 Features/Demos/HandsOn The Road Ahead
  • 4. WHAT : Next generation HTML WHO : WHATG, W3C, IETF WHEN : 2004, 2008, July 2014 All vendors support it ! (Is that true?)
  • 5. Semantics Graphics Multimedia Device Access Offline Connectivity Performance/Integration CSS3
  • 6. Keep it simple (Example doctype) Structural meaning Richer Set of Tags Eliminated Several Tags too
  • 7. <header> <nav> <section> <article> <footer> <aside>
  • 8. Aims to make development and usage of forms easier. 13 New Types introduced for user input. Additional attributes like : placeholder , required , autofocus. Coding for validations is made easier. Support varies across browsers but is compatible.
  • 9. Input Types email phone url date, datetime, month, week, time, datetime-local) color search number and range
  • 10. <input type=“email” placeholder=“Enter email address” required autofocus/> <input type=“phone”/> <input type=“search” placeholder=“Type your search here”/> <input type=“url” /> <input type=“date” />
  • 11. Screenshots : Courtesy – Mark Pilgrim, http://diveintohtml5.org
  • 12. Canvas API SVG WebGL CSS3 3D
  • 13. 2D Drawing API Functions : line, arcs, rectangle, fills Allows styling via CSS Allows control via Javascript Can be used for: Charts, Animation, Images and other complex rendering.
  • 14. Audio and video are first class citizens in the HTML5 web A plug-in free world
  • 15. Simple tags : <video>, <audio> Even Simpler usage: <video src=“demo.mp4”></video> <audio src=“song.mp3”></audio> Control via APIs Play Pause Stop
  • 16. Different browsers support different containers and Audio/Video formats. Containers : H264 and Ogg Codecs: Audio : AAC, MP3, Vorbis Video: H264, VP8, Thedora
  • 17. Need to provide more than 1 format. Browser will play the one that it supports. This situation is not likely to change. <video controls>   <source src=&quot;mov1.ogg&quot; type=&quot;video/ogg&quot; />   <source src=&quot;mov2.mp4&quot; type=&quot;video/mp4&quot; /> </video>
  • 18. Currently - Geolocation API Coming soon Audio/Video input access to microphones and cameras Local data such as contacts & events, and even tilt orientation.
  • 19. Determine where the device is. Find it right in the browser. Useful for providing location based services. User should be allowed to opt in. API allows for both : one time location and continuous location.
  • 20. n avigator.geolocation.getCurrentPosition (showCurrentLocation, errorHandler, {enableHighAccuracy: true}); function showCurrentLocation(position){ //position.coords.latitude //position.coords.longitude; }
  • 21. Web Apps can start faster and work even if there is no internet connection, thanks to the HTML5 App Cache, as well as the Local Storage, Indexed DB, and the File API specifications.
  • 22. Allows local storage of application data on the device. 5MB per domain. Key component to Offline usage. Types of Storage options:
  • 23. S imple API for storing values in easily retrievable JavaScript objects which persist across page loads window.localStorage getItem(key) setItem(key,value)
  • 24. interface Storage { readonly attribute unsigned long length ; getter DOMString key (in unsigned long index); getter any getItem (in DOMString key); setter creator void setItem (in DOMString key, in any data); deleter void removeItem (in DOMString key); void clear (); };
  • 25. Network is not available all the time. The application must be available even if the server is done. Application Cache to the rescue. Stores the specified resources (HTML,CSS,JS) on the client. Combine Application Cache with Offline Storage to provide availability.
  • 26. 3 Steps to implementing AppCache Define manifest CACHE + NETWORK + FALLBACK Reference manifest Specify right manifest MIME Type in Server Demo
  • 27. Performance & Integration Web Workers , XMLHttpRequest 2 CONNECTIVITY : WEB SOCKETS CSS3 IndexedDB
  • 28. Indic Mobile Conference application Mobile Web application Works well with Webkit browsers Lets go !
  • 29. Drag and Drop Content Editable Audio / Video CSS 3
  • 30. Differing browser support & behaviour Use sites like HTML5Test.com, CanIUse.com to understand Browser support for HTML5 Fallback behaviour is important Great time to get started today! Be prepared for changes All vendors are supporting it
  • 31.  
  • 32. W3C : http://dev.w3.org/html5/spec/Overview.html HTML5 Rocks: http://www.html5rocks.com Mark Pilgrim : http://diveintohtml5.org Remy Sharp : http://html5demos.com HTML5 Tech Spec : http://developers.whatwg.org Modernizr : http://www.modernizr.com/ Caniuse : http://www.caniuse.com HTML5Test : http://www.html5test.com https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills
  • 33. Q & A romin.k.irani @ gmail.com iRomin

Editor's Notes

  • #5: IE9 Beta has started supporting some parts HTML5 Guiding Principles: Compatibility : Utility : Interoperability: Universal Access : Languages support, Abilities Simplicity : Simpler DOCTYPE, Meta Tags. Plugin Free paradigm : Flash
  • #8: New Elements that bring structure to your documents. These elements are based on studies conducted looking at the markups from thousands of sites. E.g. Most people have a “nav” class to indicate navigation, so why not have a “nav” tag.
  • #10: Normal form elements are still available like checkbox, text, button, radiobutton, password, textarea
  • #11: Mention that browsers render it differently. For e.g. in the Safari Mobile browser, if the input type is phone, then only a numeric keypad is shown.
  • #12: Mention that browsers render it differently. For e.g. in the Safari Mobile browser, if the input type is phone, then only a numeric keypad is shown.
  • #14: Previously possible with Flash, VML, Silverlight Very complex to do in JavaScript without plugins (for example, rounded corners or diagonal lines) Provide native drawing functionality on the Web Completely integrated into HTML5 documents (part of DOM) Can be styled with CSS Can be controlled with JavaScript
  • #16: &lt;Video&gt; element dissection Supports fallback Autoplay Preload Controls Poster Height and Width Src
  • #21: navigator.geolocation getCurrentPosition watchPosition Both the methods take same parameters success function error function options
  • #23: Allows application to store data locally on the device. Good for speeding up applications, avoiding repeated server side calls and also to provide different views locally.
  • #24: Allows application to store data locally on the device. Good for speeding up applications, avoiding repeated server side calls and also to provide different views locally.
  • #25: Allows application to store data locally on the device. Good for speeding up applications, avoiding repeated server side calls and also to provide different views locally.
  • #26: Native applicatons have a big advantage of being installed on the device and available if network is not possible. Yes – not all functionality can be available but the user can use the application. Mobile applications if they want to be touted as good as native apps must support offline availability.
  • #27: navigator.on/off events are only supported by few browsers : Firefox, Opera, IE
  • #28: Make your Web Apps and dynamic web content faster with a variety of techniques and technologies such as Web Workers and XMLHttpRequest 2. No user should ever wait on your watch. More efficient connectivity means more real-time chats, faster games, and better communication. Web Sockets and Server-Sent Events are pushing (pun intended) CSS3 delivers a wide range of stylization and effects, enhancing the web app without sacrificing your semantic structure or performance. Additionally Web Open Font Format (WOFF) provides typographic flexibility and control far beyond anything the web has offered before. data between client and server more efficiently than ever before.