Difference between revisions of "Developers"
From Joomla! Documentation
(→Tài nguyên chung)
|Line 3:||Line 3:|
Revision as of 12:17, 31 March 2014
<translate> The development of Joomla! itself is carried out by the Production Working Groups and third party developers. This page is a starting point for developers interested in the development of components, modules, plugins and templates.</translate>
<translate> The development of Joomla itself is carried out by Production Working Groups 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.</translate>
Tài nguyên chung
<translate> 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.</translate>
<translate> Documentation on the Joomla! API can assist with becoming familiar with the foundations of the Joomla! code base.</translate>
<translate> 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.</translate>
Ở đây có 4 loại cho phát triển extension:
<translate> 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.</translate>
<translate> 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.</translate>
<translate> 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).</translate>
Our template development documentation contains many articles, FAQs and tutorials. A first step to developing a template is understanding how templates are executed.
- jdoc statements
- How to cloak email addresses
- Understanding Output Overrides
- Layout Overrides in Joomla! 2.5
- Creating clickable background images using CSS
- Using Class Suffixes
- Creating a simple module for Joomla
- Adapting a Joomla 1.5 extension to Joomla 2.5
- Extensions name</translate>
More Development Topics
- Accessing the database using JDatabase
- Using the JTable class
- Connecting to an external database
- Using nested sets</translate>
- Language Guidelines for 3rd Party Extensions
- Specification of language files
- Language Metadata
- Loading extra language files</translate>
<translate>* Form validation
- Form field
- Standard form field
- Creating a custom form field type
- Creating a modal form field </translate>
- Retrieving request data using JInput and newer
- Retrieving data from GET and POST requests
- How to use the filesystem package
- Application execution order
- Accessing the current user object
- Constants used in the Joomla Framework.
- Create a stand-alone application using the Joomla! Framework
- How to use user state variables
- Cache and Using caching to speed up your code
- Using the installer API to support package installation
- How to add tooltips to your Joomla! website
- Display error messages and notices.
- Sharing layouts across views or extensions with JLayout
- Using JLog
- JSON Responses with JResponseJson
Contributing to Documentation
<translate> 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:</translate> <translate>
- Developer Tutorials Project</translate>
<translate> 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:</translate>
<translate> If you locate other articles you think are relevant to developers, please add this marker to those pages.</translate>
This is a short list of articles that might be written to support developers. Please feel free to add further topic ideas.
- Adding configuration objects to modules and plugins.
- Storing data in the session between page loads.
- Suppressing output of extra HTML.
- Using the filter package.
- Describe how and when to use the Filter package and explain what needs to be filtered for various situations (for queries, for URLs, etc)
- Using the registry package
- How to load and store XML files and how to work with them
- Creating component feeds (RSS/ATOM)
- Generating paths for client side and server side
- Acessing information from the request
- This focuses on using the JBrowser class to retrieve information about the features available in the user's browser.
- Creating an editor plugin
- What can be done with a user plugin
- Cloaking email addresses
- Using the caching system in your component. This might be enough (for now?) → Cache
- Extending Joomla's MVC Architecture
- How to release a distribution tarball.
- Creating a library for your extension(s).