Results 1 to 4 of 4

Thread: Does Ext.Direct useful enough?

  1. #1
    Sencha Premium User SebTardif's Avatar
    Join Date
    Feb 2011
    Cambridge, MA

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

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    Another great thing I like and have used is the ability to just execute PHP functions within JS.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Sep 2010


    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:
    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


    @Tut, think this is not fully right.
    I tried to implement with Zend_Json_Server which is a standard JSON-RPC implementation.
    The stubs 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:

    Also is right that the 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

Tags for this Thread

Posting Permissions

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