Html5 - the new kid on the block
-
Upload
marian-borca -
Category
Technology
-
view
1.511 -
download
2
description
Transcript of Html5 - the new kid on the block
![Page 1: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/1.jpg)
HTML5The new kid on the block
![Page 2: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/2.jpg)
5 is the right version, here’s why
![Page 3: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/3.jpg)
1 = 3
5 is the right version, here’s why
![Page 4: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/4.jpg)
1 = 3
5 is the right version, here’s why
![Page 5: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/5.jpg)
1 = 3
5 is the right version, here’s why
![Page 6: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/6.jpg)
HTML5 - new standard for HTML, XHTML, and the HTML DOM
![Page 7: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/7.jpg)
Rules for HTML5:
• Features based on HTML, CSS, DOM, JavaScript
• Reduce the need for external plugins
• Better error handling
• More markup to replace scripting
• Should be device independent
HTML5 - new standard for HTML, XHTML, and the HTML DOM
![Page 8: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/8.jpg)
• Video and audio elements for media playback
• Support for local storage & cache
• The canvas element for drawing
• New semantic elements: header, footer, section, article, nav
• New form control tags: calendar, date, time, email, url, search
New features in HTML5
![Page 9: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/9.jpg)
• CSS 3 Selectors
• CSS 3 Fonts
• CSS 3 Backgrounds and borders
• CSS 3 Text
• CSS 3 Multi column
CSS3 is about breaking CSS into modules
![Page 10: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/10.jpg)
• Transitions - translate, rotate, scale, skew
• Animations
CSS3 features
![Page 11: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/11.jpg)
• Transformations
• Transitions
• Animations
• Spinning wheel
• Typography
Examples
![Page 12: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/12.jpg)
A little help from jQTouch
• Open source module for mobile web on the iPhone, iPad and other devices
• Created by @davidkaneda
• Maintained by @jonathanstark
• Free download from http://www.jqtouch.com
![Page 13: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/13.jpg)
Demo
![Page 14: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/14.jpg)
Sencha Touch - commercial product
• Allows you to develop mobile web apps that look and feel native on iPhone and Android touch devices
• Created by @senchainc
• More info http://www.sencha.com/products/touch/
![Page 15: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/15.jpg)
Demo
![Page 16: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/16.jpg)
Browser support
![Page 17: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/17.jpg)
“All animals are equal”
Browser support
![Page 18: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/18.jpg)
“All animals are equal”
Browser support
![Page 19: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/19.jpg)
“All animals are equal”“But some animals are more equal than others”
George Orwell, Animal Farm
Browser support
![Page 20: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/20.jpg)
Browser support
Chrome gives a hand to IE with Chrome Frame
![Page 21: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/21.jpg)
Chrome gives a hand to IE with Chrome FrameIE9 will join the party
Browser support
![Page 22: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/22.jpg)
So, when will we be ready to use all this?
![Page 23: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/23.jpg)
Well, let me think...
So, when will we be ready to use all this?
![Page 24: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/24.jpg)
Well, let me think... NOW
So, when will we be ready to use all this?
![Page 25: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/25.jpg)
Well, let me think... NOW
So, when will we be ready to use all this?
Here is WHY and HOW
![Page 26: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/26.jpg)
Everything goes mobile
![Page 27: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/27.jpg)
iOS devices
![Page 28: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/28.jpg)
iOS devices
![Page 29: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/29.jpg)
iOS devices
![Page 30: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/30.jpg)
Android devices
![Page 31: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/31.jpg)
Android devices
![Page 32: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/32.jpg)
Android devices
60,000 Android shipments a day
![Page 33: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/33.jpg)
Mobile browsers
![Page 34: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/34.jpg)
Mobile browsers
95% Webkit basediOS, Android, Blackberry, Palm, Samsung
![Page 35: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/35.jpg)
Native vs Web
![Page 36: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/36.jpg)
Native vs Web
![Page 37: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/37.jpg)
Web is the winner
![Page 38: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/38.jpg)
Web is the winner
• Easier to produce
• Easier to test
• Easier to distribute
• Most standardized
![Page 39: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/39.jpg)
But how to use the webfor native applications?
![Page 40: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/40.jpg)
PhoneGap to the rescue
• Open source development framework for building cross-platform mobile apps
• Developed and maintained by @nitobi
• Free download from http://www.phonegap.com
![Page 41: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/41.jpg)
Build apps in HTML and JavaScript and still take advantage
of core features in mobile SDKs
• iPhone/iTouch
• iPad
• Google Android
• Palm
• Symbian
• Blackberry
![Page 42: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/42.jpg)
Native vs Web+PhoneGap
![Page 43: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/43.jpg)
More HTML5 examples
• Video
• Virtual reality
• Photo gallery
• Canvas in 3D
• Cloth
![Page 44: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/44.jpg)
And some more
• Gift box
• 360
• Light table
• Wilderness downtown
![Page 45: Html5 - the new kid on the block](https://reader037.fdocuments.net/reader037/viewer/2022110303/54bb978d4a795952298b4577/html5/thumbnails/45.jpg)
Thanks!This presentation is brought to you by
• Open standards
• @font-face Casual
• @mborca