Developing a Model-View-Controller (MVC) Component for Joomla!1.6
From Joomla! Documentation
| This page or section is in the middle of an expansion or major revamping.
However, you are welcome to assist in its construction by editing it as well. Please view the edit history should you wish to contact the person who placed this template. If the page has not been edited in several days please remove this template. |
Warning - Joomla! 1.6 has not been released yet.
This article contains preliminary information which is subject to change.
This article contains preliminary information which is subject to change.
Contents |
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
- Developing a Basic Component
- Adding a view to the site part
- Adding a menu type to the backend 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
- Adding an update server
