Book Image

Moodle 3.x Developer's Guide

By : Ian Wild, Jaswant Tak
Book Image

Moodle 3.x Developer's Guide

By: Ian Wild, Jaswant Tak

Overview of this book

The new and revamped Moodle is the top choice for developers to create cutting edge e-learning apps that cater to different user’s segments and are visually appealing as well. This book explains how the Moodle 3.x platform provides a framework that allows developers to create a customized e-learning solution. It begins with an exploration of the different types of plugin.. We then continue with an investigation of creating new courses. You will create a custom plugin that pulls in resources from a third-party repository. Then you’ll learn how users can be assigned to courses and granted the necessary permissions. Furthermore, you will develop a custom user home. At the end of the book, we’ll discuss the Web Services API to fully automate Moodle 3.x in real time.
Table of Contents (19 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
6
Managing Users - Letting in the Crowds

Preparing for release


There are two main considerations for releasing a module. The first concerns maintainability. You may understand how your plugin functions but will anyone else? Will you understand it if you need to come back to it in six months' time? Maintainability and readability go hand in hand. For more information on the coding style that is expected of you, check out https://docs.moodle.org/dev/Coding_style.

Minimising JavaScript

Another factor to consider in the Wavefront plugin is that we are including JavaScript. Both the AMD script and the third-party three.js libraries we are deploying with our module will need to be minified. Check the Moodle documentation at https://docs.moodle.org/dev/Javascript_Modules for details on how Grunt can be used to minify JavaScript.

Taking things further

Here are some more ideas for further developments to the model viewer plugin:

  1. Create a gallery of 3D models. The plugin's tables have been structured such that a model refers to an instance of...