Difference between revisions of "Developer documentation"

Jump to: navigation, search
m (Documentation for core components)
(Resources and tools)
Line 19: Line 19:
 
*[http://moodle.org/xref/nav.html?index.html Cross reference] - phpxref output for browsing Moodle source code
 
*[http://moodle.org/xref/nav.html?index.html Cross reference] - phpxref output for browsing Moodle source code
 
*[http://phpdocs.moodle.org/ Moodle PHP doc reference] - automatically generated documentation
 
*[http://phpdocs.moodle.org/ Moodle PHP doc reference] - automatically generated documentation
 +
*[[Database Schema|Database Schema]] - for recent releases
 
*[http://moodle.org/course/view.php?id=5#4 Development news and discussion] section of Using Moodle course
 
*[http://moodle.org/course/view.php?id=5#4 Development news and discussion] section of Using Moodle course
 
*[http://developer.yahoo.com/yui YUI documentation] - YUI is the official AJAX library in moodle.
 
*[http://developer.yahoo.com/yui YUI documentation] - YUI is the official AJAX library in moodle.
 
*[[Setting up Eclipse for Moodle development]] - Eclipse is a great editor to use for php development, if you can work out how to set it up.
 
*[[Setting up Eclipse for Moodle development]] - Eclipse is a great editor to use for php development, if you can work out how to set it up.
 
*[[Unmerged files]] - changes on the stable branch in CVS that have not been merged to HEAD
 
*[[Unmerged files]] - changes on the stable branch in CVS that have not been merged to HEAD
 +
 
==How you can contribute==
 
==How you can contribute==
  

Revision as of 23:25, 22 November 2006

Note: New developer documentation pages should be added to the Development namespace by typing

Development:
before the new page name i.e.
[[New page name]]
.

Guidelines

The following guidelines are crucial reading for anyone wanting to contribute to the Moodle code base:

Resources and tools

How you can contribute

The M in Moodle stands for 'Modular'. There are many different types of components that you can contribute that can be plugged into Moodle to provide additional functionality. When you have developed a new component please publish it in the database of Moodle modules and plugins. The following types of plugins currently exist (in alphabetical order):

There are also ways you can contribute that don't involve PHP programming:

You can also help a lot by

Plans for the future

Ideas for and details of planned future features of Moodle are initially discussed on the forums in the Using Moodle course at moodle.org. That developer discussions are intermixed with user discussions in the same forums may seem strange at first but is one of the reasons for the success of Moodle. It is important that both end-users and developers discuss the future features together.

Once ideas begin to crystalize on the forums they can be summarized in this wiki, either as part of the Roadmap or in the form of Developer notes. These pages then form the basis for further discussion in the forums.

Documentation for core components

This section is for documentation of specific components of the existing core Moodle code. Discussion of components that are under discussion or in development can be found in the Developer notes or on the Roadmap.

Documentation for contributed code

Many Moodle users contribute code for the benefit of other Moodle users. This can take the form of new activity modules, blocks, themes, resource plug-ins, assignment plug-ins, question type plug-ins, question import/export formats, quiz report plug-ins, course formats, ... This code is initially posted on the forums in the Using Moodle course and then often go into the contrib area of the Moodle CVS repository. When you have developed a new component please publish it in the database of Moodle modules and plugins. Developer documentation for these components should be listed here.

See also