Guidance for developing new Moodle Plugin

Guidance for developing new Moodle Plugin

by Sumesh KS -
Number of replies: 6

Hi all,

I am new to moodle plugin development. We planning to develop a plugin for our school.

The Idea is

1. We have a webpage (created in python/PHP) hosted on another server, this page contains some information. This information on the webpage may change based on the student data. Once students interacted with this external webpage, he/she submit a form or click a link to return to moodle.

We want to send some data from moodle to that external webpage, like student username, email, course name, etc and, store some data in moodle database from the webpage, when students finish the interaction with that webpage.

Currently, we are reading the Moodle plugin development tutorials. It will be helpful to us if anyone can share some knowledge in starting development.


Average of ratings: -
In reply to Sumesh KS

Re: Guidance for developing new Moodle Plugin

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
Hello Sumesh. When you say "we are reading the Moodle plugin development tutorials" I encourage you to sign up and do the very good Moodle Plugin Development Basics free self-paced course.
Average of ratings: Useful (1)
In reply to Sumesh KS

Re: Guidance for developing new Moodle Plugin

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
Is there a specific reason for the other server? It may be easier to create this as a Moodle local plugin, particularly as you are trying to get data out and back in - using Moodle itself to create this tool/page would mean simply using Moodle's own internal tools to manage and store that data?
In reply to Richard Oelmann

Re: Guidance for developing new Moodle Plugin

by Sumesh KS -
Hi Richard,
Some third-party programs are hosted on that server. The webpage is using the service of these programs.
In reply to Sumesh KS

Re: Guidance for developing new Moodle Plugin

by Benjamin Ellis -
Picture of Particularly helpful Moodlers
Hi,

Apart from the development documentation pages here on moodle.org including the Tutorial at https://docs.moodle.org/dev/Tutorial, there are a couple of development books – see https://moodle.org/books including my book ‘Introduction to Moodle 3.9+ Plugin Development‘ (https://books2read.com/m39plugindevelopment) and a number of courses -’Moodle Plugin Development Basics’ at https://learn.moodle.org/ (free), the MoodleBites for Developers Level 1 – a little expensive – (https://www.moodlebites.com/mod/page/view.php?id=24546) and a few short specific ones on Udemy (https://www.udemy.com/courses/search/?src=ukw&q=moodle+development).
Average of ratings: Useful (2)
In reply to Benjamin Ellis

Re: Guidance for developing new Moodle Plugin

by Richard Jones -
Picture of Plugin developers Picture of Testers
Some practical examples of simple blocks and mods also here: https://github.com/richardjonesnz?tab=repositories. Some of these have been developed and are explained in detail within the MoodleBites courses mentioned above. Disclaimer: I have no personal financial interest in those courses.
Average of ratings: Useful (2)