ABOUT ME Frontend stuff at Futurice since May 2011 Previously Hexagon IT, Zokem, TKK Graduated from Aalto University Master's Thesis (2012): Mobile HTML5: Implementing a Responsive CrossPlatform Application Available at: http://kpuputti.github.com/thesis/
... Standardized parsing Standardized existing features in browsers New elements and attributes Accessibility features (e.g. forms) CSS3 APIs for web applications: Offline support Device APIs Multimedia and graphics (canvas!) Workers, sockets, drag and drop, etc. “ It's all about JavaScript ”
CODE n a v i g a t o r . g e o l o c a t i o n . g e t C u r r e n t P o s i t i o n ( f u n c t i o n ( p o s ) { a l e r t ( p o s . c o o r d s . l a t i t u d e + " , " + p o s . c o o r d s . l o n g i t u d e ) ; } , f u n c t i o n ( ) { a l e r t ( " C o u l d n o t g e t l o c a t i o n . . . " ) ; } ) ;
Mark Zuckerberg: “The biggest mistake we made as a company was betting too much on HTML5. While building native apps that were basically just a wrapper for the mobile web standard let it experiment quickly, it made the apps run way too slow. We burnt two years.”
Wait a second... it continues: “... it just wasn’t there. And it’s not that HTML5 is bad. I’m actually, on longterm, really excited about it. One of the things that’s interesting is we actually have more people on a daily basis using mobile Web Facebook than we have using our iOS or Android apps combined. So mobile Web is a big thing for us.”
APPLICATION STORES Unnecessary burden or a golden possibility? App submission Updates Monetization Discoverability Analytics Integration to social networks THE WEB IS YOU APP STORE!
HYBRID APPS Complex Following platform UI guidelines Difficult workflow Awesome web app vs. crappy native app is great, but has a lot of surprises PhoneGap
SUMMARY Crossplatform is hard Crossplatform HTML5 is hard You have to be on the web anyways Your site will be accessed with all types of devices Responsive web design Go native, if really needed Know the good and bad parts of web/native Know your place between idealism and realism
Tim BernersLee, Scientific American, 2010: “people must be able to put anything on the Web, no matter what computer they have, software they use or human language they speak and regardless of whether they have a wired or wireless Internet connection. ” “And it should be accessible from any kind of hardware that can connect to the Internet: stationary or mobile, small screen or large. ”