Portable Logic (body)
Link you provided doesn't work anymore.
However, I haven't done such thing so I can't be 100% sure about it.
I have corrected the link (sorry for the error). maybe aint clear my post, i would to demonstrate that qml/qt is better than solutions Fowler's proposal.
a first response might be http://www.infoworld.com/t/mobile-development/and-the-winner-cross-platform-mobile-app-dev-c-208770
The current implementation of the QML engine does most stuff at run-time (interprets everything into intermediate bytecode format, builds metaobjects at runtime, instantiates instances of those types, assigns properties, builds binding expressions and runs them, etc) but the implementation could certainly be improved to do more stuff natively (eg, the compilation step could involve emitting binding expressions in IR form, which then get converted to C++ code by the engine, to be compiled by a C++ compiler for real-native performance of bindings).
Apart from the fact that no standard QML web runtime plugin exists for the major browsers, I personally think that QML is the best form of hybrid solution in the world today. But I might be biased ;-) Performance-wise, it thrashes pretty much every non-native, non-compiled solution I've seen, at the very least, while still having a nice syntax and run-time extensibility.