To install or create a new application, click on Open App in the top-left corner of the WebIDE window. You will notice that there are three options: New App, Open Packaged App, and Open Hosted App. In Firefox OS ecosystems, there are two types of apps, Hosted and Packaged. We will study the difference between these two app types in detail in Chapter 3, Getting Your Hands Dirty – Firefox OS Apps.
For now, think of Hosted apps like websites that are served from a web server and are stored online in the server itself, but that can still use
indexeddb to store all their assets and data offline, if desired. Packaged apps are distributed in a
.zip format and they can be thought of as the source ...