1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    14
    Vote Rating
    0
    ratno is on a distinguished road

      0  

    Default is data proxy is the same as ajax?

    is data proxy is the same as ajax?


    hi all,
    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.

    regards,

    ratno

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    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.

  3. #3
    Ext User
    Join Date
    Apr 2008
    Posts
    14
    Vote Rating
    0
    ratno is on a distinguished road

      0  

    Default


    thanks Condor,
    so for the summary if i use Ext.data.HttpProxy then i already using Ext.ajax.

    oke, this give me more step knowing extjs .

    ratno

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi