1. #1
    Ext JS Premium Member SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    282
    Vote Rating
    6
    SebTardif is on a distinguished road

      0  

    Default Does Ext.Direct useful enough?

    Does Ext.Direct useful enough?


    I have a prototype using Ext.Direct, so after using it I understand better what it does for me.

    In some cases, it complain on the client side that I didn't provide the right number of arguments, and it batching my AJAX requests when many are done at the same time, like in the initialization of my UI.

    Using JSON directly without Ext.Direct is quite easy in both Java Spring, and .NET MVC.

    The value of validation of the number of arguments is low. My server would tell me anyway. So it seems the only value is the batching of requests.

    With some customization of Ext JS we should be able to get batch JSON, instead of using a proprietary mechanism: http://groups.google.com/group/json-...b/json-rpc-2-0

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Another great thing I like and have used is the ability to just execute PHP functions within JS.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    6
    Vote Rating
    0
    tut is on a distinguished road

      0  

    Wink


    Quote Originally Posted by SebTardif View Post
    With some customization of Ext JS we should be able to get batch JSON, instead of using a proprietary mechanism: http://groups.google.com/group/json-...b/json-rpc-2-0
    Forget about it. Open standards like JSON-RPC or XML-RPC for external interfaces mean easy migration between platforms and solutions. If they adhere to standards, it will be quite easy to migrate to ExtJS competitors without significant server side modifications.

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Location
    Prague
    Posts
    38
    Vote Rating
    0
    cubernatic is on a distinguished road

      0  

    Default


    @Tut, think this is not fully right.
    I tried to implement Ext.direct with Zend_Json_Server which is a standard JSON-RPC implementation.
    The stubs Ext.direct is using look really different as Zend_Json_Server generates, and also the response look different.
    So I have to write my own Server class from the code shown here: http://www.sencha.com/forum/showthre...-and-php-Video

    Also is right that the Ext.data.store property autoSync, set true, seem not to work always.
    Actually I am testing out how to implement it in the right way.

Similar Threads

  1. 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
  2. Using Ext.Direct in Ext 2.2
    By adms in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 17 Apr 2010, 5:41 AM
  3. Ext.Direct and ORM
    By mask_hot in forum Ext.Direct
    Replies: 10
    Last Post: 4 Feb 2010, 4:03 PM
  4. Ext.Direct - why
    By dombroskib in forum Ext.Direct
    Replies: 14
    Last Post: 5 Jun 2009, 6:35 AM

Thread Participants: 3

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar