Difference between revisions of "Javascript FAQ"

Jump to: navigation, search
(Update list of recommended books.)
(Add Javascript the good parts (Crockford))
Line 11: Line 11:
  
 
=== Books: ===
 
=== Books: ===
 +
* [http://shop.oreilly.com/product/9780596517748.do JavaScript: The Good Parts] by Douglas Crockford
 
* [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 - Promotes accessible JavaScript solutions by following the principles of [[Progressive enhancement| progressive enhancement]] and [[Unobtrusive_Javascript| unobtrusive scripting]].
 
* [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 [[Progressive enhancement| progressive enhancement]] and [[Unobtrusive_Javascript| unobtrusive scripting]].

Revision as of 01:03, 10 March 2013

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:

Books:

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.

yui_module function in Moodle 2.0

See JavaScript Cache and YUI Modules and MDL-22920.

What other JavaScript libraries are around?

jQuery

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

Online resources:

Books:

Moodle Docs

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 Firebug > Debugging AJAX with Firebug.

See also