Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Moodle 3.x Developer's Guide

You're reading from   Moodle 3.x Developer's Guide Build custom plugins, extensions, modules and more

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781786467119
Length 368 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Jaswant Tak Jaswant Tak
Author Profile Icon Jaswant Tak
Jaswant Tak
Ian Wild Ian Wild
Author Profile Icon Ian Wild
Ian Wild
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting to Grips with the Moodle 3 Architecture FREE CHAPTER 2. Moodle Plugins - What Can I Plug In? 3. Internal Interfaces 4. Course Management 5. Creative Teaching - Developing Custom Resources and Activities 6. Managing Users - Letting in the Crowds 7. Creating a Dashboard - Developing a Learner Homepage 8. Creating a New Skin 9. Moodle Analytics Appendix

Course formats


The layout of a course page is managed through the selection of the relevant course format plugin. See https://docs.moodle.org/dev/Course_formats for details. Our IDs are willing to display resources and activities based on the user's location. A search through the Moodle plugins directory revealed the GPS Format plugin--see https://moodle.org/plugins/format_gps-- originally developed by Jurgen Kappus, Barry Oosthuizen, and Ralf Krause. However, our designers were looking for something simpler and have asked us to investigate further.

What's great about this plugin is that it allows us to also investigate how we can go about incorporating JavaScript and AJAX into our Moodle plugins. Recall that PHP scripts run server-side and JavaScript runs client-side. Advantages of running code client-side include the following:

  • There are some things about the client that the server can't know about (such as the client's location)
  • Processing takes place on the client machine not on the server...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime