Building Web Apps with
HTML5 and Chrome
Boris Smus
May 2011
http://goo.gl/7ir1e
Boris Smus
May 2011
http://goo.gl/7ir1e
-webkit-transform: translateZ(0);
<video id="video" src="movie.webm" autoplay controls></video>
<script>document.getElementById("video").play();</script>
window.addEventListener('deviceorientation', function(event) {
var a = event.alpha;
var b = event.beta;
var g = event.gamma;
}, false);
navigator.geolocation.getCurrentPosition(function(position) {
var lat = position.coords.latitude; // same for longitude
});
CACHE MANIFEST index.html stylesheet.css images/logo.png scripts/main.js
if (!localStorage["checkins"]) {
localStorage["checkins"] = JSON.stringify([]);
}
var connection = new WebSocket('ws://example.org/echo');
var worker = new Worker('doWork.js');
worker.addEventListener('message', function(e) {
console.log('Worker said: ', e.data);
}, false);
worker.postMessage('Hello World'); // Send data to our worker.
<meta http-equiv="X-UA-Compatible" content="chrome=1">
Thanks to the store, our user base has increased by 780%, achieving the goals we planned for the next 1/1.5 years within the first 3 weeks. Traffic of Todo.ly has increased even more – by almost 1000%
The SlideRocket app on the Chrome Web Store received over 50,000 installs in the first 10 days of availability and the volume hasn’t yet dropped off. As much as 60% of SlideRocket’s daily lead flow now comes from the Chrome Web Store.
First, thanks to the almost 30,000 users who have installed LucidChart to date, we are one of the top paid apps and also one of the highest rated apps in the Web Store.
Walk through tutorial