Alastair Hole's Moodle javascript Cookbook PDF

By Alastair Hole

Moodle is the easiest e-learning resolution at the block and is revolutionizing classes on the internet. utilizing javascript in Moodle is particularly important to directors and dynamic builders because it makes use of integrated libraries to supply the trendy and dynamic event that's anticipated via net clients today.
The Moodle javascript Cookbook will take you thru the fundamentals of mixing Moodle with javascript and its numerous libraries and clarify how javascript can be utilized besides Moodle. it is going to clarify tips on how to combine Yahoo! consumer Interface Library (YUI) with Moodle. YUI stands out as the major concentration of the booklet, and is the most important to imposing smooth, dynamic feature-rich interfaces to assist your clients get a extra fulfilling and efficient Moodle adventure. it's going to provide help to upload results, make kinds extra responsive, use AJAX and animation, all to create a richer consumer event. it is possible for you to to paintings via a number of YUI positive aspects, corresponding to pulling in and exhibiting details from different web pages, bettering present UI parts to make clients’ lives more straightforward, or even easy methods to upload animation in your pages for a pleasant completing touch.
A Cookbook full of step-by-step recipes to augment Moodle with javascript and the Yahoo! UI Library
What you'll examine from this e-book :
• start with the Yahoo! person Interface Library
• upload validation positive aspects for your Moodle forms
• Retrieve and procedure info from exterior websites in more than a few codecs utilizing AJAX
• upload characteristic wealthy spreadsheet-style facts tables—sorting, paging, and inline editing
• upload auto-complete performance to textual content containers and mixture boxes
• utilize complicated navigation controls—drop-down menus, tabbed panels, and modal windows
• Use animation techniques—fading, scrolling, and resizing
• combine exterior libraries corresponding to JQuery framework, MooTools framework, and Dojo framework
• Initialize a YUI DataSource

Show description

Read Online or Download Moodle javascript Cookbook PDF

Best object-oriented design books

Get Java Design: Objects, UML, and Process PDF

Software program designers, builders, and designers are continuously faced with an identical confounding challenge: tips to layout software program that's either versatile and resilient amid swap. to complete this tall activity, practitioners needs to make the most of the easiest on hand applied sciences to the fullest. JavaT layout is dependent upon a mix of most sensible practices and best-of-breed applied sciences to create a transparent and concise consultant to development high quality, lasting software program designs.

Michael de Raadt's Moodle 1.9 Top Extensions Cookbook PDF

The disorganised array of modules to be had for Moodle are introduced jointly in methods you could relate to. reports comprise info that can assist you make a decision if a module is worthy checking out. There are illustrated, step by step courses to fitting and configuring modules. while you are enthusiastic about instructing utilizing Moodle, be it at fairly small associations working their very own Moodle example, or at huge associations the place Moodle is used and administered, otherwise you are an administrator of a Moodle example who's trying to find modules that would be helpful to academics and scholars at their establishment, this e-book is intended for you.

Java generics and collections by Maurice Naftalin PDF

This entire advisor indicates you the way to grasp the main importantchanges to Java because it was once first published. Generics and the greatlyexpanded assortment libraries have drastically elevated the facility ofJava five and Java 6. yet they've got additionally careworn many builders whohaven't recognized tips to make the most of those new beneficial properties.

José M. Garrido's Object Oriented Simulation: A Modeling and Programming PDF

Item orientated SimulationJosé GarridoAbout this textbook:Object orientated Simulation will qualify as a worthwhile source to scholars and finished pros and researchers alike, because it presents an in depth, but understandable advent to the elemental rules of object-oriented modeling, layout and implementation of simulation types.

Extra resources for Moodle javascript Cookbook

Example text

This is what allows us to later refer to that button specifically from the JavaScript code. When our page is loaded in the browser, our JavaScript file is also loaded and executed, initializing the YUI environment. Next, our function btn1_Click is defined. on method to assign this function to the click event of the button. The name of the event is simply "click" which all browsers understand. Our event handler is simply referenced by name, that is, btn1_Click. on to apply the event handler to the element with ID btn1 by passing the ID prefixed with a #, that is, #btn1.

If we had simply passed this string as a parameter to the JavaScript function, it would only be available inside that function. If we required it to be available within additional functions, we would have to repeat the process, making copies of the string and passing those to the additional functions resulting in unnecessarily inefficient code. 20 2 Moodle and Yahoo! User Interface Library (YUI) In this chapter, we will cover: ff Initializing the YUI 3 library ff Loading YUI 3 modules ff Loading YUI 2 modules from YUI 3 ff Attaching basic event handlers ff Attaching advanced DOM event handlers ff Implementing Event Delegation ff Debugging with the YUI console Introduction There are a lot of common tasks that need to be performed when writing JavaScript.

Available Applied to a specific DOM element. It fires when the element has loaded, but not necessarily after the element's child elements have loaded. contentready Applied to a specific DOM element. It fires when the element and all of its child elements are fully loaded. Fired when the page's DOM is fully loaded and can therefore be accessed safely. This element refers to the full DOM context of the page and is therefore not applied to a specific element. We will implement each of these four events in order to gain greater understanding of when they are fired, both relative to the page load lifecycle as a whole, and relative to each other.

Download PDF sample

Moodle javascript Cookbook by Alastair Hole

by George

Rated 4.57 of 5 – based on 15 votes