AutorÃa | Ultima modificación | Ver Log |
XMLDB - Base classes and edition interface.Complete Documentation:http://docs.moodle.org/en/XMLDB_Defining_one_XML_structureCiao, Eloy Lafuente (stronk7)========== ========== ========== ========== ==================== ========== HISTORY ========== ==================== ========== ========== ========== ==========2006-08-07 - Editor working on productionThe editor has been used succesfully to builda bunch of install.xml files and everythingseems to be working properly.========== ========== ========== ========== ==========2006-07-11 - PHP4 compatible releaseNow everything seems to be working under PHP 4. Whata horrible OOP implementation!Note that write permissions to */db dirs are required.Now working in the 3 missing forms, to manually editfields, keys and indexes.Ciao, Eloy Lafuente (stronk7)========== ========== ========== ========== ==========2006-07-11 - Important notesI've just discovered this some seconds ago, in orderto test properly the XMLDB classes and editor:1.- PHP 5 required for now. Will change this soon.2.- Perms to "apache" user needed in */dbdirs in order to allow the XMDBD interfaceto write files.Ciao, Eloy Lafuente (stronk7)========== ========== ========== ========== ==========2006-07-11 - Initial commitThis directory contains the XMLDB classes to be usedunder Moodle > 1.7 to store all the DB info in aneutral form (classes dir). Also it contains one simpleinterface to edit all those structures.To install and test it, simply copy the whole xmldb directoryunder your moodle/admin dir and point your browser (as admin)to http://your.server/moodle/admin/xmldbThe edition interface isn't completed yet (it laks 3 more formsto edit fields, keys and indexes) and there isn't any lang file(although I hope everything is really clear).The edition interface includes one reverse-engineering tool thatprovides an easy way to retroffit and to generate any table fromMySQL to the new XMLDB format.Once the XMLDB format was approved, we'll be able to build all the"generators" needed in order to use it to create Moodle DB structuresfor each RDBMS flavour.Once the interface was finished (2-3 days from now) related documentationwill be sent to http://docs.moodle.org/en/XML_database_schema in orderto comment/modify/approve the final XML format.All the code is, obviously GPL, with its copyrights and so on...Ciao, Eloy Lafuente (stronk7) :-)