Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: DB layer 2.0 migration docs.

Development talk:DB layer 2.0 migration docs

From MoodleDocs
Revision as of 03:22, 23 May 2008 by jerome mouneyrac (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The developer reading this article MUST read XMLDB Documentation (at least Introduction + third first Developing section pages) otherwise he's going to ask plenty of questions :) It could be very good that the first line of this article be: "In order to understand this article you need to know how work the database abstraction layer in Moodle (previous to 2.0)".

API link is broken (=> http://php.moodle.org/ "Server not found")

We know that some changes need to be done on 2.0. But on what? All these examples concerns the glossary module. It would be good to indicate it first. When I read it first, I didn't really know what was going to be explained in XMLDB changes. In fact all this paragraph is about "Updating your upgrade.php file for Moodle 2.0". Conclusion: we really need a clear first sentence for the all "XMLDB changes" paragraph. So we know what we are going to read. Once I knew what is about, all was very clear.

If we don't make any change on DDL code we shouldn't make it as a section/paragraph. The DDL paragraph should be a note. If you remove this paragrap don't forget to update: "Changes below are grouped into 3 main blocks" => "Changes below are grouped into 2 main blocks"

Note: I wrote this comment on first read.

Jerome mouneyrac 22:22, 22 May 2008 (CDT)