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

              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15