Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

XMLDB defining an XML structure

From MoodleDocs

XML database schema > Roadmap > Defining one XML structure


Before Moodle 1.6, all the DB install and upgrade was developed twice (once to handle MySQL installations and another to handle PostgreSQL installations). This approach, although working, has caused some headaches in the past, mainly because it was really difficult to keep both lines of development 100% on sync. Some developers do they work against one RDBMS and it was complex to develop to the other one (two test environments, skills on both databases, slower development cycle...). And all this was happening with only two supported RDBMS!

With Moodle 1.7 the objective is to increase the number of supported RDB...

The old approach is not valid anymore.

XML

Difficult to edit, so editor provided

  • Install
  • Use
  • Conventions
  • Structure (assignment)
  • Example and DTD
  • Future Improvements

See also