title: Ember Data Sync - LocalStorage+REST+RealTime+Online/Offline
body: <p>We have a combination of requirements in terms o data access.  </p>
  
  <ul>
  <li>Pre-load some <code>reference</code> data. </li>
  <li>We need reference data to survive browser restarts instead of just living in memory to avoid loading it all the time. I'm currently using the <code>LocalStorageAdapter</code> for that. </li>
  <li>Once we have it, we would like to <code>sync changes</code> (polling or using <code>Socket.IO</code> in the background and updating the LocalStorage could do the trick)</li>
  <li>There're other models that are more transactional, where we would need to directly go to the Server and get/save them. It would be nice to use something like the RESTAdapter for that. </li>
  <li>Lastly, there're some operations that should work <code>off-line</code> and changes should be synced later. </li>
  </ul>
  
  <p>To make it more concrete: </p>
  
  <ul>
  <li>We <code>pre-load</code> vendor and "favorite products" into Local Storage. We work offline with those. </li>
  <li>We need to sync server changes to vendor and product information. </li>
  <li>If they search the full catalog, that requires them to be online. </li>
  <li>When offline, we need to allow users to add something to their cart or even submit and order. We would like to queue this action and submit it when they have an Internet Connection. </li>
  </ul>
  
  <p>So a few questions are derived from this: </p>
  
  <ul>
  <li>Is there a way to user RESTAdapter in combination with LocalStorage?</li>
  <li>Is there some Socket.IO support? (Happy to do this part manually)</li>
  <li>Is there Queueing support? Ideally at the Ember-Data level. </li>
  </ul>
  
  <p>I know we will have to do a lot of this manually and pull together the different lego pieces, but I wanted to ask for some perspective from experience Ember devs. </p>