1. #1
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    88
    Answers
    3
    Vote Rating
    5
    whirling dervish is on a distinguished road

      0  

    Question Unanswered: Detailed documentation for ExtJS REST request / response handling?

    Unanswered: Detailed documentation for ExtJS REST request / response handling?


    Is there detailed documentation anywhere on what the ExtJS rest classes (Reader, Writer, Proxy) expect from a server response / request?

    For instance, if perform a POST, what does ExtJS expect back in order to get an id for the newly create resource.

    The documentation around ExtJS seems really solid, but I haven't seen these particular details laid out anywhere. Maybe this is a disconnect because I am new to REST and everyone else takes these details for granted, but I am doing a lot of trail and error just to get basic things to work and I would appreciate some guidance.

    Thanks.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,917
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    The expected response would be something like:

    Here are some basic crud example:
    http://www.sencha.com/forum/showthread.php?229457

    grid:
    Code:
    {
        "total"     : "4",
        "widgets" : [
            {
                "id"        : "1",
                "name"      : "Lisa",
                "email"     : "lisa@simpsons.com"
            },
            {
                "id"        : "2",
                "name"      : "Bart",
                "email"     : "bart@simpsons.com"
            },
            {
                "id"        : "3",
                "name"      : "Homer",
                "email"     : "homer@simpsons.com"
            },
            {
                "id"        : "4",
                "name"      : "Marge",
                "email"     : "marge@simpsons.com"
            }
        ]
    }
    Scott.

Thread Participants: 1

Tags for this Thread

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