Developing a MVC Component/Introduction: Difference between revisions
From Joomla! Documentation
1.6 is not supported anymore |
No edit summary |
||
| Line 1: | Line 1: | ||
This tutorial is for {{JVer|1.7}} | This tutorial is for {{JVer|1.6}} {{JVer|1.7}} {{JVer|2.5}} | ||
== Requirements == | == Requirements == | ||
You need Joomla! | You need Joomla! 2.5 or greater for this tutorial. | ||
== Introduction == | == Introduction == | ||
Joomla! | Joomla! 2.5 is constructed using three different applications: | ||
* installation (used for installing Joomla) | * installation (used for installing Joomla) | ||
* administrator (used for managing content) | * administrator (used for managing content) | ||
| Line 17: | Line 17: | ||
== Developing the component == | == Developing the component == | ||
{{Chunk:Developing a Model-View-Controller (MVC) Component for Joomla! | {{Chunk:Developing a Model-View-Controller (MVC) Component for Joomla!2.5 - Contents}} | ||
== Contributors == | == Contributors == | ||
| Line 25: | Line 25: | ||
[[category:Joomla! 1.6]] | [[category:Joomla! 1.6]] | ||
[[category:Joomla! 1.7]] | [[category:Joomla! 1.7]] | ||
[[category:Joomla! 2.5]] | |||
[[category:Manual]] | [[category:Manual]] | ||
Revision as of 14:55, 13 February 2012
Requirements
You need Joomla! 2.5 or greater for this tutorial.
Introduction
Joomla! 2.5 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