11 Jan 2013 1:01 PM #1
Sencha Touch & ExtJS profiles for desktop and mobile in one web project/vhost?
I'm creating a web application with desktop and mobile versions using ExtJS and Sencha Touch.
ExtJS 4 and Sencha Touch 2 use an MVC approach, and Sencha Touch 2 incorporates "profiles" for different devices (iPhone, tablet, etc.).
ExtJs 4, however, has no notion of profiles. Is it realistically feasible to for dependencies for desktop, iPhone, and iPad versions of the app to live under one vhost, in the same app directory hierarchy?
Or, is it generally more acceptable to use different vhosts for desktop (app.com) and mobile sites (m.app.com) when dealing with the Sencha frameworks?
13 Jan 2013 8:45 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The best way to do it now is with a simple server side code to detect which app to use.Mitchell Simoens @SenchaMitch
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.