Same domain requests can be handled by
dataModel.url
to the absolute or relative url in javascriptdataModel.location
to 'remote' in javascriptdataModel.dataType
to 'json' in javascript{data: [row1, row2, row3, ...]}
Any RESTful conversation based on GET requests can be converted into a jsonp ( for cross domain access ) by
dataModel.dataType
to 'jsonp' in javascript$_GET[ 'callback' ]( )
so as to make it $_GET[ 'callback' ]( existing json response from server )