MoodleBites for Developers Level 2 is a technical course.
Please read the course outline and details here for start dates, fees, etc. before registering.  You may wish to consider taking MoodleBites for Developers Level 1 first (a discount is available when taking both courses).

We introduce the course, state some expectations, check on your development environment and then install our plugin from a template.

We also add some notes about git, a very useful tool for developers and pretty much an essential for Moodle Developers.

The example plugin uses renderers to separate the output from the plugin logic as is good practice in any kind of development.  We briefly re-visit the $PAGE and other output components and refactor our code to use simple permissions.  We set up a couple of features: styles.css and a local class.


This week covers Moodle forms to an advanced level.  We will briefly recap the material from the level 1 course before getting into the complexities associated with saving form data and upgrading a plugin by adding a new table.  Finally we save some data to the table using a form, including dealing with an editor type form element.

We have some tidying up to do this week.  We can now add one page but we need to be able to add more pages and navigate between them, edit pages and delete them.   We will introduce a page management "console" similar to those you already see in Moodle for managing courses.  All in all, another busy week.

Admin settings pages. Testing our plugin with multiple instances and roles, re-visiting the database API.  User reports and multi-page output.  Thinking about security


Have we finished out plugin, is it ever finished?  Code checking and the plugins database. Some additions we might make to increase interactivity.

Haere mai (farewell) from all in New Zealand.

This course is used to enable MoodleBites for Developers Level 2 participants to print a Certificate of Completion and download a Badge.