-
28 Nov 2011 2:43 AM #1
Ext Direct reference
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
-
28 Nov 2011 6:36 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
The response doesn't really differ from a normal AJAX response.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
28 Nov 2011 11:09 AM #3
Do You want to insult me with that anser or what? Seriously...
Example of request:
and replay:Code:{"action":"profile","method":"getLocationInfo","data":[{"uid":5}],"type":"rpc","tid":3}
Another one example of request:Code:[{"type":"rpc","tid":3,"action":"profile","method":"getLocationInfo","result":{"data":{"zip":"33776","street":"1234 Red Dog Rd.","state":"FL","city":"Seminole"},"success":true}}]
and replay:Code:{"action":"userService","method":"load","data":[{"page":1,"start":0,"limit":30,"sort":[{"property":"lastName","direction":"ASC"}]}],"type":"rpc","tid":1}
Im looking for reference for this, structure of request and valid reply of server.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"}]}}]


Reply With Quote