Developing a Model-View-Controller (MVC) Component for Joomla!1.6
出典: Joomla! ドキュメンテーション
目次 |
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 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
Contributors
自動更新 2012/02/23 12:47:00
