Re:I used Firefox OS for 30 days and it made me want to quit...
by aaronbrethorst on Tuesday December 24, 2013 @02:03AM
(#6958576)
Given that the post we're all discussing is from someone who is ostensibly pretty savvy about these things, I think it might behoove the folks working on Firefox OS to rethink aspects of the platform user experience.
There are two types of applications: Hosted and Packaged. Hosted apps are normal web pages that you host somewhere and access from the device. If you use appcache and responsive design, they will provide an experience like what native apps provide in other platforms. The packaged apps instead of being hosted are packaged and offered on the marketplace. Its basically a zipfile with your HTML/CSS/JS, when it is installed this zipfile is copied to the device and sandboxed.
There are three security levels. Plain, Privileged and Certified. These security levels govern what APIs your app can access. Hosted apps are always plain apps. Packaged apps can be plain apps too but they can also be privileged apps that can access an extra set of APIs or certified apps that can access every API on the device. Only Mozilla and its hardware partners can build and deploy certified apps due to security reasons (you don't want an app with the ability to send SMS or make calls without user interaction).
So in summary, you can have plain web links in the launcher and you can have links to packaged apps that are actually on the device. Both things are possible and indistinguishable from a user point of view. Both solutions work offline if you use appcache with the hosted app.
If you want to know more, I've written a Free and Open eBook about it called "Firefox OS Development Quick Guide" available at http://leanpub.com/quickguidefirefoxosdevelopment/ you can also hop by Mozilla Developer Network portal for Firefox OS at https://developer.mozilla.org/en-US/Firefox_OS
=)