Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Javascript FAQ.

Javascript FAQ: Difference between revisions

From MoodleDocs
Line 22: Line 22:
Moodle uses the Yahoo! User Interface Library (YUI).
Moodle uses the Yahoo! User Interface Library (YUI).


Online resources:
==== Online resources: ====
* [http://developer.yahoo.com/yui/ Yahoo! User Interface Library (YUI)]
* [http://developer.yahoo.com/yui/ Yahoo! User Interface Library (YUI)]
* [[Development:YUI]] in the Moodle documentation
* [[Development:YUI]] in the Moodle documentation


Book:  
==== Books: ====
* [http://www.packtpub.com/yahoo!-user-interface-library-yui/book Learning the Yahoo! User Interface Library] by Dan Wellman
* [http://www.packtpub.com/yahoo!-user-interface-library-yui/book Learning the Yahoo! User Interface Library] by Dan Wellman


=== How/Why was YUI chosen for Moodle? ===
==== How/Why was YUI chosen for Moodle? ====


The decision was made in [http://moodle.org/mod/forum/discuss.php?d=48478 this thread in the General Developer Forum].
The decision was made in [http://moodle.org/mod/forum/discuss.php?d=48478 this thread in the General Developer Forum].

Revision as of 08:46, 24 July 2009

What is JavaScript?

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

Where do I find general information about JavaScript?

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:

Books:

How/Why was YUI chosen for Moodle?

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

What other JavaScript libraries are around?

jQuery

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

Online resources:

Books:

What does AJAX mean?

AJAX (Asynchronous JavaScript and XML), 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

  • Frank Ralf/JavaScript1 compares different solutions (plain JavaScript, YUI, and jQuery) to a simple enhancement to a form.