Javascript FAQ
From MoodleDocs
What is JavaScript?
JavaScript is a scripting language widely used for client-side web development.
Where do I find general information about JavaScript?
- JavaScript (Wikipedia)
- JavaScript Tutorial at W3Schools.com
How is JavaScript used by Moodle?
Where do I find more information about JavaScript in Moodle?
- JavaScript Guidelines by Tim Hunt (work in progress)
- Use of JavaScript in Moodle discussion in the General developer forum
What JavaScript library does Moodle use?
Yahoo! User Interface Library (YUI)
Moodle uses the Yahoo! User Interface Library (YUI).
Online resources:
- Yahoo! User Interface Library (YUI)
- Development:YUI in the Moodle documentation
Book:
- Learning the Yahoo! User Interface Library by Dan Wellman
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?
- A nice comparison chart: Evaluation of JavaScript Libraries
jQuery
Online resources:
Books:
- Learning jQuery by Karl Swedberg and Jonathan Chaffer
- jQuery Reference Guide by Jonathan Chaffer and Karl Swedberg
- jQuery in Action by Bear Bibeault and Yehuda Katz
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.