Szczegóły ebooka

Moodle JavaScript Cookbook. Make Moodle e-learning even more dynamic by learning to customize using JavaScript. With over 50 recipes, this Cookbook allows you to add effects, modify forms, include animations, and much more for an enhanced user experience

Moodle JavaScript Cookbook. Make Moodle e-learning even more dynamic by learning to customize using JavaScript. With over 50 recipes, this Cookbook allows you to add effects, modify forms, include animations, and much more for an enhanced user experience

Alastair Hole, Moodle Trust

Ebook
Moodle is the best e-learning solution on the block and is revolutionizing courses on the Web. Using JavaScript in Moodle is very useful to administrators and dynamic developers as it uses built-in libraries to provide the modern and dynamic experience that is expected by web users today.The Moodle JavaScript Cookbook will take you through the basics of combining Moodle with JavaScript and its various libraries and explain how JavaScript can be used along with Moodle. It will explain how to integrate Yahoo! User Interface Library (YUI) with Moodle. YUI will be the main focus of the book, and is the key to implementing modern, dynamic feature-rich interfaces to help your users get a more satisfying and productive Moodle experience. It will enable you to add effects, make forms more responsive, use AJAX and animation, all to create a richer user experience. You will be able to work through a range of YUI features, such as pulling in and displaying information from other websites, enhancing existing UI elements to make users' lives easier, and even how to add animation to your pages for a nice finishing touch.
  • Moodle JavaScript Cookbook
    • Table of Contents
    • Moodle JavaScript Cookbook
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Combining Moodle and JavaScript
      • Introduction
      • Creating a new Moodle PHP page
        • Getting ready
        • How to do it...
        • How it works...
      • Loading a JavaScript file
        • Getting ready
        • How to do it...
        • How it works...
      • Loading a JavaScript file in <head>
        • Getting ready
        • How to do it...
        • How it works...
      • Generating a JavaScript function call from PHP
        • Getting ready
        • How to do it...
        • How it works
      • Passing variables from PHP to JavaScript
        • Getting ready
        • How to do it...
        • How it works
      • Ensuring compliance with XHTML Strict
        • Getting ready
        • How to do it...
        • How it works
      • Retrieving language strings from Moodle
        • Getting ready
        • How to do it...
        • How it works
    • 2. Moodle and Yahoo! User Interface Library (YUI)
      • Introduction
      • Initializing the YUI 3 library
        • Getting ready
        • How to do it...
        • How it works...
      • Loading additional YUI modules
        • How to do it...
      • Loading YUI 2 modules from YUI 3
        • Getting ready
        • How to do it...
        • How it works...
      • Attaching basic event handlers
        • Getting ready
        • How to do it...
        • How it works...
      • Attaching advanced DOM event handlers
        • Getting ready
        • How to do it...
        • How it works...
      • Implementing event delegation
        • Getting ready
        • How to do it...
        • How it works...
      • Debugging with the YUI console
        • Getting ready
        • How to do it...
        • How it works...
    • 3. Moodle Forms Validation
      • Introduction
      • Adding a required field
        • Getting ready
        • How to do it...
        • How it works...
      • Adding a field with a maximum length
        • Getting ready
        • How to do it...
        • How it works...
      • Adding a field with a minimum length
        • Getting ready
        • How to do it...
        • How it works...
      • Adding a field length within in a specified range
        • Getting ready
        • How to do it...
        • How it works...
      • Adding a valid e-mail address field
        • Getting ready
        • How to do it...
        • How it works...
      • Adding custom validation with a Regular Expression
        • Getting ready
        • How to do it...
        • How it works...
      • Adding a field that accepts only alphabetic characters
        • Getting ready
        • How to do it...
        • How it works...
      • Adding a field that accepts only alphanumeric characters
        • Getting ready
        • How to do it...
        • How it works...
      • Adding a field that accepts only numeric characters
        • Getting ready
        • How to do it...
        • How it works...
      • Rejecting punctuation characters
        • Getting ready
        • How to do it...
        • How it works...
      • Rejecting input without a leading zero
        • Getting ready
        • How to do it...
        • How it works...
      • Comparing with another field
        • Getting ready
        • How to do it...
        • How it works...
      • Adding a custom JavaScript validation function callback
        • Getting ready
        • How to do it...
        • How it works...
    • 4. Manipulating Data with YUI 3
      • Introduction
      • Using IO to request a URI
        • How to do it...
        • How it works...
      • Using IOs alternative transport method for requesting external URIs
        • Getting ready
        • How to do it...
        • How it works...
      • Using PHP as a proxy to load data from an external domain
        • How to do it...
        • How it works...
      • Parsing XML with DataSource
        • How to do it...
        • How it works...
      • Parsing JSON with DataSource
        • Getting ready
          • How to do it...
          • How it works...
        • Parsing CSV data with DataSource
          • Getting ready
            • How to do it...
            • How it works...
          • Retrieving data from a Moodle 2.0 web service
            • Getting ready
            • How to do it...
            • How it works
    • 5. Working with Data Tables
      • Introduction
      • Initializing a YUI DataSource
        • How to do it...
        • How it works...
      • Displaying data
        • How to do it...
        • How it works...
      • Basic column sorting
        • Getting ready
        • How to do it...
        • How it works...
      • Adding paging
        • Getting ready
        • How to do it...
        • How it works...
      • Enabling scrolling
        • Getting ready
        • How to do it...
        • How it works...
      • Enabling editing
        • Getting ready
        • How to do it...
        • How it works...
    • 6. Enhancing Page Elements
      • Introduction
      • Adding a text box with auto-complete
        • How to do it...
        • How it works...
      • Adding a combo box with auto-complete
        • How to do it...
        • How it works...
      • Displaying auto-updating data
        • How to do it...
        • How it works...
      • Enabling resizable elements
        • How to do it...
        • How it works...
      • Adding custom tooltips
        • How to do it...
        • How it works...
      • Adding custom button controls
        • How to do it...
        • How it works...
    • 7. Advanced Layout Techniques
      • Introduction
      • Adding a fly-out navigation menu
        • How to do it...
        • How it works...
      • Adding a drop-down navigation menu
        • Getting ready
        • How to do it...
        • How it works...
      • Displaying a tree-view navigation menu
        • How to do it...
          • How it works...
        • Adding a tabbed content control
          • How to do it...
            • How it works...
          • Displaying content in a modal window
            • How to do it...
              • How it works...
    • 8. Animating Components
      • Introduction
      • Fading in an element
        • How to do it...
        • How it works...
      • Fading out an element
        • How to do it...
        • How it works...
      • Scrolling an element
        • How to do it...
        • How it works...
      • Resizing an element
        • How to do it...
        • How it works...
      • Animating with easing
        • How to do it...
        • How it works...
      • Moving an element along a straight path
        • How to do it...
        • How it works...
      • Moving an element along a curved path
        • How to do it...
        • How it works...
      • Changing an element's color
        • How to do it...
        • How it works...
      • Sequencing multiple animations
        • How to do it...
        • How it works...
    • 9. Integrating External Libraries
      • Introduction
      • Adding the jQuery framework
        • Getting ready
        • How to do it...
        • How it works...
      • Adding the MooTools framework
        • Getting ready
        • How to do it...
        • How it works...
      • Adding the Dojo framework
        • Getting ready
        • How to do it...
        • How it works...
      • Adding the Prototype framework
        • Getting ready
        • How to do it...
        • How it works...
      • Adding the script.aculo.us add-on to Prototype
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
      • Adding image enlargement with Lightbox 2
        • Getting ready
        • How to do it...
        • How it works...
        • There's more
    • Index
  • Tytuł: Moodle JavaScript Cookbook. Make Moodle e-learning even more dynamic by learning to customize using JavaScript. With over 50 recipes, this Cookbook allows you to add effects, modify forms, include animations, and much more for an enhanced user experience
  • Autor: Alastair Hole, Moodle Trust
  • Tytuł oryginału: Moodle JavaScript Cookbook. Make Moodle e-learning even more dynamic by learning to customize using JavaScript. With over 50 recipes, this Cookbook allows you to add effects, modify forms, include animations, and much more for an enhanced user experience.
  • ISBN: 9781849511919, 9781849511919
  • Data wydania: 2011-04-26
  • Format: Ebook
  • Identyfikator pozycji: e_3cz7
  • Wydawca: Packt Publishing