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

XMLRPC to be or not to be

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE

      Description

      Current situation:

      • There are a good list of xmlrpc related issues in the tracker (35 at the time of writing this).
      • PHP 8.0 has moved the xmlrpc extension out from core, now available @ PECL (in "beta" status right now - RC2).
      • We use XMLRPC in various places:
        • Mnet: Both inter-server communication and authentication plugin.
        • Webservices: As a supported protocol on its own.
        • Portfolio (mahara).
        • Exceptions here and there because we are using (incorrectly) stuff within webservice/xmlrpc plugin from other parts of Moodle. (See MDL-56879 for example).
        • ...

      Possible paths (non unique, use by use):

      • We continue using XMLRPC
        • PECL one [or]
        • PHP-only alternative 3rd party lib.
      • We stop using XMLRPC
        • Removing features [or]
        • Changing features to another WS protocol.

      In any case, this requires to be analysed, use by use, and come with a clear outcome (can imagine this becoming an epic) for each. But current situation is really bad (all the points exposed), and we should aim to change that.

      Moodle 4.0 could be a good moment to break this nut!

      Ciao

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: