View Full Version : ExtJS 1.1 Ext.data.HttpProxy to ExtJS 4.0 mapping

5 Sep 2011, 3:32 AM
In ExtJS 1.1, Ext.data.HttpProxy is used, can anyone pls tell me its corresponding mapping in ExtJS 4.0?

6 Sep 2011, 12:12 AM
Are you looking for Ext.data.proxy.Proxy. The implementation with store would look something like

Ext.create('Ext.data.Store', {
model: 'model',
type: 'ajax',
url : 'url',
reader: {
type: 'array',
root: 'dataobj'

6 Sep 2011, 3:46 AM
I need functionality for HTTP proxy in ExtJS 4..... In Ext 1.1, this functionality is under Ext.data.HttpProxy..... check out the documentation in the link below:

I didn't find it in Ext.data.proxy.Proxy in ExtJS 4
any solution?

6 Sep 2011, 4:58 AM
Ext.data.proxy.Ajax (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.proxy.Ajax) is the direct counterpart for Ext1.1's Ext.data.HTTPProxy.

But the whole Data Package was refactored and improved a lot you will not find direct counterparts for the old methods.

Some pointers:

#getConnection() -> All Ext.data.proxy.Ajax objects use the Ext.Ajax object (one single Ext.data.Connection)

#load() -> is now called #read() but you normally don't call this manually. The store calls it when necessary.

Also have a look at the Data Package Guide: http://docs.sencha.com/ext-js/4-0/#!/guide/data this might shed some light on how things are done the ExtJS 4 way.

8 Sep 2011, 3:48 AM
Thank you vasm and DJ ..... :)