PDA

View Full Version : Plain Ext JS 4.x application on mobile devices



kaliyugantagonist
19 Dec 2011, 12:13 AM
Hello everyone,

We are currently evaluating Ext JS 4 for building the UIs of our enterprise application.

We want to ensure that the application is seamlessly accessible over desktop web browsers as well as mobile devices(at least the Android-based phones,iPhone).

I referred to some threads in various Sencha forums e.g :

http://www.sencha.com/forum/showthread.php?34723-EXTJS-for-mobile.

http://www.sencha.com/forum/showthread.php?145222-EXT-JS-4-APP-DOES-NOT-RUN-IN-SAFARI-(IPAD)&highlight=Sencha+Touch (http://www.sencha.com/forum/showthread.php?145222-EXT-JS-4-APP-DOES-NOT-RUN-IN-SAFARI-%28IPAD%29&highlight=Sencha+Touch)
(This thread talks about 'soft link to extjs lib' (???) )

We need to know whether :

1. UI created using plain Ext JS 4.x renders directly & properly on various mobile devices
2. If yes,the ways in which the rendering can be made efficient in terms of data transfer(ex. js files) and response time
3. If no, what approach needs to be taken to run the same application over mobile devices

Any guidance is highly appreciated.

Thanks !

tobiu
19 Dec 2011, 1:40 AM
well, ext4 will run on mobile devices, since they use webkit, the same engine that is used in chrome and safari.

however, ext js 4 has no support for touch events and sencha touch has no support for rightclick, mousewheel etc.

so my recommendation is to use ext js 4 for the desktop world and ST 2 for mobile.
you can at least share the models, stores and parts of the controller logic, but when it comes to views, they should be different for obvious reasons.

kaliyugantagonist
19 Dec 2011, 2:35 AM
Hi Tobias,

Thanks a lot for the reply !

We would be glad to receive more inputs from you;as mentioned in the original post, please refer to the post and a reply(in bold) to it :



http://www.sencha.com/forum/showthread.php?92426-ExtJS-Mobile-Development

“There are some other threads regarding mobile dev. Also, you can build a stripped down version of the library using JSBuilder. Also if you're not using any Components at all, you might just be able use Ext Core, rather than the full framework.”

We would like to know that if the above opinion can serve our purpose in any way.

Thanks a lot again !

tobiu
19 Dec 2011, 2:58 AM
read:
http://docs.sencha.com/ext-js/4-0/#!/guide/getting_started

especially 3) Deployment