title: Phonegap - architecture design
body: <p>I have a question regarding the Phonegap basic architecture design:</p>
  
  <p>1.The phonegap project contains an "index.html" file which controls the flow and functionality of the application.</p>
  
  <p>If I need to implement an app which contains 4 tabs, the general idea is creating 4 classes, one for each tab, allocate a middle section for its view (the upper and lower sections are the static bars) and changing it each time a click event is happening on the tabbar (the bottom bar).</p>
  
  <p>Should I squeez everything into one giant index.html file or use couple of html files but then how can I upload more then one file when the project is beeing deployed via Phonegap (since the deployment requires one html file).</p>
  
  <p>2.Where can I get a good explanation with examples of creating (and deploying) a complete phonegap project.</p>
  
  <p>Thanks, Asaf</p>