「开发者文档」:修訂間差異
(→指南) |
(→指南) |
||
第5行: | 第5行: | ||
*[[界面指南]] 目标是为Moodle用户界面提供统一的外观 | *[[界面指南]] 目标是为Moodle用户界面提供统一的外观 | ||
*[[Moodle 开发者代码库]] 解释如何利用Moodle CVS中的代码 | *[[Moodle 开发者代码库]] 解释如何利用Moodle CVS中的代码 | ||
*[[单元测试]] 说明如何运行单元测试以及如何编写新的 | *[[单元测试]] 说明如何运行单元测试以及如何编写新的测试 案例 | ||
*[[缺陷跟踪]] 解释如何利用Moodle Tracker缺陷跟踪系统来报告错误、问题和新的特性需求等等 | *[[缺陷跟踪]] 解释如何利用Moodle Tracker缺陷跟踪系统来报告错误、问题和新的特性需求等等 | ||
於 2006年9月2日 (六) 02:38 的修訂
指南
下面的這些指南對於每個希望參與Moodle開發的人都是必須閱讀的:
- 代碼指南 每個開發者必須遵循的編碼規範
- Moodle 體系結構 清楚地說明Moodle的基本設計目標
- 界面指南 目標是為Moodle用戶界面提供統一的外觀
- Moodle 開發者代碼庫 解釋如何利用Moodle CVS中的代碼
- 單元測試 說明如何運行單元測試以及如何編寫新的測試案例
- 缺陷跟蹤 解釋如何利用Moodle Tracker缺陷跟蹤系統來報告錯誤、問題和新的特性需求等等
資源和工具
- Developer FAQ - frequently asked questions, especially useful for newcomers to Moodle
- Moodle bug tracker - bug reports, feature requests and other tracked issues
- General developer forum
- CVS code - browse the Moodle code via the web
- Cross reference - phpxref output for browsing Moodle source code
- Moodle PHP doc reference - automatically generated documentation
- Development news and discussion section of Using Moodle course
- YUI documentation - YUI is the official AJAX library in moodle.
- Setting up Eclipse for Moodle development - Eclipse is a great editor to use for php development, if you can work out how to set it up.
- Unmerged files - changes on the stable branch in CVS that have not been merged to HEAD
如何貢獻你的力量
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 database of Moodle modules and plugins. The following types of plugins currently exist (in alphabetical order):
- Activity modules
- Assignment types
- Authentication methods
- Blocks
- Course formats
- Database fields
- Database presets
- Enrolment plugins
- Filters
- Question_engine
- Question import/export formats
- Question types teacher docs
- Question types developper docs
- Quiz reports
- Resource types
- SSO plugins
There are also ways you can contribute that don't involve PHP programming:
You can also help a lot by
未來的發展計劃
Ideas for and details of planned future features of Moodle are initially discussed on the forums in the Using Moodle course at moodle.org. That developer discussions are intermixed with user discussions in the same forums may seem strange at first but is one of the reasons for the success of Moodle. It is important that both end-users and developers discuss the future features together.
Once ideas begin to crystalize on the forums they can be summarized in this wiki, either as part of the Roadmap or in the form of Developer notes. These pages then form the basis for further discussion in the forums.
核心組件
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.
- Migration to UTF-8
- Question engine
- Quiz module
- SCORM module 1.5 schema
- Authentication API
- Stats package
- Email processing
- Cookieless 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 Using Moodle course and then often go into the contrib area of the Moodle CVS repository. When you have developed a new component please publish it in the database of Moodle modules and plugins. Developer documentation for these components should be listed here.
參見
- Moodle 安全中心
- Moodle 合作夥伴 - 提供定製Moodle開發服務