Patent attributes
Systems and methods are described for a platform that allows efficient creation and distribution of application templates. The application templates enable a modular application to run in different application environments. Configuration data is initially downloaded by an electronic device over a computer network from a server system. The configuration data enables the electronic device to execute a locally stored instance of an application on the electronic device. A determination that the electronic device is unable to establish communications with the server system over the computer network is made. In response, the locally stored instance of the application is executed on the electronic device based on the configuration data stored on the electronic device. Data collected by the locally stored instance of the application is then transmitted to the server system.