توسعه دهندگان
From Joomla! Documentation
The development of Joomla! itself is carried out by the Production Department and third party developers. This page is a starting point for developers interested in the development of components, modules, plugins and templates.
The development of Joomla itself is carried out by Production Department and third party developers. For more information about Joomla! core development, how to contribute to code to core, or becoming more involved with the core code, you should go to Joomla! Code Contributors.
Getting Started!
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.
There are four types of extensions development
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).
See the Component Development Portal page.
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.
See the Plugin Development Portal page.
Modules
See the Module Development Portal page.
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
See the Template Development Portal page.
More Development Topics
Database
- Accessing the database using JDatabase
- Using the JTable class
- Connecting to an external database
- Using nested sets
Localisation
- 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)
See the Security Portal page.
Contributing to Documentation
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.