Note:

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

Talk:Developer FAQ: Difference between revisions

From MoodleDocs
No edit summary
Line 4: Line 4:
This section contains a link to the 'Moodle 1.9 Extension Development' book by Jonathan Moore and Michael Churchward. Is this book still relevant to Moodle 2 or does Moodle 2 make it out-of-date? In other words, can you use it to develop modules or plugins for Moodle 2, considering that Moodle 2 is such a big upgrade and so much of the Moodle 2 core code has changed significantly?
This section contains a link to the 'Moodle 1.9 Extension Development' book by Jonathan Moore and Michael Churchward. Is this book still relevant to Moodle 2 or does Moodle 2 make it out-of-date? In other words, can you use it to develop modules or plugins for Moodle 2, considering that Moodle 2 is such a big upgrade and so much of the Moodle 2 core code has changed significantly?
--[[User:Luis de Vasconcelos|Luis de Vasconcelos]] 11:19, 5 October 2010 (UTC)
--[[User:Luis de Vasconcelos|Luis de Vasconcelos]] 11:19, 5 October 2010 (UTC)
In terms of whether someone is able to write code for Moodle 2.0,  we can divide people into various levels:
1. People who cannot program in any computer language.
2. People who can program in at least one computer language.
3. People who can program in PHP
4. People who can write code for at least one version of Moodle.
5. People who can write code for Moodle 2.0.
I think that the gaps between each level in that hierarchy get smaller with each step you take. In the Moodle 1.9 workd, this book was designed to take you from Level 3 to the old equivalent of level 5. With Moodle 2.0, it only takes you from Level 3 to Level 4, but that is significantly more than half way.
If you know nothing about Moodle development, the fastest way to get started is probably to read the book, and then tread the tutorials here about converting Moodle 1.9 code to Moodle 2.0.
So, the book is still useful. It would be excellent if (when) the book is updated to Moodle 2.0, but I don't think anyone is working on that yet.--[[User:Tim Hunt|Tim Hunt]] 18:53, 5 October 2010 (UTC)

Revision as of 18:53, 5 October 2010

The link "the documentation for datalib.php" appears to be broken. I believe that it should link to http://phpdocs.moodle.org/moodlecore/_lib---datalib.php.html instead of http://moodle.sourceforge.net/dhawes-phpdoc/moodlecore/_lib_datalib_php.html I'm not sure though because the file is empty. Hopefully someone else knows now to fix this.

Is there any information on creating a new module or plugin?

This section contains a link to the 'Moodle 1.9 Extension Development' book by Jonathan Moore and Michael Churchward. Is this book still relevant to Moodle 2 or does Moodle 2 make it out-of-date? In other words, can you use it to develop modules or plugins for Moodle 2, considering that Moodle 2 is such a big upgrade and so much of the Moodle 2 core code has changed significantly? --Luis de Vasconcelos 11:19, 5 October 2010 (UTC)

In terms of whether someone is able to write code for Moodle 2.0, we can divide people into various levels:

1. People who cannot program in any computer language. 2. People who can program in at least one computer language. 3. People who can program in PHP 4. People who can write code for at least one version of Moodle. 5. People who can write code for Moodle 2.0.

I think that the gaps between each level in that hierarchy get smaller with each step you take. In the Moodle 1.9 workd, this book was designed to take you from Level 3 to the old equivalent of level 5. With Moodle 2.0, it only takes you from Level 3 to Level 4, but that is significantly more than half way.

If you know nothing about Moodle development, the fastest way to get started is probably to read the book, and then tread the tutorials here about converting Moodle 1.9 code to Moodle 2.0.

So, the book is still useful. It would be excellent if (when) the book is updated to Moodle 2.0, but I don't think anyone is working on that yet.--Tim Hunt 18:53, 5 October 2010 (UTC)