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

Migrating to YUI3, filepicker, filemanager, comment and form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: JavaScript
    • Labels:
      None
    • Database:
      Any
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Replace the YUI2 code with YUI3.

      We could benefit from YUI3 by:

      1. load javascript modules dynamically, we don't need to use requires->js anymore
      2. YUI 3 has elegant APIs and better performance
      3. everything can be module, we require yui.js file once, then we could get everything by ajax, awesome!

      In moodle 2.0, we will migrate moodle file picker, filemanager, and commenting system to YUI3 as a module, and try to replace all YUI2 ajax code to new YUI3 style (in javascript-static.js).

      In moodle 2.1, we could possiblly create YUI3 modules for each moodle modules, this will make moodle more flexible.

      NOTE, a few YUI 2 Widgets don't have YUI3 counterparts yet, however, we can use YUI2 with YUI3 together, Caridy Patino created a YUI2 wraper: http://caridy.github.com/gallery-yui2/, it is very useful.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dongsheng Dongsheng Cai
              Reporter:
              dongsheng Dongsheng Cai
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10