Closing keynote of the From the Front conference in Bologna, Italy in September 2014. It talks about the way we approached web development over the years and how what we defined as best practices then has to change now that we are facing a mobile led world in emerging markets.
14. THINKING ABOUT DEPENDENCIES
Thursday, June 16th, 2005 at 10:12 am
http://christianheilmann.com/2005/06/16/three-separated-layers-of-web-development-think-again/
24. PROVIDING A FALLBACK…
var img = document.querySelector('img');
img.addEventListener('error', function(ev) {
if (this.naturalWidth === 0 &&
this.naturalHeight === 0) {
console.log('Image ' + this.src + ' not loaded');
}
}, false);
25. CAN HAS VIDEO?
<video controls>
<source src="dynamicsearch.mp4" type="video/mp4">
</source>
<a href="dynamicsearch.mp4">
<img src="dynamicsearch.jpg"
alt="Dynamic app search in Firefox OS">
</a>
<p>Click image to play a video demo of
dynamic app search</p>
</video>
26. CAN HAS VIDEO?
var v = document.querySelector('video'),
sources = v.querySelectorAll('source'),
lastsource = sources[sources.length-1];
lastsource.addEventListener('error', function(ev) {
var d = document.createElement('div');
d.innerHTML = v.innerHTML;
v.parentNode.replaceChild(d, v);
}, false);
32. Hating JavaScript is like hating the Internet.
The Internet is a cobweb of different
technologies cobbled together with duct
tape, string and chewing gum. It's not
elegantly designed in any way, because it's
more of a growing organism than it is a
machine constructed with intent.
“
Mattias Petter Johansson, Spotify
http://www.quora.com/Why-is-JavaScript-the-only-client-side-language-available/answer/Mattias-Petter-Johansson
34. THE WEB IS BUILT TO LAST
“
If you build a web app today, it will run in
browsers 10 years from now. Good luck trying
the same with your favorite mobile OS
(excluding Firefox OS).
Paul Bakaus, Google (ex. Zynga)
http://paulbakaus.com/2014/08/26/the-web-is-built-to-last/
38. “
If you enable people world-wide to get a good
experience and solve a problem they have, I
like it. The technology you use is not the
important part. How much you lock them in is.
Don’t lock people in.
Christian Heilmann
47. SENSORS AND ACCESSING THE WORLD AROUND US
!
Vibration API
Screen Orientation
Geolocation API
Mouse Lock API
Open WebApps
Network Information API
Battery Status API
Alarm API
Push Notifications API
WebFM API / FMRadio
WebPayment
IndexedDB
Ambient light sensor
Proximity sensor
Notification