Download presentation
Presentation is loading. Please wait.
Published byDustin Lion Modified over 10 years ago
2
HTML5 That’s What You Need to Know Today Ingo Rammer | thinktecture | ingo.rammer@thinktecture.com | @ingorammer
3
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 ingo.rammer@thinktecture.com @ingorammer
4
not a collection of HTML5 tips and tricks
5
vision Today!
6
Ingo != Microsoft
7
"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)
9
http://www.w3.org/TR/2008/WD-html5-diff-20080122/
10
http://beautyoftheweb.com/.........................Microsoft http://html5.com............................................... Apple http://html5rocks.com/................................... Google http://bit.ly/gGPnQH........................................... RIM
11
HTML5 + CSS3 + JS Common Application Platform Desktops, Tablets, Mobile
12
Windows, Mac, Linux Mobile: iOS, Android, Blackberry 5+, Symbian 5, webOS, Windows Phone 7 (Fall 2011)
13
Write once, run everywhere?
14
Or rather: write once, debug everywhere?
16
Old School Web Browser Server ASP.NET HTTP GET Dynamically generated HTML User Browser clicks Server ASP.NET HTTP GET Dynamically generated HTML 1 2
17
Ajaxified Web Browser Server ASP.NET HTTP GET Dynamically generated HTML User Browser clicks Server WCF HTTP GET Data only 1 2 runs JS Display Data
18
Offlineable Data Browser Server HTTP GET Static HTML (maybe) User Browser clicks Server WCF HTTP GET Data only 1 2 runs JS Display Data Local Storage
19
Future: Offlineable Web Apps Browser User Browser clicks 1 2 runs JS Display Data Cached/local HTML Local Storage 3 Server Sync via HTTP POST + GET when online
20
HTML5: Application Cache http://bit.ly/3fVYjc (work in progress)
21
HTML5 + CSS3 + JS Common Application Platform Desktops, Tablets, Mobile
22
HTML5: When will it be done?
23
HTML5: When will it be ready?
24
But...
25
But... Javascript SUCKS!?
26
You might have missed the best parts!
28
This book might change everything you think about Javascript
29
And while we‘re at it...
30
Online for free at http://diveintohtml5.org
31
But... isn‘t this slow?
32
http://bit.ly/chJslK
33
Let‘s see code!
34
HTML5: Web Storage (localStorage, sessionStorage) http://www.w3.org/TR/webstorage/
35
Detect features, not browsers! http://modernizr.com
36
General Information http://caniuse.com/
37
Progressive Enhancement
38
Hashchange Back/Forward/URLs
39
Toolkits help you...
40
modernizr HTML5 Feature Detection http://modernizr.com
41
jQuery Web Framework, HTML-based http://jQuery.com
42
Ext JS Web Framework, Object-model driven, graphical designer (GPLv3 or commercial) http://sencha.com/
43
Sencha Touch (Android, iOS, Blackberry 6 coming) http://sencha.com/products/touch/
44
jQuery Mobile http://jquerymobile.com/ (PhoneGap to iOS, Symbian 5, Blackberry 5+, Android 1.5+, webOS 1.4.1+)
45
WebApp.Net http://webapp-net.com Great UX, small community
46
PhoneGap Open Source Packager + JS for native API (extensible!) (iOS, Android, RIM, Palm, Symbian,... Windows Phone 7 in Fall?) http://phonegap.com
47
Organizational Framework Detect features, not browsers Pick your level of abstraction Frameworks help! –jQuery, Dojo, Prototype, ExtJS,...
48
Technological Platform Local storage (localStorage, sessionStorage) Local drawing (canvas) Semantic information (markup, input types) Abstractions (datajs, jQuery, jqplot, jqGrid, jQuery Mobile, knockout.js,...) CSS3 (incl. animations, transitions,...) Future: Web Workers, Web Sockets
49
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,...)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.