Tutorial: Difference between revisions
From MoodleDocs
(→TODO) |
No edit summary |
||
Line 39: | Line 39: | ||
=See also these older tutorials = | |||
* [[Blocks|A Step-by-step Guide To Creating Blocks]] | * [[Blocks|A Step-by-step Guide To Creating Blocks]] | ||
* [[NEWMODULE Tutorial]] | * [[NEWMODULE Tutorial]] | ||
* [http://dev.moodle.org Introduction to Moodle programming (based on Moodle 1.8)] | * [http://dev.moodle.org Introduction to Moodle programming (based on Moodle 1.8)] | ||
* [[Moodle_Mobile_Developing_a_plugin_tutorial|Moodle Mobile plugin tutorial]] | * [[Moodle_Mobile_Developing_a_plugin_tutorial|Moodle Mobile plugin tutorial]] |
Revision as of 16:14, 10 May 2016
Welcome to Moodle development!
This is a tutorial to help you learn how to write plugins for Moodle from start to finish, while showing you how to navigate the most important developer documentation along the way.
PRE-REQUISITES: We assume you are fairly comfortable with PHP in general and that you are able to install a database and web server on your local machine.
Background
Setting up your development environment
The Moodle development framework
What type of plugin are you developing?
Let's make a plugin
The skeleton of your plugin
Basic page structure
How we support 110 languages
Add content to your page
Database queries
Creating your own database tables
Supporting access permissions: roles, capabilities and contexts
Adding web forms
Maintaining good security
Handling files
Adding Javascript
Adding events and logging
Web Services and AJAX
Using caching to improve performance
Supporting backup and restore
Supporting automated testing
Publishing your plugin
Adding your plugin to moodle.org
Supporting your plugin
TODO
Finishing this tutorial:
- About one or two screens for each section with a very generic overview for beginners, containing links to relevant docs WITH COMMENTS ABOUT QUALITY, USEFULNESS, CAVEATS etc.
- Go through all the linked pages and make sure they are current and accurate.
- Add a worked example to this page, so that each section has suggestions about things to add to the admin tool being built as an exercise.