is data proxy is the same as ajax?
i'm new to extjs, my boss buying me one developer license of extjs. Currently i got no progress so far, but i still struggling here.
back to my question, is data proxy is the same as ajax?, if not what is the difference?.
i've been using Ext.data.JsonStore and HttpProxy for grid, but then there Ext.ajax, now i'm confused when i must use Ext.data and when to use Ext.ajax.
Ext.Ajax is an instance of Ext.data.Connection. It is used for requesting data from the server using XMLHttpRequest.
Ext.data.Store uses a proxy to request data from the server. Since there are several ways to do this, it requires a descendant of the abstract Ext.data.DataProxy.
Ext.data.HttpProxy is a descendant of Ext.data.DataProxy that uses either Ext.Ajax or an instance of Ext.data.Connection (depending on the constructor parameters).
Ext.data.ScriptTagProxy is another descendant of Ext.data.DataProxy that uses a <script> tag to request the data. Ext.data.ScriptTagProxy is less flexible, but has the advantage that it also works with request to a different server.
so for the summary if i use Ext.data.HttpProxy then i already using Ext.ajax.
oke, this give me more step knowing extjs .