I am trying to develop a web which is using Ext JS 4, and hope to use on both the PC client and the Touch Device client, is there any way or any feature in Ext JS 4 that I just convert the event to the gesture from touch?
since there are some drag and drop stuff which is not able to use on the touch devices to interact with.
or basically I have to rewrite in Sencha touch to get to the touch ability?
Good question. Same situation for us: we already created a complex technical application with Ext JS 3.0. We will migrate to Ext JS 4.0.
New requirement: People will use the application on desktop pcs and for sure on the ipad or similiar devices. We won't rewrite the complete application by using sencha touch, but we need support by extjs 4.0 to handle gesture events if the ext js 4.0 app is running on a safari mobile or similar.
I have try the sandbox demo for the Ext JS 4, which you can use Ext JS 4 as a sandbox inside Ext JS 3, is there any other way around this to have the Sencha Touch as the sandbox (or alternate namespace as what sandbox do), that we can use the gesture event on to the Ext JS 4; this would be a lot more flexible for Ext JS 4 to use on the tablet device, which we would want the same user experience on the tablet and the pc
ExtJS doesn't have touch gestures. If you want an app that works on desktop computers and mobile devices then yes, you will need to develop a version with each ExtJS and Sencha Touch. To my understanding, Sencha is working on parity between the two meaning minimal syntax differences.
I don't understand this hard separation between a framework for touch devices and a framework for desktop pcs. I create an application to be used in a browser. That's my minimum requirement.
The company I'm working for has created aplenty applications for our customers. The customers don't want to pay for a complete new user interface, that can be used on a tablet pc. They want to pay small money to give the existing user interface the ability for a better user experience on an ipad or a similar device.
I think what we need is kind of a sencha touch core library that allows me to handle gesture events within my desktop application. I think there already are frameworks, that can simply provide a good architecture to handle touch events... I will evaluate this soon. But I think a small sencha touch core library could fill this gap even better.
I completely agree with dloew. While Sencha Touch does offer a fair alternative to develop for touch-enabled devices, some of us are not interested in making a "native" looking copy of our desktop applications. While I plan to use Sencha Touch for a mobile version of my application - and by mobile I mean smartphone - my desktop application is perfectly suited for tablet use and should be capable of using the same Ext4 code with minimal exception coding for CSS3/HTML5 availability (media queries, orientation events, ect).
What I'm really interested in is if Ext4 can make some attempt at propagating touch events to the equivalent mouse events. Yes, I'm well aware that touch events don't necessary map to mouse events, but the two are close enough to provide a suitable emulation in many Ext objects.