Note: This documentation is for Moodle 2.7. For up-to-date documentation see Question Engine 2.

Development:Question Engine 2: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 18: Line 18:
* [[Development:Question Engine 2:Design|Detailed design]]
* [[Development:Question Engine 2:Design|Detailed design]]
* Developer documentation that will apply once the new system is finished:
* Developer documentation that will apply once the new system is finished:
** [[Development:Overview of the Moodle question engine|Overview of the Moodle question engine]]
** [[Development:Developing a Question Interaction Model|Developing a Question Interaction Model]]
** [[Development:Developing a Question Interaction Model|Developing a Question Interaction Model]]
** [[Development:Developing a Question Type|Developing a Question Type]]
** [[Development:Developing a Question Type|Developing a Question Type]]

Revision as of 19:22, 26 February 2010

Template:Question engine 2 There are some long-standing problems at the heart of the Moodle quiz module. Some design decisions that made sense when the quiz was started in the Moodle 1.1 days that are creaking at the seams now, because the quiz and question system has expanded so much.

The main problems are

  • The database structure is not normalised. This leads to robustness issues, particularly on overloaded MySQL servers.
  • As features like adaptive mode and each attempt builds on last were added, the code has evolved into spaghetti.
  • And we want to add yet more things like certainty based marking.
  • It is more work than it should be create a new question type, and (judging by forum threads) the API is confusing.
  • It is difficult to use questions in other modules like lesson.

These are explained in more detail in Why this change is needed? below.

This is a large proposal, so I have broken it down into sections. The Design is the key part. The other sections support that.

See also