入口:开发者
From Joomla! Documentation
开始!
There are several ways of setting up your workstation in for Joomla! development. Some suggestions can be found at Setting up your workstation for Joomla development.
Next, you should familiarise yourself with Joomla! Secure coding guidelines and the short article on Joomla! Development Best Practices.
Documentation on the Joomla! API can assist with becoming familiar with the foundations of the Joomla! code base.
Finally, Joomla! has many resources for developers. Our Joomla! Resources page will get you pointed in the right direction if you need help and solutions.
==有4种不同的扩展开发==
组件Components
There are many articles, tutorials, references and FAQs which focus on component development. If this is your first time developing a component for Joomla, you should start with the Absolute Basics of How a Component Functions. If needed, you can visualise the control flow of a component with these diagrams.
Next, you will want to read our MVC tutorial → Developing a Model-View-Controller Component. Remember to familiarise yourself with Joomla! Secure coding guidelines and Development Best Practices.
Once you have read the tutorial and/or tried the example component, you can focus more on the specifics of your component with additional articles. These are listed on the Component Development Portal or any of the supporting Portals for Development(Plugins, Modules or Templates).
查看 组件开发入口.
插件Plugins
The following articles will help familiarise you with Joomla! plugins. They are a good starting point to understanding and then developing plugins.
Beginner
To understand how to install and use a plugin in Joomla it is recommended to read Administration of a Plugin in Joomla!
Intermediate
To understand plugins better it is advised that you create a basic plugin for Joomla!.
To read on how to run a basic content plugin in a custom module or component you may have already developed it is recommended to read Triggering content plugins in your extension.
Advanced
To understand the principles on which the Plugin system works Plugin Developer Overview. To then implement this in a component you have designed it is recommended to read Supporting plugins in your component.
查看 插件开发入口.
模块Modules
查看 模块开发入口.
模板Templates
Our template development documentation contains many articles, FAQs and tutorials. A first step to developing a template is understanding how templates are executed.
Beginners
- Changing the site favicon
- Using Firebug With Your Joomla Website
- Using Joomla's Default Icomoon Fonts
Intermediate
- jdoc statements
- How to cloak email addresses
- Understanding Output Overrides
- Layout Overrides in Joomla!
- Creating clickable background images using CSS
- Using Class Suffixes
查看 模板开发入口.
更多开发主题
数据库Database
- Accessing the database using JDatabase
- Using the JTable class
- Connecting to an external database
- Using nested sets
本地化(多语言)
- Language Guidelines for 3rd Party Extensions
- Creating a language file
- Specification of language files
- Language Metadata
- Loading extra language files
- Debugging a translation
表单Forms
Form Fields
- Introduction to the Form classes in Joomla
- Joomla Core Form Fields
- Creating a custom form field type
- Overriding the "Rules" Form Field
Form Rules & Validation
API Guides
The Joomla API Guides provide explanations and sample code relating to the Joomla API functions, to help you understand how to use the APIs in your own extensions. Click here to get to the index of these guides.
安全Security
- How to add CSRF anti-spoofing to forms
- Securing Joomla! extensions
- Why do most of the Joomla! PHP files start with defined(' JEXEC')?
- Register Globals best practices (only relevant if your Joomla Site runs on PHP 5.3 or below)
查看安全门户页面.
为文档奉献自己的一份力量
The development of Joomla developer documentation is carried out primarily by the Documentation Working Group. There is currently one sub-projects of interest to developers:
When creating a new page, ensure you place the following marker at the bottom of the page so it is included in the category list:
[[Category:Development]]
If you locate other articles you think are relevant to developers, please add this marker to those pages.