Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
1 of 52

Cross platform mobile web apps

36

Share

Download to read offline

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Cross platform mobile web apps

  1. Cross-platform mobile web apps @ jamespearce
  2. Sir Isaac Newton
  3. Three Laws of Motion (the universe works as we might expect it to)
  4. Albert Michelson Edward Morley
  5. Light Travels at a Constant Speed (the universe doesn’t work as we thought it would)
  6. Relativistic Mechanics Exploration Classical Mechanics Familiarity Quantum Mechanics Exploration
  7. The Web Today is like Physics in 1900
  8. Mobile is our Michelson-Morley Experiment
  9. Mobile Context? One Web? Responsive Design? Apps or Sites? (an inability to answer these questions does not constitute an excuse not to innovate)
  10. Single device Multi device Sedentary user Mobile user * Declarative Imperative Thin client Thick client Documents Applications * or supine, or sedentary, or passive, or...
  11. A badge for all these ways the web is changing
  12. Cross-platform mobile web apps
  13. What is an app?
  14. Consumption vs Creation Linkability User Experience Architecture
  15. Web Compromise sites Web apps Native apps Nativeness
  16. HTML5 is a new version of HTML4, XHTML1, and DOM Level 2 HTML addressing many of the issues of those specifications while at the same time enhancing (X)HTML to more adequately address Web applications. - WHATWG Wiki
  17. WebFont Video Audio Graphics Device Access Camera CSS Styling & Layout Network Location HTTP JavaScript Contacts AJAX SMS Semantic HTML Events Orientation Sockets File Systems Workers & Cross-App Gyro Databases Parallel SSL Messaging App Caches Processing (all the elements of a modern application platform)
  18. The web is now as much a stack as it is a medium
  19. Cross-platform mobile web apps
  20. MS RIM Symbian Apple Android Top European Smartphone Platforms July 2011, comScore MobiLens
  21. .NET J2ME C++ Obj-C Java Native programming languages you’ll need July 2011
  22. IE WebKit WebKit WebKit WebKit Browser platforms to target July 2011
  23. There is no WebKit on Mobile - @ppk
  24. But at least we are using one language, one markup, one style system
  25. IE 10 PR Chrome 10 Safari 5 Firefox 4 iOS4.31 Playbook Honeycomb @font-face Canvas HTML5 Audio & Video rgba(), hsla() border-image: border-radius: box-shadow: text-shadow: opacity: Multiple backgrounds Flexible Box Model CSS Animations CSS Columns CSS Gradients CSS Reflections CSS 2D Transforms CSS 3D Transforms CSS Transitions Geolocation API local/sessionStorage SVG/SVG Clipping SMIL Inline SVG Drag and Drop hashchange X-window Messaging History Management applicationCache Web Sockets Web Workers Web SQL Database WebGL IndexedDB
  26. 100% Support Browsers Capabilities & specifications
  27. 100% Support Browsers Polyfills Frameworks Capabilities & specifications
  28. <!DOCTYPE html> <html> <head> <title>jQuery Mobile</title> <script src="jq.js"></script><script src="jqm.js"></script> <link rel="stylesheet" href="jqm.css" /> </head> <body> <div data-role="page" id="home"> <div data-role="header"> <h1>Hello World</h1> </div> <div data-role="content"> <ul data-role="listview" data-inset="true"> <li data-role="list-divider">Continents</li> <li><a href="na.html">North America</a></li> <li><a href="sa.html">South America</a></li> <li><a href="eu.html">Europe</a></li> </ul> </div> </div> </body> </html>
  29. <!DOCTYPE html> <html> <head> <title>Sencha Touch</title> <script src="st.js"></script> <link rel="stylesheet" href="st.css" /> <script type="text/javascript" charset="utf-8"> new Ext.Application({ launch: function() { var continents = new Ext.data.Store({ model: Ext.regModel('', {fields: ['name', 'link']}), data: [ {name: 'North America', link:'na'}, {name: 'South America', link:'sa'}, {name: 'Europe', link:'eu'} ] }); new Ext.Panel({ fullscreen: true, dockedItems: [{ xtype: 'toolbar', title: 'Hello World', }], items: [{ xtype: 'list', store: continents, itemTpl: '{name}' }] }); } }); </script> </head><body></body> </html>
  30. Myth busting
  31. HTML5 apps can’t run o ine (hybrid, appcache, and localStorage...)
  32. HTML5 apps can’t match native performance (true, sometimes)
  33. HTML5 apps can’t be monetized (is this a technology problem?)
  34. HTML5 apps can’t access device functionality (weren’t you listening to Brian?)
  35. Web Compromise sites Web apps Hybrid apps Native apps Nativeness
  36. Camera WebFont Video Audio Graphics HTTP Location CSS Styling & Layout AJAX Contacts Events SMS JavaScript Sockets Orientation Semantic HTML SSL Gyro File Systems Workers & Cross-App Databases Parallel Messaging App Caches Processing
  37. WebView Camera WebFont Video Audio Graphics HTTP Location CSS Styling & Layout AJAX Contacts Events SMS JavaScript Sockets Orientation Semantic HTML SSL Gyro File Systems Workers & Cross-App Databases Parallel Messaging App Caches Processing
  38. Native Wrapper WebView Camera WebFont Video Audio Graphics HTTP Location CSS Styling & Layout AJAX Contacts Events SMS JavaScript Sockets Orientation Semantic HTML SSL Gyro File Systems Workers & Cross-App Databases Parallel Messaging App Caches Processing
  39. Native app stores have a dirty secret
  40. built with Apps vs web technology
  41. Well-established hierarchies are not easily uprooted; Closely held beliefs are not easily released; So ritual enthralls generation after generation. Tao Te Ching; 38 Ritual
  42. James Pearce @ jamespearce

×