Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Workshop.

Development:Workshop: Difference between revisions

From MoodleDocs
mNo edit summary
m (Added link to XML schema)
Line 7: Line 7:
== Database structure ==
== Database structure ==
[[Image:workshop_erd.png|400px|thumb|left|ER diagram of DB tables used in/by Workshop module]]
[[Image:workshop_erd.png|400px|thumb|left|ER diagram of DB tables used in/by Workshop module]]
<br clear="all"/>
== XML structure ==
For the purpose of backup/moodle2, the following XML schema is used. Note that only accumulative grading strategy is illustrated here. All other grading strategy subplugins are integrated in a similar way.
[[Image:workshop_xml.png|400px|thumb|left|XML diagram of elements tree in workshop.xml]]
<br clear="all"/>
<br clear="all"/>



Revision as of 09:45, 8 July 2010

Note: This article is a work in progress. Please use the page comments or an appropriate moodle.org forum for any recommendations/suggestions for improvement.

Template:Moodle 2.0

This page describes the current implementation of the Workshop module. See also Development:Workshop 2.0 specification and Development:Workshop 2.0 testing.

Diagrams and schemas

Database structure

ER diagram of DB tables used in/by Workshop module


XML structure

For the purpose of backup/moodle2, the following XML schema is used. Note that only accumulative grading strategy is illustrated here. All other grading strategy subplugins are integrated in a similar way.

XML diagram of elements tree in workshop.xml


Classes

The following UML diagram explains the structure of classes defined in workshop subplugins.

UML class diagram


Grades calculation

The scheme of grades calculation in Workshop