title: Correct way to structure an HTML app
body: <p>I've previously made native apps but I'm considering making an HTML/JS app. I'm uncertain as to how these should be structured.</p>
  
  <p>For example:</p>
  
  <ul>
  <li>Should the app just be a webview that points to my server, ie: www.example.com/webapp and have ALL the app files and resources there?</li>
  <li>Should ALL the app files be contained inside the executable?</li>
  <li>Something in between, like for example have big asset files (images, maybe libraries like jQuery) stored locally while the actual app gets pulled in from my server, as to always use the latest code.</li>
  </ul>
  
  <p>This app in particular needs Internet access as it's only purpose really is to query a database of local offers, so in this case I'm not worried about providing offline access to any functionality.</p>
  
  <p>Also, will Apple approve of any app that is just a webview pointing to a server, since I could totally change the functionality after it's approved?</p>
  
  <p>Any other thing I should be aware of when creating HTML mobile apps, specially in regards to getting Apple approval?</p>
  
  <p>Thanks!</p>