Developing a MVC Component/Introduction: Difference between revisions
From Joomla! Documentation
a warning that nothing in this Tutorial is going to work with J1.6 Beta |
mNo edit summary |
||
| Line 5: | Line 5: | ||
Instead you can still use the Tutorial for Version 1.5. It works fine in 1.6 too. | Instead you can still use the Tutorial for Version 1.5. It works fine in 1.6 too. | ||
here - http://docs.joomla.org/Developers#Components | |||
{{future|1.6}} | {{future|1.6}} | ||
Revision as of 12:20, 30 July 2010
This article or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.
This article was last edited by MikeS (talk| contribs) 16 years ago. (Purge)
Attention
Do not try to learn from these Tutorials. Most of the code does not work because Joomla 1.6 has changed. For example the class JQuery now is called JDatabaseQuery.
Instead you can still use the Tutorial for Version 1.5. It works fine in 1.6 too. here - http://docs.joomla.org/Developers#Components Template:Future
Requirements
You need Joomla! 1.6 or greater for this tutorial.
Introduction
Joomla! 1.6 is constructed using three different applications:
- installation (used for installing Joomla)
- administrator (used for managing content)
- public (used for displaying content)
The installation application is used once. The administrator and public are used through the concept of components. Each component has two entry points:
- one is located in the components directory (it is used for displaying content)
- one is located in the administrator/components directory (it is used for managing content)
Both are called com_componentname/componentname.php (the com_ prefix is a historical trace)
Developing the component
Articles in this Series
- Introduction
- Developing a Basic Component
- Adding a view to the site part
- Adding a menu type to the site part
- Adding a model to the site part
- Adding a variable request in the menu type
- Using the database
- Basic backend
- Adding language management
- Adding backend actions
- Adding decorations to the backend
- Adding verifications
- Adding categories
- Adding configuration
- Adding ACL
- Adding an install/uninstall/update script file
- Using the language filter facility
- Adding an update server
- Example of a Frontend Update Function
- Example of Menu Parameters & Stylesheets