Quote:
We need to make a small adjustment for integration with the Ext Designer. This will be considered the Ext.Direct 1.0.1 spec.
The small adjustment involves generating a JSON format of the API in addition to the standard JS format.
When the API component is accessed it will check a "format" parameter which is sent via a url parameter.
For example:
api.php?format=json
When the JSON format is requested, the API component will return back the standard descriptor as normal but place the descriptor variable in a JSON packet.
For example:
Ext.ns('xds.remote');
xds.remote.Descriptor = {
"url": "/router.php",
"type": "remoting",
"actions": {
"Time": [{
"name": "get",
"len": 0
}]
},
"namespace": "xds.remote"
};
Would change to:
{
"url": "/router.php",
"type": "remoting",
"actions": {
"Time": [{
"name": "get",
"len": 0
}]
},
"namespace": "xds.remote",
"descriptor":"xds.remote.Descriptor"
}
That's pretty much all information I've got about supporting Designer.