Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Javascript FAQ: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(Replaced content with "{{Moved_to_dev_docs}}")
 
(22 revisions intermèdies per 2 usuaris que no es mostren)
Línia 1: Línia 1:
== What is JavaScript? ==
{{Moved_to_dev_docs}}
 
JavaScript is a scripting language widely used for client-side web development.
 
== Where do I find general information about JavaScript? ==
 
* [http://en.wikipedia.org/wiki/JavaScript JavaScript (Wikipedia)]
* [http://www.w3schools.com/JS/ JavaScript Tutorial] at W3Schools.com
 
== How is JavaScript used by Moodle? ==
 
* See [https://docs.moodle.org/en/Category:Javascript Category:Javascript].
 
== Where do I find more information about JavaScript in Moodle? ==
 
* [[Development:JavaScript_guidelines|JavaScript Guidelines]] by Tim Hunt (work in progress)
* [http://moodle.org/mod/forum/discuss.php?d=106312 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:
* [http://developer.yahoo.com/yui/ Yahoo! User Interface Library (YUI)]
* [[Development:YUI]] in the Moodle documentation
 
Book:
* [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? ===
 
The decision was made in [http://moodle.org/mod/forum/discuss.php?d=48478 this thread in the General Developer Forum].
 
== What other JavaScript libraries are around? ==
 
* A nice comparison chart: [http://wiki.freaks-unidos.net/javascript-libraries Evaluation of JavaScript Libraries]
 
=== jQuery ===
 
Online resources:
* [http://jquery.com/ jQuery]
* [http://visualjquery.com Visual jQuery]
* [http://jqueryfordesigners.com jQuery for Designers]
 
Books:
* [http://www.packtpub.com/jQuery/book Learning jQuery] by Karl Swedberg and Jonathan Chaffer
* [http://www.packtpub.com/jquery-reference-guide-Open-Source/book jQuery Reference Guide] by Jonathan Chaffer and Karl Swedberg
* [http://www.manning.com/bibeault/ 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 [http://en.wikipedia.org/wiki/Ajax_(programming) AJAX (Wikipedia)] for general information and [[AJAX]] for information on AJAX and Moodle.
 
== See also ==
 
* [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 ''unobtrusive scripting''.
 
[[Category:FAQ]]
[[Category:Javascript]]
[[Category:AJAX]]

Revisió de 07:29, 22 juny 2011

This development related page is now located in the Dev docs.

See the Javascript FAQ page in the Dev docs.