What is native? The myth of native languages “Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine” - iPhone OS 4 beta proposed license (2010) C# C C++ Objective-C JavaScript Ruby Python Lua Scheme Lisp Smalltalk Haskell ActionScript .NET languages ANY language compiled to ARM objects ANY language you write a compiled interpreter for QT
HTML5 vs Native Compared HTML5 Native Web UI Native UI Performance bottlenecks Accelerated performance Open data Secured data Slow standards bodies Thousands of API’s No monetization model One-Click-Buy 200+ Browser versions iOS + 28 Android versions Single code base Multiple code base Huge / Cheap expertise Scarce / Expensive expertise Direct distribution Indirect distribution ~ 75.000 apps ~ 1.200.000 apps
Alloy Framework Benefits • Write up to 50% less code • Re-style apps using themes • Re-use code using widgets • Bind abstracted data models • Separate concerns, e.g. design Compilation • Cleans conditional code & assets • Compiles XML and TSS to JS • Compresses JS • Fully integrated in Studio • Widget marketplace coming