title: Sencha Touch storage sync
body: <p>I’m new to Sencha Touch and still not quite confident with its data handling patterns. The way I want to set up my application is something like this:</p>
  
  <ol>
  <li><p>Retrieve the user’s data from the remote server via AJAX.</p></li>
  <li><p>Save it in the local storage. Any modifications (editing, adding, deleting items) update the local data.</p></li>
  <li><p>At some point in time (when the user clicks ‘sync’, when the user logs out, or something like that), the locally stored stored data is synced with the server, again, through an request AJAX.</p></li>
  </ol>
  
  <p>So what would the basic structure of my application be, to achieve this pattern? And also, while we are here, is there a way to use a local database (as opposed to local key-value storage) for a specified store in Sencha Touch?</p>