Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49163

Unified Ajax script handler

    XMLWordPrintable

Details

    Description

      Create a core ajax script handler (and AMD wrapper) with these features:

      • Can call any registered webservice using sesskey as a token
      • Can call multiple functions in one request and return separate responses
      • Can register callbacks to receive the response from:
        • Success of all requests
        • Any single failure
        • Success or failure of any specific request

      It will be a big improvement if we can stop building separate AJAX apis and web service APIs, as well as many separate AJAX handlers with no consistent responses/error handling.

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              damyon Damyon Wiese
              David Monllaó David Monllaó
              Dan Poltawski Dan Poltawski
              Rajesh Taneja Rajesh Taneja
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15