14 Mar 2011 11:04 AM #1
Ext JS 4 & Sencha Touch ?
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?
15 Mar 2011 6:40 AM #2
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.
Any info on this?
15 Mar 2011 10:13 AM #3
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
15 Mar 2011 11:29 AM #4
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
16 Mar 2011 2:15 AM #5
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.
31 Mar 2011 6:42 AM #6
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.
By olin in forum Sencha Touch 1.x: DiscussionReplies: 10Last Post: 20 Jan 2012, 10:10 AM
By scottpenrose in forum Sencha Touch 1.x: BugsReplies: 2Last Post: 26 Nov 2010, 9:58 AM
By palnap in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 28 Oct 2010, 5:30 PM
By charris in forum Sencha Touch 1.x: BugsReplies: 2Last Post: 9 Sep 2010, 10:24 AM