A Store object uses an implementation of Ext.data.DataProxy to access a data object unless you call loadData() directly and pass in your data. The Store object has no knowledge of the format of the data returned by the Proxy.
A Store object uses its configured implementation of Ext.data.DataReader to create Ext.data.Record instances from the data object. These records are cached and made available through accessor functions.
Store这个类包装了Ext.data.Record(Record这个类为ext.grid.grid,ext.form.combobox这些小控件提供数据库)
Store用实现了ext.data.dataproxy的类去访问数据对象,除非你直接使用loadData()去访问你的数据,Store并不知道Proxy的返回格式
Store使用实现了ext.data.datareader的配置从数据源产生ext.data.record实例,
Store类封装了客户端缓存,用于Ext.data.Record对象,为Ext.grid.Grid等小控件提供数据。它通过实现Ext.data.DataProxy访问数据对象,或直接加载数据,并利用Ext.data.DataReader创建记录实例。
1014

被折叠的 条评论
为什么被折叠?



