Javascript FAQ

Revision as of 14:00, 8 February 2011 by Mark Johnson (talk | contribs) (See also)

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.4. Up-to-date documentation for the latest stable version of Moodle may be available here: Javascript FAQ.

What is JavaScript?

JavaScript is a scripting language widely used for client-side web development.

Where do I find general information about JavaScript?

Online resources:


How is JavaScript used by Moodle?

Where do I find more information about JavaScript in Moodle?

What JavaScript library does Moodle use?

Yahoo! User Interface Library (YUI)

Moodle uses the Yahoo! User Interface Library (YUI).

Online resources:


How/Why was YUI chosen for Moodle?

The decision was made in this thread in the General Developer Forum.

yui_module function in Moodle 2.0

See JavaScript Cache and YUI Modules and MDL-22920.

What other JavaScript libraries are around?


jQuery is another popular JavaScript library, used among others by Drupal, Joomla and WordPress.

Online resources:


What does AJAX mean?

AJAX means "Asynchronous JavaScript and XML". It is a group of interrelated web development techniques used to create interactive web applications or rich Internet applications.

See AJAX (Wikipedia) for general information and AJAX for information on AJAX and Moodle.

See also