title: ExtJS vs Sencha Touch for RIA
body: <p>I'm trying to bootstrap a Rich Internet Application, which will have a complex canvas (think: Visio), and should work according to these principles:</p>
  
  <ul>
  <li>it would run in a browser</li>
  <li>it would run on a tablet (Android or other)</li>
  <li>supports complex drawing, drag &amp; drop etc.</li>
  <li>runs on its own (eg. without a server component) happily</li>
  <li>can leverage conventional &amp; touch UI as needed - user can draw a line with a mouse or using the touchscreen</li>
  </ul>
  
  <p>I was thinking about using a Javascript framework and found ExtJS, whose demos I quite like and checking the API docs it seems it supports all the low level GUI stuff I need (think: <code>Ext.draw</code> package, especially <code>Ext.draw.Sprite</code>). </p>
  
  <p>But then I also found Sencha Touch, which seems to be leveraging the same technology stack, only for the mobile. However the API is much more limited (no <code>Ext.draw</code> available), and only runs in Webkit browsers, as far as I can understand. But it supports touch-based interaction.</p>
  
  <p>Is there a way to create an app that works in a browser but can also be "compiled" to native mobile/tablet code (eg. with PhoneGap)? Or is this just a dream and these two cannot mix at the moment?</p>
  
  <p>PS. checked the other similar questions but they seem to be quite out of date.</p>