33
HTML5 + CSS3 + JS Rajnish Kumar & Ernesto Cohnen

The Appy Hour

Embed Size (px)

DESCRIPTION

Rajnish Kumar and Ernesto Cohnen conduct a session on HTML5, CSS3 and JS at BigRock httpX 2013 New Delhi

Citation preview

Page 1: The Appy Hour

HTML5 + CSS3 + JS

Rajnish Kumar & Ernesto Cohnen

Page 2: The Appy Hour

Evolution of Web Technologies

● 1991 HTML● 1994 HTML 2● 1996 CSS 1 + JavaScript● 1997 HTML 4● 1998 CSS 2● 2000 XHTML 1● 2002 Tableless Web Design● 2005 AJAX● 2009 HTML 5● 2011 CSS 3

Page 3: The Appy Hour

The Browser is the new OS

● The browser is the convergence of web

● Connects services with applications

● Makes devices talk to applications

● Is cross-platform

● A browser is today your emails, your work,

your music, your phone, your games, your

movies, your TV...

Page 4: The Appy Hour

HTML5 + CSS3 + JavaScript

One stack to rule them all

Page 5: The Appy Hour
Page 6: The Appy Hour

HTML5 - Real Time Communications

Web Workers

Web Sockets

Notifications

Page 7: The Appy Hour

HTML5 - Semantics & Markups

● <header>, <nav>, <footer>...● link relations: alternate, nofollow, icon…● Microdata● New Form types (input types). Great on

mobile phones also.● Define, store, and retrieve custom data on

the DOM. (data-*)

Page 8: The Appy Hour

HTML5 - File & Hardware Access

● File Upload / Drag and Drop support● Offline storage

○ Web Storage (local and session types)■ JSON/ JavaScript Objects■ < 5MB limit

○ WebSQL & IndexedDB■ Not supported in all browsers. IE, Windows

Mobile…■ One deprecated, the other not so mature.

● GeoLocation: must for mobile devices!● Others: speech input, orientation...

Page 9: The Appy Hour

CSS3

Page 10: The Appy Hour

CSS3 - Animations + Transitions

● Rotate● scale● translate● …

Save the iphone!

Page 11: The Appy Hour

CSS3

● Selectors○ :first-child, :not, >, +, nth-child

(even)...● Text: ellipsis, columns...● Webfonts & iconic fonts

Page 12: The Appy Hour

CSS3 - Effects

● Opacity (alpha)● Rounded corners (border-radius)● Gradients● Shadows● Border image● ...

Page 13: The Appy Hour

JavaScriptYou know JavaScript right ?

Page 14: The Appy Hour

JavaScript - Evolution

● <body onload=”init();”>

● Unobtrusive Javascript

● nodejs - server.listen(1337, '127.0.0.1');

● AMD and RequireJS

● MVC and Backbone.js

● Apps - Phonegap, Sencha

Page 15: The Appy Hour

JavaScript - MVC

source: Mattieu Gamache-Asselin

Page 16: The Appy Hour

Backbone.js

Page 17: The Appy Hour

Backbone.js

Page 18: The Appy Hour
Page 19: The Appy Hour
Page 20: The Appy Hour
Page 21: The Appy Hour
Page 22: The Appy Hour

PaaSPlatform-as-a-Service

Page 23: The Appy Hour

source: Mattieu Gamache-Asselin

Page 24: The Appy Hour

It’s all about the server

Page 25: The Appy Hour
Page 26: The Appy Hour
Page 27: The Appy Hour

Write Once in

HTML 5 + CSS 3 + Javascript

Run Everywherewith

Phonegap / Parse / Trigger.io / App Framework etc.

Page 28: The Appy Hour

Native vs Mobile Web

Page 29: The Appy Hour

Native “and” Mobile Web

+

Page 30: The Appy Hour

Feb 2013 Source: http://venturebeat.com/2013/02/26/what-developers-do-with-html5-infographic/ - KendoUI

Page 31: The Appy Hour

Feb 2013 Source: http://venturebeat.com/2013/02/26/what-developers-do-with-html5-infographic/ - KendoUI

Page 32: The Appy Hour

Q & AOnly hardcore technical questions :)

Page 33: The Appy Hour

Thank [email protected]@ixigo.com

http://saveiphones.herokuapp.com