
HTML5 is a rich development platform that let developers (and companies) target more users on different browsers, devices and tools. Here are few links I’ve collected in the past week. It’s more a short list of great presentations (mostly from Google I/O 2011) and some code sample to give you a hint of the power.
- HTML5 Intro – learn what is all about. From Geo to Canvans, here are some short examples:
// // Get the user location // if (navigator.geolocation) { navigator.geolocation.watchPosition(function(position) { var latLng = new google.maps.LatLng( position.coords.latitude, position.coords.longitude); var marker = new google.maps.Marker({position: latLng, map: map}); map.setCenter(latLng); }, errorHandler); } // // paint some stuff // var canvasContext = document.getElementById("canvas").getContext("2d"); canvasContext.fillRect(250, 25, 150, 100); canvasContext.beginPath(); canvasContext.arc(450, 110, 100, Math.PI * 1/2, Math.PI * 3/2); canvasContext.lineWidth = 15; canvasContext.lineCap = 'round'; canvasContext.strokeStyle = 'rgba(255, 127, 0, 0.5)'; canvasContext.stroke // // Use some really nice fonts on your site // @font-face { font-family: 'LeagueGothic'; src: url(LeagueGothic.otf); } @font-face { font-family: 'Droid Sans'; src: url(Droid_Sans.ttf); // // Notify your user - just like on other devices // function showNotification(pic, title, text) { if (hasNotificationPermission()) { var notificationWindow = window.webkitNotifications .createNotification(pic, title, text); notificationWindow.show(); // close notification automatically after a timeout setTimeout(function(popup) { popup.cancel(); }, notificationWindowTimeout, notificationWindow); } } - HTML5 Games and of course the Bad Aliens game that we’ve built during this presentation.
- HTML5 WOW and How – you got here some very nice code snippiest of Files, Graphics (CSS3, WebGL) and Audio/Video stuff.
- High level view on the chrome web store, upload process and the new file API.
Two days ago, I gave a talk at “Silicon Valley Chrome Meetup”. This cool event was sponsored by 

HTML5 technology is harnessing developers with a very unique way to be ‘everywhere’.

