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

Chapter 3. Internal Interfaces

In the previous chapter, we investigated the types of plugin that we can develop to enhance the Moodle platform. But how does a plugin talk to Moodle? In Chapter 1, Getting to Grips with the Moodle 3 Architecture, we introduced a few of the Moodle Application Programming Interfaces (APIs), specifically discussing why as developers we should use the data manipulation API to talk to the Moodle database rather than manipulating the database directly.

We begin this chapter by taking up the local plugin we developed in Chapter 1, Getting to Grips with the Moodle 3 Architecture ;and begin to enhance it to do some more interesting things--for example, it would be more useful if we can configure the languages it displays and it might be useful if we can specify the order in which the languages are displayed.

By the end of this chapter, you will have:

  • A good appreciation of the different types of APIs available
  • Worked with the main presentation APIs--form, and output renderers...