Using XMLDB: diferència entre les revisions
De MoodleDocs
m category |
|||
| Línia 1: | Línia 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== | ||
Revisió del 13:30, 9 gen 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