46
HTML5 That’s what you need to know today Ingo Rammer, thinktecture weblogs.thinktecture.com/ingo @ingorammer

HTML5 That’s what you need to know today

  • Upload
    adamma

  • View
    24

  • Download
    0

Embed Size (px)

DESCRIPTION

HTML5 That’s what you need to know today. Ingo Rammer, thinktecture weblogs.thinktecture.com/ingo @ingorammer. Ingo Rammer and thinktecture. Support and consulting for software architects and developers Architectural Consulting and Prototyping Developer-Coaching and -Mentoring - PowerPoint PPT Presentation

Citation preview

Page 1: HTML5 That’s what you need to know today

HTML5That’s what you need to know todayIngo Rammer, thinktectureweblogs.thinktecture.com/ingo@ingorammer

Page 2: HTML5 That’s what you need to know today

Ingo Rammer and thinktecture

• Support and consulting for software architects and developers• Architectural Consulting and Prototyping• Developer-Coaching and -Mentoring• Application Optimization, Troubleshooting, Debugging• Architecture and Code Reviews

• Slides/Samples: http://weblogs.thinktecture.com/ingo• [email protected]

Page 3: HTML5 That’s what you need to know today

visionToday!

Page 4: HTML5 That’s what you need to know today

Ingo != Microsoft

Page 5: HTML5 That’s what you need to know today

"We believe that HTML5 and related technologies, in conjunction with faster and faster browsers, finally give developers the tools they need to create experiences that are just as vivid, interactive and high-fidelity as what you have come to expect from native applications without the need for plug-ins.”

(Microsoft, http://beautyoftheweb.com/#/unplugged)

Page 6: HTML5 That’s what you need to know today

http://beautyoftheweb.com/ .......................Microsofthttp://html5.com .............................................. Applehttp://html5rocks.com/ .................................. Googlehttp://bit.ly/gGPnQH ........................................... RIM

Page 7: HTML5 That’s what you need to know today

HTML5 + CSS3 + JSCommon Application PlatformDesktops, Tablets, Mobile

Page 8: HTML5 That’s what you need to know today

Windows, Mac, Linux

Mobile: iOS, Android, Blackberry 5+, Symbian 5, webOS, Windows Phone 7 (Fall 2011)

Page 9: HTML5 That’s what you need to know today

Write once, run everywhere?

Page 10: HTML5 That’s what you need to know today

Or rather: write once, debug everywhere?

Page 11: HTML5 That’s what you need to know today
Page 12: HTML5 That’s what you need to know today

Old School WebBrowser Server

ASP.NET

HTTP GET

Dynamically generated HTML

User

Browserclicks Server

ASP.NET

HTTP GET

Dynamically generated HTML

1

2

Page 13: HTML5 That’s what you need to know today

Ajaxified WebBrowser Server

ASP.NET

HTTP GET

Dynamically generated HTML

User

BrowserclicksServer

WCF

HTTP GET

Data only

12

runs JSDisplay

Data

Page 14: HTML5 That’s what you need to know today

Offlineable Data

Browser ServerHTTP GET

Static HTML (maybe)

User

BrowserclicksServer

WCF

HTTP GET

Data only

12

runs JSDisplay

DataLocal Storage

Page 15: HTML5 That’s what you need to know today

Future: Offlineable Web Apps

Browser

User

Browserclicks

12

runs JSDisplay

Data

Cached/local HTML

Local Storage

3 Server

Sync via HTTP POST + GET

when online

Page 16: HTML5 That’s what you need to know today

HTML5 + CSS3 + JSCommon Application PlatformDesktops, Tablets, Mobile

Page 17: HTML5 That’s what you need to know today

HTML5: When will it be done?

Page 18: HTML5 That’s what you need to know today

HTML5: When will it be ready?

Page 19: HTML5 That’s what you need to know today

But ...

Page 20: HTML5 That’s what you need to know today

But ... Javascript SUCKS!

Page 21: HTML5 That’s what you need to know today

You might have missed the best parts!

Page 22: HTML5 That’s what you need to know today
Page 23: HTML5 That’s what you need to know today

This book might change everything you think about Javascript.

Page 24: HTML5 That’s what you need to know today

And while we‘re at it ...

Page 25: HTML5 That’s what you need to know today

Online for free at http://diveintohtml5.org

Page 26: HTML5 That’s what you need to know today

But ... isn‘t this slow?

Page 27: HTML5 That’s what you need to know today

http://bit.ly/chJslK

Page 28: HTML5 That’s what you need to know today

Let‘s see code!

Page 29: HTML5 That’s what you need to know today

HTML5: Web Storage(localStorage, sessionStorage)http://www.w3.org/TR/webstorage/

Page 30: HTML5 That’s what you need to know today

Detect features, not browsers!http://modernizr.com

Page 31: HTML5 That’s what you need to know today

General Informationhttp://caniuse.com/

Page 32: HTML5 That’s what you need to know today

Toolkits help you ...

Page 33: HTML5 That’s what you need to know today

modernizrHTML5 Feature Detectionhttp://modernizr.com

Page 34: HTML5 That’s what you need to know today

jQueryWeb Framework, HTML-based http://jQuery.com

Page 35: HTML5 That’s what you need to know today

Ext JSWeb Framework, Object-model driven, graphical designer (GPLv3 or commercial)http://sencha.com/

Page 36: HTML5 That’s what you need to know today

Sencha Touch (Android, iOS, Blackberry 6 coming)http://sencha.com/products/touch/

Page 37: HTML5 That’s what you need to know today

jQuery Mobilehttp://jquerymobile.com/(PhoneGap to iOS, Symbian 5, Blackberry 5+, Android 1.5+, webOS 1.4.1+)

Page 38: HTML5 That’s what you need to know today

WebApp.Nethttp://webapp-net.comGreat UX, small community

Page 39: HTML5 That’s what you need to know today

PhoneGapOpen Source Packager + JS for native API (extensible!)(iOS, Android, RIM, Palm, Symbian, ... Windows Phone 7 in Fall?)http://phonegap.com

Page 40: HTML5 That’s what you need to know today

Organizational Framework

• Detect features, not browsers• Pick your level of abstraction• Frameworks help!

• jQuery, Dojo, Prototype, ExtJS, ...

Page 41: HTML5 That’s what you need to know today

Technological Platform

• Local storage (localStorage, sessionStorage)• Local drawing (canvas)• Semantic information (markup, input types)• Abstractions (datajs, jQuery, jqplot, jqGrid,

jQuery Mobile)• CSS3 (incl. animations, transitions, ...)• Future: Web Workers, Web Sockets

Page 42: HTML5 That’s what you need to know today

And more ...• Polyfills and shims for backward compatibility• Resource combination (JS + CSS)

• You don‘t *have* to develop everything in one file, but you should ship only one file

• Minification, Compression, ...• You *can* use descriptive method, function and

variable names• Advanced Javascript techniques!• Packagers for mobile OSes (PhoneGap, ...)

Page 43: HTML5 That’s what you need to know today

Stay up to date with MSDN Belux

• Register for our newsletters and stay up to date:http://www.msdn-newsletters.be• Technical updates• Event announcements and registration• Top downloads

• Follow our bloghttp://blogs.msdn.com/belux

• Join us on Facebookhttp://www.facebook.com/msdnbehttp://www.facebook.com/msdnbelux

• LinkedIn: http://linkd.in/msdnbelux/ • Twitter: @msdnbelux

Download MSDN/TechNet Desktop Gadget

http://bit.ly/msdntngadget

Page 44: HTML5 That’s what you need to know today

TechDays 2011 On-Demand

• Watch this session on-demand via Channel9http://channel9.msdn.com/belux

• Download to your favorite MP3 or video player• Get access to slides and recommended resources by the speakers

Page 45: HTML5 That’s what you need to know today

THANK YOU

Page 46: HTML5 That’s what you need to know today

"We believe that HTML5 and related technologies […] high-fidelity as what you have come to expect from native applications without the need for plug-ins.”