开发者文档:修订间差异

来自MoodleDocs
跳转至:导航、​搜索
无编辑摘要
 
(未显示6个用户的11个中间版本)
第1行: 第1行:
==Moodle如何开发==
这个[[开发:概要|Moodle开发过程的概要]]方便理解Moodle的开发以及如何成为Moodle的开发者。
==指南==
==指南==
 下面的这些指南对于每个希望参与Moodle开发的人都是必须阅读的:
 下面的这些指南对于每个希望参与Moodle开发的人都是必须阅读的:
第7行: 第10行:
*[[单元测试]] 说明如何运行单元测试以及如何编写新的测试案例
*[[单元测试]] 说明如何运行单元测试以及如何编写新的测试案例
*[[缺陷跟踪]] 解释如何利用Moodle Tracker缺陷跟踪系统来报告错误、问题和新的特性需求等等
*[[缺陷跟踪]] 解释如何利用Moodle Tracker缺陷跟踪系统来报告错误、问题和新的特性需求等等
==核心组件的文档==


== 资源和工具 ==
== 资源和工具 ==
第23行: 第29行:
==如何贡献你的力量==
==如何贡献你的力量==


The M in Moodle stands for 'Modular'. There are many different types of components that you can contribute that can be plugged into Moodle to provide additional functionality. When you have developed a new component please publish it in the [http://moodle.org/mod/data/view.php?id=6009 database of Moodle modules and plugins]. The following types of plugins currently exist (in alphabetical order):
Moodle的首字母 M 表示' 模块化' 的意思。 Moodle 提供很多不同组件接口,你可以贡献你的组件模块来增强Moodle的功能。当你开发完一个新的组件,请将它发布在 [http://moodle.org/mod/data/view.php?id=6009 Moodle 模块和插件数据库列表]. 下面是已经存在的插件列表 ( 按照字母排序):
*[[Modules (developer)|Activity modules]]
*[[ 开发:模块 ( 开发者)| 活动模块]]
*[[Assignment types]]
*[[ 作业类型]]
*[[Authentication|Authentication methods]]
*[[ 认证| 认证方法]]
*[[Blocks Howto|Blocks]]
*[[ 板块入门| 板块]]
*[[Course formats]]
*[[ 课程格式]]
*[[Database fields (developer)|Database fields]]
*[[ 数据库字段 ( 开发者)| 数据库字段]]
*[[Database presets]]
*[[ 数据库调整]]
*[[Enrolment plugins (developer)|Enrolment plugins]]
*[[ 选课插件 ( 开发者)| 选课插件]]
*[[Filters (developer)|Filters]]
*[[ 过滤器 ( 开发者)| 过滤器]]
*[[Question_engine]]
*[[ 问题引擎]]
*[[Question import/export formats]]
*[[ 问题 导入/ 导出 格式]]
*[[Question types|Question types teacher docs]]
*[[ 问题类型| 问题类型--教师文档]]
*[[Question_engine#Question_types|Question types developper docs]]
*[[ 问题引擎# 问题类型| 问题类型--开发者文档]]
*[[Quiz reports]]
*[[ 测验报告]]
*[[Resource types]]
*[[ 资源类型]]
*[[SSO plugins]]
*[[ 统一验证插件]]


There are also ways you can contribute that don't involve PHP programming:
这里也有你可以参与贡献并且无需掌握PHP编码技能的:
*[[Themes]]
*[[ 风格]]
*[[Translation]]
*[[ 翻译]]
*[[Database Schemas|Database schemas]]
*[[ 数据库模式| 数据库模式]]


You can also help a lot by
你也可以从下面这些方面帮助我们:
*[[Tests|Testing]]
*[[ 测试| 测试]]
*[[Bug tracker|Participating in the bug tracker]]
*[[ 问题跟踪| 参与缺陷跟踪]]


==未来的发展计划==
==未来的发展计划==
第61行: 第67行:


==核心组件==
==核心组件==
This section is for documentation of specific components of the existing core Moodle code. Discussion of components that are under discussion or in development can be found in the [[Developer notes]] or on the [[Roadmap]].
这部分文档记录了已经存在的Moodle核心代码中的特定组件。关于这些组件或开发中组件的讨论可以从[[ 开发者备注]] [[ 路线图]] 中看到。


*[[UTF-8 migration|Migration to UTF-8]]
*[[ 开发者:迁移到角色驱动模型]] @ v[[:Category:Moodle 1.7|1.7]]
*[[Question engine]]
*[[迁移到UTF-8 格式]] @ v[[:Category:Moodle 1.6|1.6]]
*[[Quiz developer docs|Quiz module]]
*[[ 问题引擎]]
*[[SCORM schema|SCORM module 1.5 schema]]
*[[ 测验开发者文档| 测验模块]]
*[[Authentication API]]
*[[SCORM 图解|SCORM 模块 1.5 图解]]
*[[Stats package]]
*[[ 认证 API]]
*[[Email processing]]
*[[ 状态包]]
*[[Cookieless Sessions]]
*[[ 电子邮件处理]]
*[[ 无Cookie支持的Sessions]]


==贡献代码==
==贡献代码==
Many Moodle users contribute code for the benefit of other Moodle users. This can take the form of new activity modules, blocks, themes, resource plug-ins, assignment plug-ins, question type plug-ins, question import/export formats, quiz report plug-ins, course formats, ... This code is initially posted on the forums in the [http://moodle.org/course/view.php?id=5 Using Moodle] course and then often go into the [http://cvs.sourceforge.net/viewcvs.py/moodle/contrib/ contrib area] of the Moodle [[CVS]] repository. When you have developed a new component please publish it in the [http://moodle.org/mod/data/view.php?id=6009 database of Moodle modules and plugins]. Developer documentation for these components should be listed here.
很多Moodle用户贡献他们的代码来帮助其他人,您的参与能让Moodle的未来更美好。 贡献的代码可以是:新的活动模块、板块、风格、资源插件、作业插件、问题类型插件、问题导入和导出格式、测验报告插件、课程格式等等。 代码开始应该提交到 [http://moodle.org/course/view.php?id=5 Using Moodle] 课程中的论坛里,然后提交到Moodle [[CVS]] 库的 [http://cvs.sourceforge.net/viewcvs.py/moodle/contrib/ 贡献区域] 。 当你开发完一个新的组件,请你把它发布在 [http://moodle.org/mod/data/view.php?id=6009 Moodle 模块和插件数据库列表] ,开发者也应该把这些组件的文档列在这里。


==参见==
==参见==

2008年12月3日 (三) 04:02的最新版本

Moodle如何开发

这个Moodle开发过程的概要方便理解Moodle的开发以及如何成为Moodle的开发者。

指南

下面的这些指南对于每个希望参与Moodle开发的人都是必须阅读的:

核心组件的文档

资源和工具

如何贡献你的力量

Moodle的首字母 M 表示'模块化'的意思。 Moodle提供很多不同组件接口,你可以贡献你的组件模块来增强Moodle的功能。当你开发完一个新的组件,请将它发布在 Moodle 模块和插件数据库列表. 下面是已经存在的插件列表 (按照字母排序):

这里也有你可以参与贡献并且无需掌握PHP编码技能的:

你也可以从下面这些方面帮助我们:

未来的发展计划

关于Moodle未来特性的创意和详细计划最初都是在moodle.org 站点Using Moodle 这门课程的论坛中产生的。 在这个论坛中开发者的讨论和最终用户的讨论混合在一起,初次看起来可能很不习惯,但这也是Moodle获得成功的一个原因。最终用户和开发者共同讨论未来的产品特性是非常重要的。

当想法在论坛中浮现后,他们将被总结到这个wiki中作为 路线图 或者是 开发者备注 表格中。下面这些页面主要由论坛中关于未来的讨论组成。

核心组件

这部分文档记录了已经存在的Moodle核心代码中的特定组件。关于这些组件或开发中组件的讨论可以从开发者备注路线图 中看到。

贡献代码

很多Moodle用户贡献他们的代码来帮助其他人,您的参与能让Moodle的未来更美好。 贡献的代码可以是:新的活动模块、板块、风格、资源插件、作业插件、问题类型插件、问题导入和导出格式、测验报告插件、课程格式等等。 代码开始应该提交到 Using Moodle 课程中的论坛里,然后提交到Moodle CVS 库的 贡献区域。 当你开发完一个新的组件,请你把它发布在 Moodle 模块和插件数据库列表,开发者也应该把这些组件的文档列在这里。

参见