Ext.namespace("com.deng");
/**
* Ext.data.DataReader
* DataReader , DataProxy ,DataReader ( ) ,
* : (name), (type)、 (mapping) , ,
* ,
* , Ext.data.Record( ) , Ext.data.Record ,
* Ext.data.Record , json , 。
* , ID , ,
* var city = Ext.data.Record.create([
* {name:"cid",type:"int",mapping:0},
* {name:"cname",type:"string",mapping:1}
* ]);
* mapping
* Record , DataReader ,DataReader ;Ext.data.ArrayReader、
* Ext.data.JsonReader、Ext.data.XmlReader
* DataReader , DataProxy , ,
* Ext.data.ArrayReader, json, Ext.data.JsonReader, xml, Ext.data.XmlReader
* , , ArrayReader
* var reader = new Ext.data.ArrayReader({},city);
* ArrayReader , Record。
* var reader = new Ext.data.ArrayReader({},[
* {name:"cid",type:"int",mapping:0},
* {name:"cname",type:"string",mapping:1}
* ]);
*