Using XMLDB: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) m (category) |
|||
Line 1: | Line 1: | ||
(This docs is in progress of writing and editing, aimed to help third-party module developer to switch to XMLDB) | (This docs is in progress of writing and editing, aimed to help third-party module developer to switch to XMLDB) | ||
==Developing module using XMLDB== | ==Developing module using XMLDB== | ||
Everywhere in Moodle now use XMLDB. Developed to prevent from creating custom database schemas for different database system. | Everywhere in Moodle now use XMLDB. Developed to prevent from creating custom database schemas for different database system. | ||
In every module, there is "db/" directory where database structure stored. | |||
==Convert MySQL syntax to XMLDB== | ==Convert MySQL syntax to XMLDB== |
Revision as of 13:30, 9 January 2008
(This docs is in progress of writing and editing, aimed to help third-party module developer to switch to XMLDB)
Developing module using XMLDB
Everywhere in Moodle now use XMLDB. Developed to prevent from creating custom database schemas for different database system. In every module, there is "db/" directory where database structure stored.
Convert MySQL syntax to XMLDB
This can be done easily by using XMLDB Editor built in every Moodle. Simply go to Administration >> Miscellaneous >> XMLDB Editor