Results 1 to 2 of 2

Thread: Sencha Touch & ExtJS profiles for desktop and mobile in one web project/vhost?

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    49
    Vote Rating
    0
      0  

    Default 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?

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,026
    Vote Rating
    1367
      0  

    Default

    The best way to do it now is with a simple server side code to detect which app to use.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •