3 ms·
It seems to me that the difference between a Cordova app & a "hosted app" would be that the Cordova app has the overhead of the "container" & ability to package
by joshribakoff 11y ago
It seems to me that the difference between a Cordova app & a "hosted app" would be that the Cordova app has the overhead of the "container" & ability to package some of the HTML, JS, & CSS in addition to using web views. The "hosted app" has no ability to package it's assets, but also has no overhead of the "container". The hosted app also has limited access to the device's API. I may be wrong but when they say "native" I believe this means it creates hosted apps for devices like the Firefox phone, while falling back to a hybrid app with a webview for devices that do not support "hosted apps". Can anyone confirm?
- RussianCow 11y agoWhat is the "container" overhead you're talking about? If you mean the communication between the web view and the mobile APIs, then you'd have that regardless, wouldn't you?
- joshribakoff 11y agoCordova can be compared to java. The phone runs some kind of VM which in turn runs your code. Compared to a hosted app which would be the phone running your code directly.
- sjs382 11y agoCordova is a chromeless browser with extra APIs.
- coderzach 11y agonah, cordova is just a wrapper around WebViews with some native bindings and build tools.
- RussianCow 11y ago> The phone runs some kind of VM which in turn runs your code. You mean, like a browser? A hosted app would still need to be rendered by a web browser.