1. #1
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default Touch with Direct?

    Touch with Direct?


    Don't mean to cross post but I really am not sure if this is a Ext.Direct.Mvc implementation question or a Sencha Touch question.

    Is there any reason why I should not be able to use Ext.Direct.Mvc with Sencha Touch? For the Ext.Direct.Mvc (ASP.NET MVC) implementation, you have to put a call in the very beginning of your app.js file to add the provider with the following code:
    Code:
    Ext.Direct.addProvider(Ext.app.REMOTING_API);
    I am trying to put this in the launch method of the Ext.regApplication() call but getting an error "Cannot call method 'addProvider' of undefined"...so obviously it hasn't loaded the necessary files or is having a problem doing so.

    Should this even work, should I be able to use the Ext.Direct.Mvc implementation with Touch? If so, where should I be placing the call to the addProvider method?

    Thanks a ton...

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,167
    Vote Rating
    674
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Direct currently isn't supported on Touch, but will be implemented in Ext4 (and used for Touch as well).
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default


    That's great news Evan, thanks. That will definitely help conserve precious bandwidth for mobile deliveries of code files.

    I haven't looked at the road map in a while, but when are you guys planning to release 4.0?

    Thanks again!

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,167
    Vote Rating
    674
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Q1 2011
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    37
    Vote Rating
    0
    jksnu is on a distinguished road

      0  

    Default


    Hi,

    I am also facing similar problem. I am using Sencha touch 2. So, does the Sencha Touch 2 support Ext Direct and is it possible to execute the code like
    Code:
    Ext.Direct.addProvider(
                    Ext.app.REMOTING_API
                    );
    in the launch function of Ext.Application.
    I have tried, but its not running currently.

Similar Threads

  1. Touch Direct
    By corvonero in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 6
    Last Post: 27 Feb 2011, 7:03 AM
  2. Sencha Touch on iPhone v1 / iPod touch v1 ?
    By palnap in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 28 Oct 2010, 5:30 PM
  3. Simple Ext.Direct-Combobox plugin --- with Ext.Direct.Store for reuse
    By xp743 in forum Ext 3.x: User Extensions and Plugins
    Replies: 1
    Last Post: 26 Jul 2010, 11:56 AM

Thread Participants: 2