Results 1 to 3 of 3

Thread: Ext Direct reference

  1. #1
    Touch Premium Member
    Join Date
    Jul 2011
    Location
    Poland
    Posts
    63
    Vote Rating
    4
      0  

    Question Ext Direct reference

    Hello Everybody,

    is there any complete Ext.Direct reference with information such as how request look like for every component/store type, how answer should look like? I know about many implementation but where is reference?

    Thanks for any advice

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    The response doesn't really differ from a normal AJAX response.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Touch Premium Member
    Join Date
    Jul 2011
    Location
    Poland
    Posts
    63
    Vote Rating
    4
      0  

    Default

    Quote Originally Posted by mitchellsimoens View Post
    The response doesn't really differ from a normal AJAX response.
    Do You want to insult me with that anser or what? Seriously...

    Example of request:
    Code:
    {"action":"profile","method":"getLocationInfo","data":[{"uid":5}],"type":"rpc","tid":3}
    and replay:
    Code:
    [{"type":"rpc","tid":3,"action":"profile","method":"getLocationInfo","result":{"data":{"zip":"33776","street":"1234 Red Dog Rd.","state":"FL","city":"Seminole"},"success":true}}]
    Another one example of request:
    Code:
    {"action":"userService","method":"load","data":[{"page":1,"start":0,"limit":30,"sort":[{"property":"lastName","direction":"ASC"}]}],"type":"rpc","tid":1}
    and replay:
    Code:
    [{"type":"rpc","tid":1,"action":"userService","method":"load","result":{"success":true,"total":98,"records":[{"id":"96","firstName":"Kelly","lastName":"Adkins","email":"dui.quis@id.org","city":"Venlo"},{"id":"98","firstName":"Seth","lastName":"Alexander","email":"Duis.ac@Curabiturdictum.com","city":"Haverhill"}]}}]
    Im looking for reference for this, structure of request and valid reply of server.

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
  •