I am looking at using Jquery mobile and Phonegap to create a mobile app. If I know the structure of my app beforehand I can do this. However, I want to be able to have the ability for the app to connect to a server and add/remove pages based on the configuration for the app stored on the server.
Once the app has reconfigured itself it should work completely offline.
Is there some way to manage this in Javascript land or do I need to manage the reconfiguration with native code?