Javascript FAQ: Difference between revisions
From MoodleDocs
Frank Ralf (talk | contribs) |
Frank Ralf (talk | contribs) |
||
Line 12: | Line 12: | ||
Books: | Books: | ||
* [http://oreilly.com/catalog/9780596101992 JavaScript: The Definitive Guide, Fifth Edition] by David Flanagan - Really the ultimate reference guide (nearly 1000 pages). | * [http://oreilly.com/catalog/9780596101992 JavaScript: The Definitive Guide, Fifth Edition] by David Flanagan - Really the ultimate reference guide (nearly 1000 pages). | ||
* [http://www.sitepoint.com/books/jsant1/ The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks] by James Edwards & Cameron Adams - | * [http://www.sitepoint.com/books/jsant1/ The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks] by James Edwards & Cameron Adams - Promotes accessible JavaScript solutions by following the principles of [[Development:Progressive enhancement| progressive enhancement]] and [[Development:Unobtrusive_Javascript| unobtrusive scripting]]. | ||
== How is JavaScript used by Moodle? == | == How is JavaScript used by Moodle? == |
Revision as of 08:07, 19 November 2009
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:
- JavaScript (Wikipedia)
- JavaScript Tutorial at W3Schools.com
- Sitepoint JavaScript tutorials
Books:
- JavaScript: The Definitive Guide, Fifth Edition by David Flanagan - Really the ultimate reference guide (nearly 1000 pages).
- The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks by James Edwards & Cameron Adams - Promotes accessible JavaScript solutions by following the principles of progressive enhancement and unobtrusive scripting.
How is JavaScript used by Moodle?
- See Category:Javascript.
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
Books:
- 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
jQuery is another popular JavaScript library, used among others by Drupal, Joomla and WordPress.
Online resources:
Books:
- jQuery in Action by Bear Bibeault and Yehuda Katz
- Learning jQuery by Karl Swedberg and Jonathan Chaffer
- jQuery Reference Guide by Jonathan Chaffer and Karl Swedberg
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.