HTML5. Winning the future?

25
HTML5 WINNING THE FUTURE? Sergey Galitskiy @Lohika 7 Dec 2012

Transcript of HTML5. Winning the future?

Page 1: HTML5. Winning the future?

HTML5WINNING THE FUTURE?

Sergey Galitskiy @Lohika7 Dec 2012

Page 2: HTML5. Winning the future?

Немножко магии

Page 3: HTML5. Winning the future?
Page 4: HTML5. Winning the future?

HTML5 как тренд

Page 5: HTML5. Winning the future?
Page 6: HTML5. Winning the future?

Путь истинный

• Пользовательский подход

• W3C

Page 7: HTML5. Winning the future?

HTML5 – что это?

Page 8: HTML5. Winning the future?

HTML5• Simplified and updated syntax (doctype, charset, boolean

attributes etc.)• Lots of new, changed, obsolete and absent elements and

attributes• New semantic tags like <header>, <footer>, <section>, <article>

and many others • <audio> and <video> tags for media content and API control

the playback• <canvas> tag for dynamic bitmap graphics• <svg> for inline scalable vector graphics• <math> tag for inline MathML content• New form input types• API for offline Web applications.• Editing API and new contenteditable attribute• Drag&Drop API and draggable attribute• History API to control session history

Page 9: HTML5. Winning the future?

HTML5+1• ECMAScript 5• All CSS-staff, including CSS 2.1 & CSS3• Geolocation API• WEB Storage, Web Sockets API and Web Workers• HTML MicroData for machine-readable data• Indexed DB and WebSQL Database• Special API to work with <canvas> tag• WebGL• HTML Media capture and Media capture API• File API(File API Writer & API Directories and System)• Navigation Timing to access timing information• HTML5 Web messaging and Server-Send events

Page 10: HTML5. Winning the future?

Концепция HTML5

Page 11: HTML5. Winning the future?

1. Доступность

Page 12: HTML5. Winning the future?
Page 13: HTML5. Winning the future?

2. Адаптивность

Page 14: HTML5. Winning the future?
Page 15: HTML5. Winning the future?
Page 16: HTML5. Winning the future?

3. Асинхронность

• Доступ к сети• Доступ к серверу(получение данных)• Взаимодействие с пользователем• Процессы в браузере

Page 17: HTML5. Winning the future?

4. Плюшки

http://caniuse.com/

Page 18: HTML5. Winning the future?

ЛОЖКА ДЕГТЯ

Page 19: HTML5. Winning the future?

Браузеры

Page 20: HTML5. Winning the future?

• HTML5 Semantic Tags — IE9+ • HTML5 Canvas, Audio + Video, SVG — IE9+• HTML5 Offline|Application Cache, Web Forms — IE10+• ARIA, role attributes — IE8+, IE9+• CSS3 Media Queries, Transforms 2D, Fonts (Font-face + WOFF),

Borders & Backgrounds (Border Radius, Multiple Backgrounds) — IE9+

• CSS3 Exclusions and Shapes, Grid Layout, Flexible Box, Transforms 3D, Transitions, Animations, Borders & Backgrounds (Gradients) — IE10+

• Web Storage — IE8+• IndexedDB, Web Sockets, Web Workers, Web Messaging — IE10+• IE Pinned Sites — IE9+

Page 21: HTML5. Winning the future?

Что же делать?

• Здраво мыслить• Упрощать• Polyfill (Modernizr)

Web socket -> flash -> cometCanvas -> flash|jpgSVG -> flash|VML...

Page 22: HTML5. Winning the future?

• Не используйте html5

ИЛИ НЕТ?

Page 23: HTML5. Winning the future?

QUESTIONS?

Page 24: HTML5. Winning the future?

• Бонус

Page 25: HTML5. Winning the future?

SERGEY GALITSKIY

© Данное повествование отражало суть мыслей автора и никоим образом не претендует на всесторонее изучение html5

Email: [email protected]: sergiyko911.gluckFB: http://facebook.com/sgalitskiy