View Full Version : [CLOSED][3.0rc1] Ext.data.DirectProxy incomplete ?

18 Apr 2009, 1:13 AM
the Ext.data.DirectProxy seems pretty incomplete.

properties directFn, paramsAsHash, paramOrder are not in use
this makes the Ext.data.DirectStore useless

Parent of: [URL=

21 Apr 2009, 10:19 PM
While implementing Ext.data.DataWriter, it became necessary to allow definition of a full api for DirectProxy (all proxies actually), not just directFn.

var dproxy = new Ext.data.DirectProxy({
api: {
load: Users.load,
create: Users.create,
save: Users.update,
destroy: Users.destoy

I could add the config-param directFn back for when not using full CRUD api.


var dproxy = new Ext.data.DirectProxy({
directFn: Users.load

I haven't quite figured out how to deal with the config-params paramsAsHash and paramOrder with the new api-configuration.